Skip to content

Commit ba4a46c

Browse files
committed
fix(styles/base): add html & body base
1 parent 21a8c3b commit ba4a46c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/styles/src/css/base.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,22 @@
44
-webkit-touch-callout: none;
55
}
66

7+
html,
8+
:host {
9+
tab-size: 4;
10+
text-size-adjust: none;
11+
}
12+
713
*:focus,
814
*:hover,
915
* {
1016
outline-width: 0;
1117
}
1218

19+
html {
20+
@apply bg-background text-onBackground;
21+
}
22+
1323
body {
1424
text-rendering: optimizeLegibility;
1525
font-smoothing: antialiased;
@@ -18,6 +28,8 @@
1828
text-size-adjust: none;
1929
-webkit-user-drag: none;
2030
-ms-content-zooming: none;
31+
32+
@apply bg-surface text-bodyMedium text-onSurface;
2133
}
2234

2335
img {

0 commit comments

Comments
 (0)