aboutsummaryrefslogtreecommitdiff
path: root/.config/mode/switch.d/discord
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-03-08 18:29:41 +0100
committerlonkaars <loek@pipeframe.xyz>2024-03-08 18:29:41 +0100
commitdce8fe36eb7f550f648cb83ab890ce638ca819d0 (patch)
tree474071a3975d205f71f2303d3dc6c08a9d7e229c /.config/mode/switch.d/discord
parentd11179e429f69340bafad5a66edbb6f89b78b5b7 (diff)
clean up + modularize `mode` source code
Diffstat (limited to '.config/mode/switch.d/discord')
-rwxr-xr-x.config/mode/switch.d/discord31
1 files changed, 31 insertions, 0 deletions
diff --git a/.config/mode/switch.d/discord b/.config/mode/switch.d/discord
new file mode 100755
index 0000000..f656783
--- /dev/null
+++ b/.config/mode/switch.d/discord
@@ -0,0 +1,31 @@
+#!/bin/sh
+cat << EOF > "$XDG_CONFIG_HOME/BetterDiscord/themes/mode.theme.css"
+/**
+ * @name mode
+ * @author mode
+ * @version 0
+*/
+
+/* AUTOMATICALLY GENERATED, DO NOT EDIT */
+
+.theme-dark, .theme-light {
+ --background-primary: $bg;
+ --background-secondary: $bg;
+ --background-secondary-alt: $bg;
+ --text-primary: $fg;
+ --text-secondary: $color15;
+ --accent: $color4;
+ --accent-alt: $color12;
+ --error: $color1;
+ --error-alt: $color9;
+}
+
+.theme-dark {
+ --background-tertiary: $(mix_rgb $bg '#000000' 0.7);
+}
+
+.theme-light {
+ --background-tertiary: $bg;
+}
+EOF
+