Skip to content

Commit dcdbc36

Browse files
committed
simplify fetching styles for small/large text blobs
1 parent 23720eb commit dcdbc36

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/components/Typography/typography.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,14 @@ mark {
6363
line-height: $eccgui-size-typo-text-lineheight;
6464
}
6565

66-
.#{$eccgui}-typography__contentblock.#{$eccgui}-typography--small {
66+
.#{$eccgui}-typography__contentblock.#{$eccgui}-typography--small,
67+
.#{$eccgui}-typography--small {
6768
font-size: $eccgui-size-typo-caption;
6869
line-height: $eccgui-size-typo-caption-lineheight;
6970
}
7071

71-
.#{$eccgui}-typography__contentblock.#{$eccgui}-typography--large {
72+
.#{$eccgui}-typography__contentblock.#{$eccgui}-typography--large,
73+
.#{$eccgui}-typography--large {
7274
font-size: $eccgui-size-typo-subtitle;
7375
line-height: $eccgui-size-typo-subtitle-lineheight;
7476
}

0 commit comments

Comments
 (0)