Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 303b018

Browse files
committed
feat(style-create.css.tsx): add global style h1 color aqua.
1 parent 0fdf07d commit 303b018

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

e2e/site/component/style-create.css.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ const styles = Style.create({
1111
},
1212
});
1313

14+
Style.global({
15+
h1: {
16+
color: 'aqua',
17+
},
18+
});
19+
1420
export function E2ETest() {
1521
return (
1622
<div className={styles.e2e} data-testid="e2e-test-div">
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
h1 {
3+
color: pink;
4+
}
5+
6+
@media (max-width: 1024px) {
7+
h1 {
8+
color: aqua;
9+
}
10+
}
11+

0 commit comments

Comments
 (0)