Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez e772c19905 Bug 1869299 - Clean up tab border set-up. r=dao,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D196159
2023-12-13 13:19:20 +00:00
Emilio Cobos Álvarez 2735f107de Bug 1859977 - Simplify selected tab background and specify proper color-scheme. r=dao,desktop-theme-reviewers
This should fix the concern raised in D191407. I went through a bunch of
themes with images and I don't see why the three layers of backgrounds
were needed tbh.

Depends on D191408

Differential Revision: https://phabricator.services.mozilla.com/D191466
2023-10-23 20:18:48 +00:00
Cosmin Sabou 7deaee641a Backed out 3 changesets (bug 1859977) for bc failures on browser/browser_ext_themes_tab_selected.js. CLOSED TREE
Backed out changeset f38df52fd687 (bug 1859977)
Backed out changeset c7c2461bbd71 (bug 1859977)
Backed out changeset e8f57ba38648 (bug 1859977)
2023-10-23 21:19:19 +03:00
Emilio Cobos Álvarez 9fa8fde809 Bug 1859977 - Simplify selected tab background and specify proper color-scheme. r=dao,desktop-theme-reviewers
This should fix the concern raised in D191407. I went through a bunch of
themes with images and I don't see why the three layers of backgrounds
were needed tbh.

Depends on D191408

Differential Revision: https://phabricator.services.mozilla.com/D191466
2023-10-23 16:47:18 +00:00
Emilio Cobos Álvarez 7acfdf48c0 Bug 1860392 - Consistently apply sidebar theme values to root. r=desktop-theme-reviewers,dao
Bug 1858711 removed the optionalElementId from the sidebar background
color because we no longer set the lwt-sidebar attribute in the
sidebar-box itself.

Do the same for sidebar border and text color for consistency.

Differential Revision: https://phabricator.services.mozilla.com/D191622
2023-10-23 15:50:26 +00:00
Dão Gottwald 220c37a5a2 Bug 1859994 - Rename --autocomplete-popup-* variables to --urlbarView-*. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D191396
2023-10-23 11:05:50 +00:00
Emilio Cobos Álvarez 07700afd61 Bug 1859977 - Move toolbar color handling to toolkit. r=dao,desktop-theme-reviewers
LightweightThemeConsumer already relies on those colors, and
comm-central's ThemeVariableMap also has them.

Differential Revision: https://phabricator.services.mozilla.com/D191406
2023-10-19 14:29:31 +00:00
Emilio Cobos Álvarez 43d2522130 Bug 1857743 - Specify selected tab color properly. r=desktop-theme-reviewers,dao
Right now on the system theme on Windows, the selected tab color comes
from here.

  https://searchfox.org/mozilla-central/rev/6e5b9a5a1edab13a1b2e2e90944b6e06b4d8149c/toolkit/themes/windows/global/tabbox.css#30

Which is unexpected. On the firefox view icon is just inherited (which
is wrong and causes contrast issues with some backgrounds).

Depends on D190955

Differential Revision: https://phabricator.services.mozilla.com/D190971
2023-10-16 17:57:18 +00:00
Emilio Cobos Álvarez d8e189e0a0 Bug 1858711 - Refactor lwtheme attributes to account for missing colors. r=dao,desktop-theme-reviewers
When a theme doesn't specify popup colors, it makes sense to follow the
system-preferred color scheme. Refactor theming attributes so that we
can distinguish this. Instead of a single [lwt-popup-brighttext], we get
lwt-popup="dark"/"light", and handle it appropriately.

Same for the other relevant attributes.

Refactor sidebar theming (which already did this tri-state thing via
lwt-sidebar and lwt-sidebar-brighttext) to do the same using a single
lwt-sidebar attribute, and update the docs.

Differential Revision: https://phabricator.services.mozilla.com/D190919
2023-10-13 13:24:14 +00:00
Angel_V129 c74a074e42 Bug 1788756 - [Themes] Convert browser/theme JSM modules to ESMs. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D157037
2022-10-04 19:02:24 +00:00