Skip to content

Commit 61e16dd

Browse files
committed
Clean up css
1 parent b91afd1 commit 61e16dd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/react/src/Heading/Heading.module.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
margin: 0;
33
font-size: var(--text-title-size-large);
44
font-weight: var(--base-text-weight-semibold);
5-
}
65

7-
.Heading:where([data-variant='large']) {
8-
font: var(--text-title-shorthand-large);
9-
}
6+
&[data-variant='large'] {
7+
font: var(--text-title-shorthand-large);
8+
}
109

11-
.Heading:where([data-variant='medium']) {
12-
font: var(--text-title-shorthand-medium);
13-
}
10+
&[data-variant='medium'] {
11+
font: var(--text-title-shorthand-medium);
12+
}
1413

15-
.Heading:where([data-variant='small']) {
16-
font: var(--text-title-shorthand-small);
14+
&[data-variant='small'] {
15+
font: var(--text-title-shorthand-small);
16+
}
1717
}

0 commit comments

Comments
 (0)