Skip to content

Commit

Permalink
Add separate color for <strong> tag
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlaki committed Nov 29, 2023
1 parent 4745579 commit 0373518
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions preview/assets/scss/config/_dark-colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ $colors: (
'marker': $color-primary,
'primary': $color-primary,
'secondary': $color-secondary,
'strong': $color-white,
'text': $color-gray,
),
'btn': (
Expand Down
5 changes: 5 additions & 0 deletions preview/pug/assets/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@
"value": "$color-secondary",
"bordered": "false"
},
{
"name": "strong",
"value": "$color-black",
"bordered": "false"
},
{
"name": "text",
"value": "$color-gray",
Expand Down
1 change: 1 addition & 0 deletions scss/config/_color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ $colors: map.deep-merge(
'marker': $color-primary,
'primary': $color-primary,
'secondary': $color-secondary,
'strong': $color-black,
'text': $color-gray,
),
'btn': (
Expand Down
4 changes: 4 additions & 0 deletions scss/element/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@
padding: config('inline-padding', $typography);
}

strong {
color: color('strong');
}

.lead {
font-size: config('font-size-lead', $typography);
}
Expand Down

0 comments on commit 0373518

Please sign in to comment.