-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update responsive text styles for mobile
Revert "Revert "Unify `Text` responsive styles" (#11833)" This reverts commit 810532c. Update responsive text styles for mobile
- Loading branch information
1 parent
a60d8aa
commit 5ec03e7
Showing
4 changed files
with
88 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@shopify/polaris': minor | ||
--- | ||
|
||
Updated responsive text styles for mobile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
@define-mixin text-style-input { | ||
font-size: var(--p-font-size-325); | ||
font-size: var(--p-font-size-400); | ||
font-weight: var(--p-font-weight-regular); | ||
line-height: var(--p-font-line-height-500); | ||
line-height: var(--p-font-line-height-600); | ||
border: none; | ||
letter-spacing: initial; | ||
|
||
@media (--p-breakpoints-md-up) { | ||
font-size: var(--p-font-size-325); | ||
line-height: var(--p-font-line-height-500); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters