Browse Source

Make new font stacks available as css custom properties (3.0) (#8415)

Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
LB (Ben Johnston) 2 năm trước cách đây
mục cha
commit
30e1e06a59
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      client/scss/elements/_root.scss

+ 3 - 0
client/scss/elements/_root.scss

@@ -1,4 +1,7 @@
 :root {
+  --w-font-sans: #{$font-sans};
+  --w-font-mono: #{$font-mono};
+
   @include define-color('color-primary', #007d7e);
   @include define-color(
     'color-primary-darker',