Migrate to yarn berry and fix all workspace errors
This commit is contained in:
22
frontend/styles/_fonts.scss
Normal file
22
frontend/styles/_fonts.scss
Normal file
@@ -0,0 +1,22 @@
|
||||
$text-font: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
|
||||
Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue,
|
||||
sans-serif;
|
||||
|
||||
$font-h0: normal normal 300 56px/64px $text-font;
|
||||
$font-h1: normal normal 300 48px/56px $text-font;
|
||||
$font-h2: normal normal 300 40px/48px $text-font;
|
||||
$font-h3: normal normal 300 36px/44px $text-font;
|
||||
$font-h4: normal normal 300 32px/40px $text-font;
|
||||
$font-h5: normal normal 300 28px/36px $text-font;
|
||||
$font-h6: normal normal 300 24px/32px $text-font;
|
||||
$font-h7: normal normal 300 20px/26px $text-font;
|
||||
$font-h8: normal normal 300 18px/24px $text-font;
|
||||
$font-h9: normal normal 300 16px/20px $text-font;
|
||||
|
||||
$font-r8: normal normal 300 24px/30px $text-font;
|
||||
$font-r7: normal normal 300 22px/28px $text-font;
|
||||
$font-r6: normal normal 300 20px/26px $text-font;
|
||||
$font-r5: normal normal 300 18px/24px $text-font;
|
||||
$font-r4: normal normal 300 16px/22px $text-font;
|
||||
$font-r3: normal normal 300 14px/18px $text-font;
|
||||
$font-r2: normal normal 300 12px/16px $text-font;
|
||||
1
frontend/styles/_variables.scss
Normal file
1
frontend/styles/_variables.scss
Normal file
@@ -0,0 +1 @@
|
||||
@import './fonts';
|
||||
31
frontend/styles/global.scss
Normal file
31
frontend/styles/global.scss
Normal file
@@ -0,0 +1,31 @@
|
||||
@import './variables';
|
||||
|
||||
html,
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font: $font-r4;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font: $font-h1;
|
||||
}
|
||||
h2 {
|
||||
font: $font-h2;
|
||||
}
|
||||
h3 {
|
||||
font: $font-h3;
|
||||
}
|
||||
h4 {
|
||||
font: $font-h4;
|
||||
}
|
||||
h5 {
|
||||
font: $font-h5;
|
||||
}
|
||||
h6 {
|
||||
font: $font-h6;
|
||||
}
|
||||
Reference in New Issue
Block a user