Use greyscale template colours in fancy splash

This leads to not-completely-useless previews in SVG viewers.
This commit is contained in:
TEC 2022-10-26 17:45:47 +08:00
parent f10fc72d0d
commit 7cdf04c4d2
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
4 changed files with 10 additions and 10 deletions

View File

@ -2058,15 +2058,15 @@ replacement system.
#+begin_src emacs-lisp
(defvar fancy-splash-template-colours
'(("$colour1" :doom-color keywords :face font-lock-keyword-face)
("$colour2" :doom-color type :face font-lock-type-face)
("$colour3" :doom-color constants :face font-lock-constant-face)
("$colour4" :doom-color functions :face font-lock-function-name-face)
("$colour5" :doom-color strings :face success)
("$colour6" :doom-color error :face error)
("$colour7" :doom-color teal :face font-lock-builtin-face)
("$shadow" :doom-color base5 :face shadow)
("$light" :doom-color base8 :face font-lock-doc-face))
'(("#111111" :doom-color keywords :face font-lock-keyword-face)
("#222222" :doom-color type :face font-lock-type-face)
("#333333" :doom-color constants :face font-lock-constant-face)
("#444444" :doom-color functions :face font-lock-function-name-face)
("#555555" :doom-color strings :face success)
("#666666" :doom-color error :face error)
("#777777" :doom-color teal :face font-lock-builtin-face)
"Alist of colour-replacement plists.
Each plist is of the form (\"$placeholder\" :doom-color 'key :face 'face).
If the current theme is a doom theme :doom-color will be used,

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -1 +1 @@
<svg height="$height" viewBox="0 0 82 100" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M33.728 0C49.018 3.893 58.1 9.559 60.154 13.935c2.503 5.326-4.83 8.895-22.065 5.557-8.904-1.725-13.457-.508-14.99 1.582-6.778 9.233 16.72 25.023 27.646 31.478C-2.31 39.348-26.54 75.55 42.25 90.45c5.884 1.275 17.172 1.731 17.143 3.424-.003 1.818-29.003 1.97-44.3 2.436 10.433 2.785 35.52 4.682 51.83 3.138 15.854-1.498 22.779-6.872 2.783-11.784-10.32-2.532-50.764-10.191-46.503-18.351C29.427 57.396 56.328 60.265 72 58.638c-38.533-26.447-47.275-32.678 5.016-25.87 13.68 3.03-5.786-19.195-26.196-28.491C46.03 2.377 39.643.91 33.728 0" fill="$colour1" stroke="none"/></svg>
<svg height="$height" viewBox="0 0 82 100" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M33.728 0C49.018 3.893 58.1 9.559 60.154 13.935c2.503 5.326-4.83 8.895-22.065 5.557-8.904-1.725-13.457-.508-14.99 1.582-6.778 9.233 16.72 25.023 27.646 31.478C-2.31 39.348-26.54 75.55 42.25 90.45c5.884 1.275 17.172 1.731 17.143 3.424-.003 1.818-29.003 1.97-44.3 2.436 10.433 2.785 35.52 4.682 51.83 3.138 15.854-1.498 22.779-6.872 2.783-11.784-10.32-2.532-50.764-10.191-46.503-18.351C29.427 57.396 56.328 60.265 72 58.638c-38.533-26.447-47.275-32.678 5.016-25.87 13.68 3.03-5.786-19.195-26.196-28.491C46.03 2.377 39.643.91 33.728 0" fill="#111111" stroke="none"/></svg>

Before

Width:  |  Height:  |  Size: 670 B

After

Width:  |  Height:  |  Size: 669 B

View File

@ -1 +1 @@
<svg height="$height" viewBox="0 0 110 100" version="1.0" xmlns="http://www.w3.org/2000/svg"><path d="M76.014 17.214c-.753.484-3.643 6.53-3.689 7.268 5.61 9.145 15.982-6.284 17.861-13.336 0 0-4.909 8.5-9.352 8.662-5.21.19-4.066-3.078-4.82-2.594z" style="fill:$colour5;fill-opacity:1;fill-rule:evenodd;stroke:none"/><path d="M3.15 6.84 0 14.651s1.93 4.545 5.05 4.835c7.152.664 15.112-12.713 17.354-12.648 2.242.066 6.79 3.58 9.206 8.484 3.182-6.148 7.055-8.88 13.477-4.323 3.736 2.65 11.546 13.137 16.22 13.654 5.062.56 9.41-4.198 11.507-12.897-2.902 3.713-4.083 5.38-6.99 5.57-3 .195-2.736.78-13.22-9.966-10.485-10.748-15.43-5.602-18.53-1.043C33.384 5.57 29.877-.045 25.65 0c-2.994.032-7.983 7.033-10.966 9.575-3.1 2.64-4.958 3.107-6.085 3.12-1.747.02-3.851-.862-5.448-5.856Z" style="fill:$colour1;fill-opacity:1;fill-rule:evenodd;stroke:none"/><path d="M28.745 15.18c-7.895 9.49-8.212 9.715-12.362 16.46-4.15 6.746-5.251 11.23-3.303 12.903 1.962 1.685 5.459 1.778 9.742-1.35 5.96-4.511 13.917-10.951 16.102-16.433.567-1.425-9.77 8.24-13.917 10.637-2.489 1.438-5.834 1.817-7.632.099-3.667-3.505 12.75-20.841 11.37-22.316Z" style="fill:$colour6;fill-opacity:1;fill-rule:evenodd;stroke:none"/><path d="M40.47 29.702c-.016-.766 3.99-6.611 4.683-6.84 10.045 6.674 4.813 23.84 1.516 25.338 0 0 .577-7.36-.923-11.985-1.5-4.624-5.259-5.747-5.275-6.513z" style="fill:$colour2;fill-opacity:1;fill-rule:evenodd;stroke:none"/><path d="M92.77 14.794C91.823 10.808 96.133.033 101.63.033c13.725 0 7.06 21.619 4.385 29.604-6.528 16.707-10.664 41.686-10.946 43.835-.344 2.624-4.444 9.653-2.374-1.954 2.071-11.607 5.791-25.152 10.261-40.957 2.345-8.29 5.196-23.073-2.73-23.095-4.043-.05-3.814 2.767-7.454 7.328z" style="fill:$colour7;fill-opacity:1;fill-rule:evenodd;stroke:none"/><path style="fill:$colour3;fill-opacity:1;fill-rule:evenodd;stroke:none" d="M52.747 86.643c-2.36-1.165 11.385-33.012 13.288-22.291.853 4.806 8.719-8.66 8.719-8.66s6.178-11.099 6.48-10.132c1.44 4.595-16.751 34.348-18.043 26.852-1.306-7.577-10.165 14.37-10.444 14.231z"/><path style="fill:$colour6;fill-opacity:1;fill-rule:evenodd;stroke:none" d="M20.668 100s-.116-6.816 11.563-21.278c9.415-11.658 20.33-28.464 20.33-28.464s-1.79 8.865-9.743 18.986C33.536 81.058 20.668 100 20.668 100Z"/></svg>
<svg height="$height" viewBox="0 0 110 100" version="1.0" xmlns="http://www.w3.org/2000/svg"><path d="M76.014 17.214c-.753.484-3.643 6.53-3.689 7.268 5.61 9.145 15.982-6.284 17.861-13.336 0 0-4.909 8.5-9.352 8.662-5.21.19-4.066-3.078-4.82-2.594z" style="fill:#555555;fill-opacity:1;fill-rule:evenodd;stroke:none"/><path d="M3.15 6.84 0 14.651s1.93 4.545 5.05 4.835c7.152.664 15.112-12.713 17.354-12.648 2.242.066 6.79 3.58 9.206 8.484 3.182-6.148 7.055-8.88 13.477-4.323 3.736 2.65 11.546 13.137 16.22 13.654 5.062.56 9.41-4.198 11.507-12.897-2.902 3.713-4.083 5.38-6.99 5.57-3 .195-2.736.78-13.22-9.966-10.485-10.748-15.43-5.602-18.53-1.043C33.384 5.57 29.877-.045 25.65 0c-2.994.032-7.983 7.033-10.966 9.575-3.1 2.64-4.958 3.107-6.085 3.12-1.747.02-3.851-.862-5.448-5.856Z" style="fill:#111111;fill-opacity:1;fill-rule:evenodd;stroke:none"/><path d="M28.745 15.18c-7.895 9.49-8.212 9.715-12.362 16.46-4.15 6.746-5.251 11.23-3.303 12.903 1.962 1.685 5.459 1.778 9.742-1.35 5.96-4.511 13.917-10.951 16.102-16.433.567-1.425-9.77 8.24-13.917 10.637-2.489 1.438-5.834 1.817-7.632.099-3.667-3.505 12.75-20.841 11.37-22.316Z" style="fill:#666666;fill-opacity:1;fill-rule:evenodd;stroke:none"/><path d="M40.47 29.702c-.016-.766 3.99-6.611 4.683-6.84 10.045 6.674 4.813 23.84 1.516 25.338 0 0 .577-7.36-.923-11.985-1.5-4.624-5.259-5.747-5.275-6.513z" style="fill:#222222;fill-opacity:1;fill-rule:evenodd;stroke:none"/><path d="M92.77 14.794C91.823 10.808 96.133.033 101.63.033c13.725 0 7.06 21.619 4.385 29.604-6.528 16.707-10.664 41.686-10.946 43.835-.344 2.624-4.444 9.653-2.374-1.954 2.071-11.607 5.791-25.152 10.261-40.957 2.345-8.29 5.196-23.073-2.73-23.095-4.043-.05-3.814 2.767-7.454 7.328z" style="fill:#777777;fill-opacity:1;fill-rule:evenodd;stroke:none"/><path style="fill:#333333;fill-opacity:1;fill-rule:evenodd;stroke:none" d="M52.747 86.643c-2.36-1.165 11.385-33.012 13.288-22.291.853 4.806 8.719-8.66 8.719-8.66s6.178-11.099 6.48-10.132c1.44 4.595-16.751 34.348-18.043 26.852-1.306-7.577-10.165 14.37-10.444 14.231z"/><path style="fill:#666666;fill-opacity:1;fill-rule:evenodd;stroke:none" d="M20.668 100s-.116-6.816 11.563-21.278c9.415-11.658 20.33-28.464 20.33-28.464s-1.79 8.865-9.743 18.986C33.536 81.058 20.668 100 20.668 100Z"/></svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB