Zelda64Recomp/assets/scss/styles/mixins/_helpers.scss

31 lines
391 B
SCSS
Raw Normal View History

2024-01-07 00:04:28 +00:00
%nav-dir {
nav-up: auto;
nav-down: auto;
nav-right: auto;
nav-left: auto;
}
%nav-foc {
focus: auto;
tab-index: auto;
}
%nav-all {
@extend %nav-dir;
@extend %nav-foc;
}
2024-01-10 16:03:10 +00:00
2024-01-21 19:07:37 +00:00
@mixin set-svgs-color($col) {
svg {
image-color: $col;
}
}
2024-01-10 16:03:10 +00:00
/*
@include set-color(COLOR);
*/
@mixin set-color($col) {
2024-01-21 19:07:37 +00:00
@include set-svgs-color($col);
2024-01-10 16:03:10 +00:00
color: $col;
}