diff options
| author | Larvan2 <[email protected]> | 2025-10-03 17:06:31 +0800 |
|---|---|---|
| committer | Larvan2 <[email protected]> | 2025-10-03 17:06:31 +0800 |
| commit | 8a3d90b7c1395f92dbb6ef9766be391b995be8c4 (patch) | |
| tree | 8aeb09e21ec17fbd5faaa68e510e2ff8d3939aea /src/styles | |
| parent | ed03271268400b2230ea17844cbc2886ca6ae2bf (diff) | |
feat: config use emojiorigin
Diffstat (limited to 'src/styles')
| -rw-r--r-- | src/styles/main.scss | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/styles/main.scss b/src/styles/main.scss index 1cba4b4..d9b5f35 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -64,7 +64,9 @@ :root { --font-mono: 'Roboto Mono', Menlo, monospace; // prettier-ignore - --font-normal: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Source Han Sans", "PingFang SC", "Microsoft YaHei" , "微软雅黑", Arial,"Twemoji Mozilla", "_Twemoji Mozilla","Segoe UI Emoji", "Segoe UI Symbol"; + --font-normal: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + // prettier-ignore + --font-with-emoji: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Source Han Sans", "PingFang SC", "Microsoft YaHei" , "微软雅黑", Arial,"Twemoji Mozilla", "_Twemoji Mozilla","Segoe UI Emoji", "Segoe UI Symbol"; } body { @@ -96,6 +98,10 @@ body { padding: 0; } +:root[data-emoji-font='enabled'] body { + font-family: var(--font-with-emoji); +} + @mixin dark { --color-background: #202020; --color-background2: rgba(32, 32, 32, 0.3); |
