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

40 lines
470 B
SCSS
Raw Normal View History

2024-01-07 00:04:28 +00:00
2024-03-04 15:16:35 +00:00
%nav-vert {
2024-01-07 00:04:28 +00:00
nav-up: auto;
nav-down: auto;
2024-03-04 15:16:35 +00:00
}
%nav-horiz {
2024-01-07 00:04:28 +00:00
nav-right: auto;
nav-left: auto;
}
2024-03-04 15:16:35 +00:00
%nav-dir {
@extend %nav-vert;
@extend %nav-horiz;
}
2024-01-07 00:04:28 +00:00
%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;
}