diff --git a/source/css/font.css b/source/css/font.css new file mode 100644 index 0000000..72854b9 --- /dev/null +++ b/source/css/font.css @@ -0,0 +1,13 @@ +body { + font-size: 16px; + font-variant-numeric: tabular-nums; + -webkit-font-smoothing: antialiased; +} + +[data-font=serif] { + font-family: -apple-system, BlinksMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; +} + +[data-font=sans] { + font-family: -apple-system, BlinksMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; +} \ No newline at end of file diff --git a/source/css/font.scss b/source/css/font.scss new file mode 100644 index 0000000..ce1ee96 --- /dev/null +++ b/source/css/font.scss @@ -0,0 +1,18 @@ +@charset "UTF-8"; + +body { + font-size: 16px; + font-variant-numeric: tabular-nums; + -webkit-font-smoothing: antialiased; +} + +[data-font="serif"]{ + font-family: -apple-system, BlinksMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, + 'Noto Sans', serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', + 'Noto Color Emoji'; +} +[data-font="sans"]{ + font-family: -apple-system, BlinksMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, + 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', + 'Noto Color Emoji'; +}