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

40 lines
470 B
SCSS
Raw Permalink Normal View History

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