next-app-boilerplate/styles/base/_root.scss

23 lines
299 B
SCSS
Raw Normal View History

2022-02-12 23:07:11 +01:00
@use "../abstracts/colors" as *;
:root {
@each $color, $shades in $colors {
@each $prop, $value in $shades {
--#{$color}-#{$prop}: #{$value};
}
}
}
*,
*::after,
*::before {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
min-height: 100vh;
max-width: 100vw;
}