refactor: modules and css vars

This commit is contained in:
Lucas Larroche 2022-10-23 10:47:50 +07:00
parent 2e4d6c66ec
commit ce2ed6826d
46 changed files with 3874 additions and 3534 deletions

View file

@ -1,18 +1,21 @@
@use "sass:map";
@use "../settings" as *;
/**
* Horizontal scroller (<figure>)
*/
@if map.get($modules, "layout/scroller") {
/**
* Horizontal scroller (<figure>)
*/
// Wrapper to make any content responsive across all viewports
figure {
display: block;
margin: 0;
padding: 0;
overflow-x: auto;
// Wrapper to make allow any content to be scrolled horizontally
figure {
display: block;
margin: 0;
padding: 0;
overflow-x: auto;
figcaption {
padding: calc(var(#{$}spacing) * 0.5) 0;
color: var(#{$}muted-color);
figcaption {
padding: calc(var(#{$}spacing) * 0.5) 0;
color: var(#{$}muted-color);
}
}
}