-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: rename 'badge' element and break into own SCSS file
- Loading branch information
1 parent
f3b717b
commit 41a60ea
Showing
4 changed files
with
24 additions
and
13 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
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,12 @@ | ||
.newspack_ui__badge { | ||
background: var( --newspack-ui-color-neutral-90 ); | ||
border-radius: var( --newspack-ui-border-radius-xs ); | ||
color: var( --newspack-ui-color-neutral-0 ); | ||
display: inline-grid; | ||
font-size: var( --newspack-ui-font-size-xs ); | ||
font-weight: 600; | ||
line-height: var( --newspack-ui-line-height-xs ); | ||
padding: 2px 6px; // TODO: replace with variables; they only go down to 8px, perhaps they need to be rethought? | ||
place-items: center; | ||
text-transform: uppercase; | ||
} |
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 +1,2 @@ | ||
@use 'word-divider'; | ||
@use 'word-divider'; | ||
@use 'badge'; |
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