Skip to content

Commit e180e7f

Browse files
committed
feat(preset-theme-default): improve font rendering via CSS
1 parent f0c6bfe commit e180e7f

File tree

1 file changed

+7
-1
lines changed
  • packages/anu-vue/src/presets/theme-default/scss

1 file changed

+7
-1
lines changed

packages/anu-vue/src/presets/theme-default/scss/index.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@import '@unocss/reset/tailwind.css';
22

3+
// 👉 Global CSS Resets
4+
body {
5+
-webkit-font-smoothing: antialiased;
6+
text-rendering: optimizeSpeed;
7+
}
8+
39
$body-color: hsla(var(--a-base-color), 0.68);
410

511
:root {
@@ -80,7 +86,7 @@ $body-color: hsla(var(--a-base-color), 0.68);
8086

8187
// 👉 Typography
8288

83-
html, body {
89+
body {
8490
color: $body-color;
8591

8692
// Disable mobile tap blue color

0 commit comments

Comments
 (0)