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

44 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 3c48e4f525 Bug 1710643 - Use an slightly higher threshold to consider a color dark. r=Gijs
Luminance goes from 0 to 255, so using 127 makes sense, and allows all
disabled titlebar colors that I found in various GTK themes to still be
considered dark enough (for those, 110 was too low).

Differential Revision: https://phabricator.services.mozilla.com/D114876
2021-05-12 22:52:28 +00:00
Emilio Cobos Álvarez 9402e09c63 Bug 1707895 - Make the -moz-toolbar-prefers-color-scheme a tri-state. r=mstriemer
This will allow detecting the system theme, which allows fixing some of
the blocked bugs.

Note that when using the system theme we will still match light or dark
appropriately, so this shouldn't change behavior just yet.

Differential Revision: https://phabricator.services.mozilla.com/D113516
2021-04-27 16:20:35 +00:00
Mike Conley c0f33ff43d Bug 1705849 - Update toolbar icon fill colours for system/light/dark themes to remove opacity and match Proton spec. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D112820
2021-04-26 16:55:12 +00:00
Cosmin Sabou 6143c3b834 Backed out changeset a08a2e0aee43 (bug 1705849) for causing Bug 1707357. a=backout 2021-04-24 18:52:22 +03:00
Mike Conley 5adce32a77 Bug 1705849 - Update toolbar icon fill colours for system/light/dark themes to remove opacity and match Proton spec. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D112820
2021-04-22 15:29:51 +00:00
Marco Bonardo 40fdf805bd Bug 1703590 - Fix custom themes urlbar/searchbar separators. r=harry,desktop-theme-reviewers,rpl
Stop supporting toolbar_field_separator in themes. We have no more
vertical separators in toolbar fields, and it could hide functional horizontal
separators in the urlbar panel, because it was misused there.

Introduce an autocomplete_popup_separator experimental color instead and use
a color-mix of currentColor to better adapt to LWT theme colors.

Differential Revision: https://phabricator.services.mozilla.com/D112616
2021-04-20 11:24:22 +00:00
Mark Striemer 209f987106 Bug 1701691 - -moz-toolbar-prefers-color-scheme for dark theme detection r=desktop-theme-reviewers,emilio,harry
This adds a new @media query -moz-toolbar-prefers-color-scheme which works like
prefers-color-scheme but is set based on the browser theme rather than the OS
theme. The background colour of the toolbar is used to determine the theme
dark/light preference. This will be used for in-content common.css pages and
other UI elements that include that stylesheet in the browser-chrome through
shadow DOM.

The end result is that about: pages, infobars, and modals will now "match" the
browser theme (just light/dark mode, not LWT theming support).

Differential Revision: https://phabricator.services.mozilla.com/D111486
2021-04-18 22:22:49 +00:00
Noemi Erli f90389736b Backed out changeset 1c9943dacbdb (bug 1701691) for causing failures in browser_toolbar_prefers_color_scheme.js CLOSED TREE 2021-04-16 05:29:10 +03:00
Mark Striemer 53099a968e Bug 1701691 - -moz-toolbar-prefers-color-scheme for dark theme detection r=desktop-theme-reviewers,emilio,harry
This adds a new @media query -moz-toolbar-prefers-color-scheme which works like
prefers-color-scheme but is set based on the browser theme rather than the OS
theme. The background colour of the toolbar is used to determine the theme
dark/light preference. This will be used for in-content common.css pages and
other UI elements that include that stylesheet in the browser-chrome through
shadow DOM.

The end result is that about: pages, infobars, and modals will now "match" the
browser theme (just light/dark mode, not LWT theming support).

Differential Revision: https://phabricator.services.mozilla.com/D111486
2021-04-16 00:43:46 +00:00
Csoregi Natalia 5cfbff72cd Backed out changeset 79c1392f7c43 (bug 1701691) for failures on browser_toolbar_prefers_color_scheme.js. CLOSED TREE 2021-04-15 22:18:09 +03:00
Mark Striemer 67dde35bda Bug 1701691 - -moz-toolbar-prefers-color-scheme for dark theme detection r=desktop-theme-reviewers,emilio,harry
This adds a new @media query -moz-toolbar-prefers-color-scheme which works like
prefers-color-scheme but is set based on the browser theme rather than the OS
theme. The background colour of the toolbar is used to determine the theme
dark/light preference. This will be used for in-content common.css pages and
other UI elements that include that stylesheet in the browser-chrome through
shadow DOM.

The end result is that about: pages, infobars, and modals will now "match" the
browser theme (just light/dark mode, not LWT theming support).

Differential Revision: https://phabricator.services.mozilla.com/D111486
2021-04-15 18:17:07 +00:00
Tim Nguyen 4e61d1f58d Bug 1698499 - Simplify --toolbarbutton-{hover/active}-background and --toolbarseparator-color implementation. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D108433
2021-03-16 08:59:38 +00:00
Victor Porof af7d1d3b67 Bug 1561435 - Format browser/modules/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36046

--HG--
extra : source : f3c632037a1064c41b1f8b02f477c854b2fb4362
2019-07-05 09:55:19 +02:00
Dão Gottwald e5ad6d5d8c Bug 1541910 - Use the chrome/content separator color for the urlbar results popup's top and bottom borders consistently across platforms and remove left and right borders. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D26192

--HG--
extra : moz-landing-system : lando
2019-04-11 11:47:18 +00:00
Tim Nguyen f3c3251f9d Bug 1468517 - Make toolbar_bottom_separator color apply to findbar top border. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11577

--HG--
extra : moz-landing-system : lando
2018-11-18 18:16:52 +00:00
Tim Nguyen eda7b67115 Bug 1488000 - Allow theming sidebar border color. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D4839

--HG--
extra : moz-landing-system : lando
2018-09-04 21:33:46 +00:00
Tim Nguyen 825932cc26 Bug 1484891 - Make sidebar and sidebar_text properties apply to the sidebar header. r=dao 2018-08-23 14:21:59 +01:00
Mark Banner 691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Tim Nguyen 0c68c54d3e Bug 1418602 - Allow theming sidebars. r=mconley
MozReview-Commit-ID: 97zkU7raehV

--HG--
extra : rebase_source : 02a80c78170723bf9d7d2e72834fc26850894dbc
2018-08-06 17:46:43 +01:00
Tim Nguyen e6c156f9ed Bug 1347204 - Implement the colors.ntp_background and colors.ntp_text properties. r=mconley
MozReview-Commit-ID: En8HajryiJS

--HG--
extra : rebase_source : 97b007626fc9c9ed6f49b3153b02a883b293ca08
2018-04-12 16:48:23 -04:00
Cosmin Sabou 4d56fa5458 Backed out 2 changesets (bug 1347204) for ESlint failure on browser_ext_themes_ntp_colors. CLOSED TREE
Backed out changeset 29caa8009784 (bug 1347204)
Backed out changeset 46922541d170 (bug 1347204)
2018-07-06 01:13:43 +03:00
Tim Nguyen 7620721be3 Bug 1347204 - Implement the colors.ntp_background and colors.ntp_text properties. r=mconley
MozReview-Commit-ID: En8HajryiJS

--HG--
extra : rebase_source : b0b321418a68c134772616cc47ab883f8ffb9078
2018-04-12 16:48:23 -04:00
Tim Nguyen 996e1783ef Bug 1467423 - Make findbar textbox focused state follow theme properties. r=jaws
MozReview-Commit-ID: GfkUVIdmWjw

--HG--
extra : rebase_source : fe80a319a8a092df757dbae3ade800c8b374bfd9
2018-06-19 15:25:49 +01:00
Tim Nguyen e328cc3fd4 Bug 1459455 - Allow changing the tab separator color. r=jaws
MozReview-Commit-ID: 6DNHHTTw7ff

--HG--
extra : rebase_source : 59be5237ccc32387029191c03a60337d55b905ee
2018-05-30 04:34:51 +02:00
Brindusan Cristian f3765e8d3b Backed out changeset c6bd6395abb7 (bug 1459455) for ESlint failure on browser_ext_themes_tab_separators.js. CLOSED TREE 2018-05-30 02:38:37 +03:00
Tim Nguyen 483aabd678 Bug 1459455 - Allow changing the tab separator color. r=jaws
MozReview-Commit-ID: EZud6zCay4a

--HG--
extra : rebase_source : 245b6c992eb750cad5608d086293870bb2642be5
2018-05-30 00:51:45 +02:00
Dão Gottwald 007fc77913 Bug 1462635 - Fix disabled text color in webext theme styled popups. r=ntim
MozReview-Commit-ID: myI1PNipvK

--HG--
extra : rebase_source : 6df227c1bd260dbb296e5b269e6c5c39606db386
2018-05-26 18:45:06 +02:00
Bogdan Pozderca b7044b1ab1 Bug 1418605 - The toolbar, toolbar_text, toolbar_field, toolbar_field_text, toolbar_field_border properties should apply to the findbar r=jaws,mconley,ntim
MozReview-Commit-ID: 821d7kR41mJ

--HG--
extra : rebase_source : d0f6e9308b261806a014fcc834c753f3a892fbbc
2018-02-10 17:24:50 -05:00
Tim Nguyen 3bb39714db Bug 1449765 - Fix urlbar focusring on macOS. r=jaws
MozReview-Commit-ID: VHpMDilA0p

--HG--
extra : rebase_source : 3042f91db2b4310133b89210192ded542afcc67b
2018-03-29 00:38:37 +02:00
Tim Nguyen b97de75c9b Bug 1449324 - Make popup_border affect the autocomplete popups border color. r=dao
MozReview-Commit-ID: 2omRfDTdRWr

--HG--
extra : rebase_source : 6ef2d0a84825ce5281b37c18516bd5778fe7050f
2018-03-28 00:11:20 +02:00
Tim Nguyen f92cfc19f5 Bug 1417883 - Refactor theme code to have processing code in the variable map. r=dao 2018-03-27 13:40:06 +02:00
Dylan Stokes a538a161a1 Bug 1417883 - Allow theming autocomplete popups. r=ntim, jaws 2018-02-11 12:32:33 -05:00
Zhengyi Lian 7b7b462b5d Bug 1423757 - Allow theming toolbar fields focused state r=jaws,ntim
MozReview-Commit-ID: 9XrN64FTMA4

--HG--
extra : rebase_source : 8c585eb710c913adcaea5b29360292db8893b670
2018-03-07 02:59:00 -05:00
Gurzau Raul 4f5f6c3b00 Backed out changeset 6fbbb00841e4 (bug 1423757) for failing browser_ext_themes_toolbar_fields_focus.js 2018-03-24 01:49:13 +02:00
Zhengyi Lian a8a0f71e0b Bug 1423757 - Allow theming toolbar fields hover & focused state r=jaws,ntim
MozReview-Commit-ID: 9XrN64FTMA4

--HG--
extra : rebase_source : 8378bbdc0df263d13841bd7720b42aa9ed3950e8
2018-03-07 02:59:00 -05:00
Csoregi Natalia 8cab2bba30 Backed out changeset b03fd1004cac (bug 1417883) for failing browser_ext_themes_autocomplete_popup.js. CLOSED TREE 2018-03-06 19:35:12 +02:00
Dylan Stokes 7085c55905 Bug 1417883 - Allow theming autocomplete popups. r=jaws,ntim
MozReview-Commit-ID: GITgsY3yYqN

--HG--
extra : rebase_source : 2cadbc67a715c60b17ae0994d8e40ebad310307e
2018-02-11 12:32:33 -05:00
Tim Nguyen ce693b8a13 Bug 1439734 - Allow WebExtension themes to set the tab line color. r=jaws
MozReview-Commit-ID: LbHGyaWfXze

--HG--
extra : rebase_source : 3926e545530b87c0fdc4f95145485b15b79bfcb6
2018-03-04 01:25:54 +00:00
vinicius 8368d36a52 Bug 1434476 - Allow changing the background color of the selected tab. r=jaws
***

MozReview-Commit-ID: 3GpBSWepNe3
***

--HG--
extra : rebase_source : 1c451cc8425958a1fe1a3387f7fa97a6b415e2c3
2018-03-02 15:24:05 -03:00
Dão Gottwald 826239dc66 Backed out changeset 29569f02015d
MozReview-Commit-ID: 6XcU3HUnEvX
2018-02-20 20:27:32 +01:00
Connor Masini 2c622ac77f Bug 1417880: Allow theming arrow panels. r=jaws, ntim 2018-02-07 00:22:22 -05:00
Richard Marti 2eb1d7963c Bug 1436100 - Let the apps use their own ThemeVariableMap.jsm constant. r=gijs 2018-02-12 18:24:27 +01:00
shindli 5468b5b6a3 Backed out changeset bf20a59521ad (bug 1436100) per developers request on a CLOSED TREE 2018-02-13 13:47:08 +02:00
Richard Marti 547711573c Bug 1436100 - Let the apps use their own ThemeVariableMap.jsm constant. r=gijs 2018-02-12 18:24:27 +01:00