We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b7d1a2 commit 5b26d1bCopy full SHA for 5b26d1b
1 file changed
src/components/Link/link.scss
@@ -4,10 +4,24 @@
4
.#{$prefix}--link {
5
&,
6
&:hover {
7
+ // default case: use font size from context
8
font-size: 1em;
9
line-height: inherit;
10
}
11
12
+ &.#{$prefix}--link--sm {
13
+ font-size: $eccgui-size-typo-caption;
14
+ line-height: $eccgui-size-typo-caption-lineheight;
15
+ }
16
+ &.#{$prefix}--link--md {
17
+ font-size: $eccgui-size-typo-text;
18
+ line-height: $eccgui-size-typo-text-lineheight;
19
20
+ &.#{$prefix}--link--lg {
21
+ font-size: $eccgui-size-typo-subtitle;
22
+ line-height: $eccgui-size-typo-subtitle-lineheight;
23
24
+
25
&:focus {
26
outline: none;
27
outline-offset: 0;
0 commit comments