refactor from PostCSS to SASS
This commit is contained in:
parent
56791937ff
commit
7f097d7700
28 changed files with 139 additions and 179 deletions
14
assets/css/variables.scss
Normal file
14
assets/css/variables.scss
Normal file
|
@ -0,0 +1,14 @@
|
|||
/* COLOR VARIABLES */
|
||||
$background: mix($accent, #1D1E28, 2%);
|
||||
$color: white;
|
||||
$border-color: rgba(255, 255, 255, .1);
|
||||
|
||||
/* MEDIA QUERIES */
|
||||
$phone: (max-width: 684px);
|
||||
$tablet: (max-width: 900px);
|
||||
|
||||
/* variables for js, must be the same as these in @custom-media queries */
|
||||
:root {
|
||||
--phoneWidth: (max-width: 684px);
|
||||
--tabletWidth: (max-width: 900px);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue