summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-14 17:51:58 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-14 17:51:58 +1100
commitcb487aefb15ff2c59f8ff4dc329040e5d8f7ad12 (patch)
tree55a4972aa6a09ac1ac15b485b7a03470d9a15af6 /scss
parentlauncher modes + player controls IPC (diff)
downloadcaelestia-shell-cb487aefb15ff2c59f8ff4dc329040e5d8f7ad12.tar.gz
caelestia-shell-cb487aefb15ff2c59f8ff4dc329040e5d8f7ad12.tar.bz2
caelestia-shell-cb487aefb15ff2c59f8ff4dc329040e5d8f7ad12.zip
launcher: better math
Diffstat (limited to 'scss')
-rw-r--r--scss/launcher.scss29
1 files changed, 17 insertions, 12 deletions
diff --git a/scss/launcher.scss b/scss/launcher.scss
index 8e710e9..a72389a 100644
--- a/scss/launcher.scss
+++ b/scss/launcher.scss
@@ -2,6 +2,19 @@
@use "lib";
@use "font";
+@mixin launcher($mode, $colour) {
+ &.#{$mode} {
+ label.icon {
+ color: $colour;
+ }
+
+ .separator {
+ background-color: $colour;
+ margin: lib.s(5) 0;
+ }
+ }
+}
+
.launcher-wrapper {
@include lib.ease-in-out;
@@ -21,6 +34,10 @@
color: scheme.$text;
padding: lib.s(10) lib.s(14);
+ @include launcher(apps, scheme.$sapphire);
+ @include launcher(files, scheme.$peach);
+ @include launcher(math, scheme.$green);
+
.search-bar {
margin-bottom: lib.s(5);
font-size: lib.s(16);
@@ -87,16 +104,4 @@
}
}
}
-
- &.apps label.icon {
- color: scheme.$sapphire;
- }
-
- &.files label.icon {
- color: scheme.$peach;
- }
-
- &.math label.icon {
- color: scheme.$green;
- }
}