diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-29 22:04:44 +0200 | 
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-29 22:04:44 +0200 | 
| commit | b6130755e4806bfcd98109f6cc80d4e3723b4745 (patch) | |
| tree | 92bf1b012e0c994a2ba8c268e8751a44949aaf87 | |
| parent | 0d2b513c31f8f285f2f72643aca20d253a91abf1 (diff) | |
more anki config theme tweaking
| -rw-r--r-- | .local/share/Anki2/addons21/308574457/user_files/BottomBar.css | 7 | ||||
| -rwxr-xr-x | .local/share/mode/switch.d/anki | 24 | 
2 files changed, 19 insertions, 12 deletions
| diff --git a/.local/share/Anki2/addons21/308574457/user_files/BottomBar.css b/.local/share/Anki2/addons21/308574457/user_files/BottomBar.css index e69de29..5e3dc77 100644 --- a/.local/share/Anki2/addons21/308574457/user_files/BottomBar.css +++ b/.local/share/Anki2/addons21/308574457/user_files/BottomBar.css @@ -0,0 +1,7 @@ +#outer { +	padding-top: 2px; +	border: none; +} + +center#outer ~ div { display: none; } + 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"), |