summaryrefslogtreecommitdiff
path: root/src/styles/main.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/main.scss')
-rw-r--r--src/styles/main.scss8
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);