From aefb60a2dc2666432b8b9f0bc7b51c88932f8aff Mon Sep 17 00:00:00 2001 From: M Usman Abubakr <86719130+Usman-Abubakr@users.noreply.github.com> Date: Tue, 1 Feb 2022 18:09:56 +0000 Subject: [PATCH] Added DMG theme (#2392) by Usman-Abubakr --- static/themes/_list.json | 7 ++++++- static/themes/dmg.css | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 static/themes/dmg.css diff --git a/static/themes/_list.json b/static/themes/_list.json index c40fce476..e28bf5937 100644 --- a/static/themes/_list.json +++ b/static/themes/_list.json @@ -708,5 +708,10 @@ "name": "fleuriste", "bgColor": "#c6b294", "mainColor": "#405a52" - } + } + ,{ + "name": "dmg", + "bgColor": "#dadbdc", + "mainColor": "#3846b1" + } ] diff --git a/static/themes/dmg.css b/static/themes/dmg.css new file mode 100644 index 000000000..e4a2bd09b --- /dev/null +++ b/static/themes/dmg.css @@ -0,0 +1,33 @@ +:root { + --bg-color: #dadbdc; + --main-color: #ae185e; + --caret-color: #384693; + --sub-color: #3846b1; + --text-color: #414141; + --error-color: #ae185e; + --error-extra-color: #93335c; + --colorful-error-color: #80a053; + --colorful-error-extra-color: #306230; +} + +#menu { + gap: 0.5rem; +} + +#top.focus #menu .icon-button { + background: var(--bg-color); + size: 1rem; +} +#top.focus #menu .icon-button:nth-child(1) { + background: #e34c6c; +} +#top.focus #menu:before, +#top.focus #menu:after { + background: var(--sub-color); +} + +#menu .icon-button { + border-radius: 10rem !important; + color: var(--bg-color); + background: var(--main-color); +}