aboutsummaryrefslogtreecommitdiff
path: root/.local/share/mode
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-05-29 22:04:44 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-05-29 22:04:44 +0200
commitb6130755e4806bfcd98109f6cc80d4e3723b4745 (patch)
tree92bf1b012e0c994a2ba8c268e8751a44949aaf87 /.local/share/mode
parent0d2b513c31f8f285f2f72643aca20d253a91abf1 (diff)
more anki config theme tweaking
Diffstat (limited to '.local/share/mode')
-rwxr-xr-x.local/share/mode/switch.d/anki24
1 files changed, 12 insertions, 12 deletions
diff --git a/.local/share/mode/switch.d/anki b/.local/share/mode/switch.d/anki
index f1a20a4..c9caf5d 100755
--- a/.local/share/mode/switch.d/anki
+++ b/.local/share/mode/switch.d/anki
@@ -28,10 +28,10 @@ surface_2=$(mix_rgb $color0 $bg 0.60)
cat << EOF > "$ANKI_REDESIGN/user_files/themes/mode.json"
{
"colors": {
- $(name accent-card "#93c5fd"),
- $(name accent-danger "#f87171"),
- $(name accent-note "#4ade80"),
- $(name border "#202020"),
+ $(name accent-card "$color4"),
+ $(name accent-danger "$color1"),
+ $(name accent-note "$color2"),
+ $(name border "$bg"),
$(name border-focus "#3b82f6"),
$(name border-strong "#020202"),
$(name border-subtle "$bg"),
@@ -41,11 +41,11 @@ cat << EOF > "$ANKI_REDESIGN/user_files/themes/mode.json"
$(name button-focus-bg "#0093d0"),
$(name button-gradient-end "$surface_2"),
$(name button-gradient-start "$surface_2"),
- $(name button-hover-border "#141414"),
- $(name button-primary-bg "#2652cf"),
+ $(name button-hover-border "$accent"),
+ $(name button-primary-bg "$accent"),
$(name button-primary-disabled "#4484ed"),
- $(name button-primary-gradient-end "#2652cf"),
- $(name button-primary-gradient-start "#2f67e1"),
+ $(name button-primary-gradient-end "$accent"),
+ $(name button-primary-gradient-start "$accent"),
$(name canvas "$bg"),
$(name canvas-code "$surface_0"),
$(name canvas-elevated "$bg"),
@@ -56,7 +56,7 @@ cat << EOF > "$ANKI_REDESIGN/user_files/themes/mode.json"
$(name faint-border "#29292b"),
$(name fg "$fg"),
$(name fg-disabled "#737373"),
- $(name fg-faint "#545454"),
+ $(name fg-faint "$color0"),
$(name fg-link "#bfdbfe"),
$(name fg-subtle "#858585"),
$(name flag1-bg "#aa5555"),
@@ -101,10 +101,10 @@ cat << EOF > "$ANKI_REDESIGN/user_files/themes/mode.json"
$(name shadow-subtle "#363636"),
$(name slightly-grey-text "#ccc"),
$(name state-buried "#92400e"),
- $(name state-learn "#f87171"),
+ $(name state-learn "$color1"),
$(name state-marked "#a855f7"),
- $(name state-new "#93c5fd"),
- $(name state-review "#22c55e"),
+ $(name state-new "$color4"),
+ $(name state-review "$color2"),
$(name state-suspended "#fef9c3"),
$(name suspended-bg "#aaaa33"),
$(name suspended-fg "#ffffb2"),