From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- comm/mail/themes/addons/dark/experiment.css | 6 +++ comm/mail/themes/addons/dark/icon.svg | 13 +++++ comm/mail/themes/addons/dark/manifest.json | 73 ++++++++++++++++++++++++++++ comm/mail/themes/addons/dark/preview.svg | 18 +++++++ comm/mail/themes/addons/jar.mn | 14 ++++++ comm/mail/themes/addons/light/experiment.css | 6 +++ comm/mail/themes/addons/light/icon.svg | 13 +++++ comm/mail/themes/addons/light/manifest.json | 68 ++++++++++++++++++++++++++ comm/mail/themes/addons/light/preview.svg | 36 ++++++++++++++ comm/mail/themes/addons/moz.build | 7 +++ 10 files changed, 254 insertions(+) create mode 100644 comm/mail/themes/addons/dark/experiment.css create mode 100644 comm/mail/themes/addons/dark/icon.svg create mode 100644 comm/mail/themes/addons/dark/manifest.json create mode 100644 comm/mail/themes/addons/dark/preview.svg create mode 100644 comm/mail/themes/addons/jar.mn create mode 100644 comm/mail/themes/addons/light/experiment.css create mode 100644 comm/mail/themes/addons/light/icon.svg create mode 100644 comm/mail/themes/addons/light/manifest.json create mode 100644 comm/mail/themes/addons/light/preview.svg create mode 100644 comm/mail/themes/addons/moz.build (limited to 'comm/mail/themes/addons') 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 @@ + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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"] -- cgit v1.2.3