-
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 d5cb5ea. Update responsive text styles for mobile
- Loading branch information
1 parent
4f3bf99
commit e42897c
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