summaryrefslogtreecommitdiffstats
path: root/comm/mail/themes/addons/dark
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mail/themes/addons/dark')
-rw-r--r--comm/mail/themes/addons/dark/experiment.css6
-rw-r--r--comm/mail/themes/addons/dark/icon.svg13
-rw-r--r--comm/mail/themes/addons/dark/manifest.json73
-rw-r--r--comm/mail/themes/addons/dark/preview.svg18
4 files changed, 110 insertions, 0 deletions
diff --git a/comm/mail/themes/addons/dark/experiment.css b/comm/mail/themes/addons/dark/experiment.css
new file mode 100644
index 0000000000..e9a68dfe62
--- /dev/null
+++ b/comm/mail/themes/addons/dark/experiment.css
@@ -0,0 +1,6 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+/* Dark theme */
+@import url("chrome://messenger/skin/compacttheme.css");
diff --git a/comm/mail/themes/addons/dark/icon.svg b/comm/mail/themes/addons/dark/icon.svg
new file mode 100644
index 0000000000..c43145632b
--- /dev/null
+++ b/comm/mail/themes/addons/dark/icon.svg
@@ -0,0 +1,13 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
+ <path fill="#0c0c0d" d="M2 2h14v13H2z"/>
+ <path fill="#323234" d="M16 2v13H2v15h28V2H16z"/>
+ <rect x="1" y="1" width="30" height="30" rx="2" ry="2" fill="none" stroke="#08091a" stroke-opacity=".35" stroke-width="2"/>
+ <circle cx="9.5" cy="22.5" r="6" fill="#474749" stroke="#08091a"/>
+ <path d="M12.5 22H7.7l2.15-2.15a.5.5 0 00-.7-.7l-3 3a.5.5 0 000 .7l3 3a.5.5 0 10.7-.7L7.71 23h4.79a.5.5 0 000-1zM20.5 20h4a.5.5 0 000-1h-4a.5.5 0 000 1zm4 2h-4a.5.5 0 000 1h4a.5.5 0 000-1zm0 3h-4a.5.5 0 000 1h4a.5.5 0 000-1z" fill="#f9f9fa" fill-opacity=".8"/>
+ <path fill="#0a84ff" d="M16 2h14v1H16z"/>
+ <path d="M26.35 8.65l-3.5-3.5a.5.5 0 00-.7 0l-3.5 3.5a.5.5 0 00.7.7l.65-.64v2.79a.5.5 0 00.5.5h4a.5.5 0 00.5-.5V8.7l.65.65a.5.5 0 10.7-.7zM24 11h-1V9h-1v2h-1V7.7l1.5-1.5L24 7.7z" fill="#f9f9fa" fill-opacity=".8"/>
+ <path fill="#08091a" d="M15 2v12H2v1h14V2h-1z"/>
+</svg>
diff --git a/comm/mail/themes/addons/dark/manifest.json b/comm/mail/themes/addons/dark/manifest.json
new file mode 100644
index 0000000000..d7d175ba93
--- /dev/null
+++ b/comm/mail/themes/addons/dark/manifest.json
@@ -0,0 +1,73 @@
+{
+ "manifest_version": 2,
+
+ "browser_specific_settings": {
+ "gecko": {
+ "id": "thunderbird-compact-dark@mozilla.org"
+ }
+ },
+
+ "name": "Dark",
+ "description": "A theme with a dark color scheme.",
+ "author": "Mozilla",
+ "version": "1.3",
+
+ "icons": { "32": "icon.svg" },
+
+ "theme": {
+ "colors": {
+ "tab_background_text": "#fafafa",
+ "icons": "#fafafa",
+ "frame": "#18181b",
+ "popup": "#27272a",
+ "popup_text": "#f4f4f5",
+ "popup_border": "#71717a",
+ "popup_highlight": "#2493ef",
+ "tab_line": "#2493ef",
+ "toolbar": "#3f3f46",
+ "toolbar_bottom_separator": "#18181b",
+ "toolbar_field": "#3f3f46",
+ "toolbar_field_border": "#71717a",
+ "toolbar_field_border_focus": "#2493ef",
+ "toolbar_field_text": "#f4f4f5",
+ "toolbar_field_focus": "#52525b",
+ "sidebar": "#27272a",
+ "sidebar_text": "#d4d4d8",
+ "sidebar_highlight": "#2493ef",
+ "sidebar_highlight_text": "#fff",
+ "sidebar_highlight_border": "#4cb1f9",
+ "sidebar_border": "#3f3f46",
+ "button": "rgb(63, 62, 71)",
+ "button_hover": "rgb(82, 82, 94)",
+ "button_active": "rgb(91, 91, 102)",
+ "error_text_color": "#fca5a5",
+ "input_background": "#3f3f46",
+ "input_color": "#f4f4f5",
+ "input_border": "#71717a"
+ },
+ "properties": {
+ "color_scheme": "dark",
+ "panel_hover": "color-mix(in srgb, currentColor 10%, transparent)",
+ "panel_active": "color-mix(in srgb, currentColor 14%, transparent)",
+ "panel_active_darker": "color-mix(in srgb, currentColor 25%, transparent)"
+ }
+ },
+
+ "theme_experiment": {
+ "stylesheet": "experiment.css",
+ "colors": {
+ "button": "--button-background-color",
+ "button_hover": "--button-hover-background-color",
+ "button_active": "--button-active-background-color",
+ "error_text_color": "--error-text-color",
+ "input_background": "--input-bgcolor",
+ "input_color": "--input-color",
+ "input_border": "--input-border-color"
+ },
+ "properties": {
+ "panel_hover": "--arrowpanel-dimmed",
+ "panel_active": "--arrowpanel-dimmed-further",
+ "panel_active_darker": "--arrowpanel-dimmed-even-further"
+ }
+ }
+}
diff --git a/comm/mail/themes/addons/dark/preview.svg b/comm/mail/themes/addons/dark/preview.svg
new file mode 100644
index 0000000000..7fd9cbcfa7
--- /dev/null
+++ b/comm/mail/themes/addons/dark/preview.svg
@@ -0,0 +1,18 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+<svg width="680" height="92" viewBox="0 0 680 92" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <rect width="680" height="92" fill="#1C1B22" />
+ <rect x="28" y="5" width="166" height="34" rx="4" fill="#42414D" />
+ <rect x="51" y="20" width="121" height="4" rx="2" fill="#FBFBFE" />
+ <rect x="221" y="20" width="121" height="4" rx="2" fill="#B8B7BB" />
+ <rect y="44" width="680" height="48" fill="#2B2A33" />
+ <circle cx="24" cy="68" r="6.25" stroke="#FBFBFE" stroke-width="1.5" />
+ <circle cx="60" cy="68" r="6.25" stroke="#FBFBFE" stroke-width="1.5" />
+ <line x1="663" y1="73.75" x2="649" y2="73.75" stroke="#FBFBFE" stroke-width="1.5" />
+ <line x1="663" y1="67.75" x2="649" y2="67.75" stroke="#FBFBFE" stroke-width="1.5" />
+ <line x1="663" y1="61.75" x2="649" y2="61.75" stroke="#FBFBFE" stroke-width="1.5" />
+ <rect x="114" y="52" width="488" height="32" rx="4" fill="#1C1B22" />
+ <circle cx="130" cy="68" r="6.25" stroke="white" stroke-width="1.5" />
+ <rect x="146" y="66" width="308" height="4" rx="2" fill="white" />
+</svg>