diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /comm/mail/themes/addons | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | comm/mail/themes/addons/dark/experiment.css | 6 | ||||
-rw-r--r-- | comm/mail/themes/addons/dark/icon.svg | 13 | ||||
-rw-r--r-- | comm/mail/themes/addons/dark/manifest.json | 73 | ||||
-rw-r--r-- | comm/mail/themes/addons/dark/preview.svg | 18 | ||||
-rw-r--r-- | comm/mail/themes/addons/jar.mn | 14 | ||||
-rw-r--r-- | comm/mail/themes/addons/light/experiment.css | 6 | ||||
-rw-r--r-- | comm/mail/themes/addons/light/icon.svg | 13 | ||||
-rw-r--r-- | comm/mail/themes/addons/light/manifest.json | 68 | ||||
-rw-r--r-- | comm/mail/themes/addons/light/preview.svg | 36 | ||||
-rw-r--r-- | comm/mail/themes/addons/moz.build | 7 |
10 files changed, 254 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> diff --git a/comm/mail/themes/addons/jar.mn b/comm/mail/themes/addons/jar.mn new file mode 100644 index 0000000000..ee6fda7ab8 --- /dev/null +++ b/comm/mail/themes/addons/jar.mn @@ -0,0 +1,14 @@ +# 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/. + +messenger.jar: +% resource builtin-themes %content/builtin-themes/ + + content/builtin-themes/dark (dark/*.svg) + content/builtin-themes/dark (dark/*.css) + content/builtin-themes/dark/manifest.json (dark/manifest.json) + + content/builtin-themes/light (light/*.svg) + content/builtin-themes/light (light/*.css) + content/builtin-themes/light/manifest.json (light/manifest.json) diff --git a/comm/mail/themes/addons/light/experiment.css b/comm/mail/themes/addons/light/experiment.css new file mode 100644 index 0000000000..c978c40ac9 --- /dev/null +++ b/comm/mail/themes/addons/light/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/. */ + +/* Light theme */ +@import url("chrome://messenger/skin/compacttheme.css"); diff --git a/comm/mail/themes/addons/light/icon.svg b/comm/mail/themes/addons/light/icon.svg new file mode 100644 index 0000000000..bd45f8528f --- /dev/null +++ b/comm/mail/themes/addons/light/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="#e1e1e5" d="M2 2h14v13H2z"/> + <path fill="#f9f9fa" 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="#fff" stroke="#adadb3"/> + <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="#0c0c0d" 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="#0c0c0d" fill-opacity=".8"/> + <path fill="#08091a" fill-opacity=".25" d="M15 2v12H2v1h14V2h-1z"/> +</svg> diff --git a/comm/mail/themes/addons/light/manifest.json b/comm/mail/themes/addons/light/manifest.json new file mode 100644 index 0000000000..90ea486cba --- /dev/null +++ b/comm/mail/themes/addons/light/manifest.json @@ -0,0 +1,68 @@ +{ + "manifest_version": 2, + + "browser_specific_settings": { + "gecko": { + "id": "thunderbird-compact-light@mozilla.org" + } + }, + + "name": "Light", + "description": "A theme with a light color scheme.", + "author": "Mozilla", + "version": "1.3", + + "icons": { "32": "icon.svg" }, + + "theme": { + "colors": { + "tab_background_text": "#18181b", + "icons": "#52525b", + "frame": "#e4e4e7", + "popup": "#fff", + "popup_text": "#18181b", + "popup_border": "#a1a1aa", + "popup_highlight": "#1373d9", + "popup_highlight_text": "#fff", + "tab_line": "#1373d9", + "toolbar": "#f4f4f5", + "toolbar_top_separator": "#ccc", + "toolbar_bottom_separator": "#ccc", + "toolbar_field": "#f4f4f5", + "toolbar_field_text": "#18181b", + "toolbar_field_border": "#a1a1aa", + "toolbar_field_border_focus": "#1373d9", + "toolbar_field_focus": "white", + "toolbar_text": "#52525b", + "sidebar": "#fafafa", + "sidebar_text": "#3f3f46", + "sidebar_border": "#d4d4d8", + "sidebar_highlight": "#2493ef", + "sidebar_highlight_text": "#fff", + "sidebar_highlight_border": "#105bbc", + "button": "rgba(207, 207, 216, 0.33)", + "button_hover": "rgba(207, 207, 216, 0.66)", + "button_active": "rgb(207, 207, 216)" + }, + "properties": { + "color_scheme": "light", + "panel_hover": "color-mix(in srgb, currentColor 12%, transparent)", + "panel_active": "color-mix(in srgb, currentColor 20%, transparent)", + "panel_active_darker": "color-mix(in srgb, currentColor 27%, transparent)" + } + }, + + "theme_experiment": { + "stylesheet": "experiment.css", + "colors": { + "button": "--button-background-color", + "button_hover": "--button-hover-background-color", + "button_active": "--button-active-background-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/light/preview.svg b/comm/mail/themes/addons/light/preview.svg new file mode 100644 index 0000000000..19e9643169 --- /dev/null +++ b/comm/mail/themes/addons/light/preview.svg @@ -0,0 +1,36 @@ +<!-- 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" fill="none" xmlns="http://www.w3.org/2000/svg"> + <rect width="680" height="92" fill="#F0F0F4" /> + <g filter="url(#filter0_dd)"> + <rect x="28" y="5" width="166" height="34" rx="4" fill="white" /> + </g> + <rect x="51" y="20" width="121" height="4" rx="2" fill="#15141A" /> + <rect x="221" y="20" width="121" height="4" rx="2" fill="#15141A" /> + <rect y="44" width="680" height="48" fill="#F9F9FB" /> + <circle cx="24" cy="68" r="6.25" stroke="#5B5B66" stroke-width="1.5" /> + <circle cx="60" cy="68" r="6.25" stroke="#5B5B66" stroke-width="1.5" /> + <line x1="663" y1="73.75" x2="649" y2="73.75" stroke="#5B5B66" stroke-width="1.5" /> + <line x1="663" y1="67.75" x2="649" y2="67.75" stroke="#5B5B66" stroke-width="1.5" /> + <line x1="663" y1="61.75" x2="649" y2="61.75" stroke="#5B5B66" stroke-width="1.5" /> + <rect x="114" y="52" width="488" height="32" rx="4" fill="#F0F0F4" /> + <circle cx="130" cy="68" r="6.25" stroke="#5B5B66" stroke-width="1.5" /> + <rect x="146" y="66" width="308" height="4" rx="2" fill="#5B5B66" /> + <defs> + <filter id="filter0_dd" x="24" y="1" width="174" height="42" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"> + <feFlood flood-opacity="0" result="BackgroundImageFix" /> + <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" /> + <feOffset /> + <feGaussianBlur stdDeviation="2" /> + <feColorMatrix type="matrix" values="0 0 0 0 0.501961 0 0 0 0 0.501961 0 0 0 0 0.556863 0 0 0 0.5 0" /> + <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow" /> + <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" /> + <feOffset /> + <feGaussianBlur stdDeviation="0.5" /> + <feColorMatrix type="matrix" values="0 0 0 0 0.501961 0 0 0 0 0.501961 0 0 0 0 0.556863 0 0 0 0.9 0" /> + <feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow" /> + <feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow" result="shape" /> + </filter> + </defs> +</svg> diff --git a/comm/mail/themes/addons/moz.build b/comm/mail/themes/addons/moz.build new file mode 100644 index 0000000000..d988c0ff9b --- /dev/null +++ b/comm/mail/themes/addons/moz.build @@ -0,0 +1,7 @@ +# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# 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/. + +JAR_MANIFESTS += ["jar.mn"] |