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

90 Коммитов

Автор SHA1 Сообщение Дата
amy churchwell f3d0380678 Bug 1712223 - Update newtab background color in dark mode. r=thecount,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D116049
2021-06-22 17:35:56 +00:00
Mike Conley 7891d34a05 Bug 1708534 - Use the specified input colours for dark and light built-in themes. r=jaws
It looks like we erroneously used the placeholder colour for the dark theme
input colour. This updates the dark theme to use the correct colour. It also
updates the light theme to use the same input colours as defined in the
light variation of the system theme.

Differential Revision: https://phabricator.services.mozilla.com/D115000
2021-05-12 20:45:30 +00:00
Dão Gottwald 50f3fc0ecc Bug 1709601 - Consolidate checkbox styling. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D114350
2021-05-09 04:17:04 +00:00
Mike Conley 89d94d36bd Bug 1706084 - Update tab-audio-blocked-small.svg icon and tab icon overlay fill/stroke values for Proton. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D114155
2021-05-04 21:16:51 +00:00
Dão Gottwald 0951f34344 Bug 1709367 - Clean up primary button variables. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D114238
2021-05-04 16:36:53 +00:00
julianwels d7b715e314 Bug 1706360 - Adjust default background colors of new-tab. r=dao,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D112744
2021-04-30 17:27:26 +00:00
Ed Lee 428a8dece5 Bug 1706366 - Update builtin theme icons to reuse on about:welcome, customize and upgrade dialog r=emcminn
Switch about:welcome and upgrade dialog to use url(icon.svg) to avoid high contrast hiding gradients. Also adjusts customize mode styling to better match proton.

Differential Revision: https://phabricator.services.mozilla.com/D113701
2021-04-30 05:13:31 +00:00
Dorel Luca 3cda135a3e Backed out changeset 69811ad1a854 (bug 1706366) for Browser-chrome failures in browser/components/customizableui/test/browser_1007336_lwthemes_in_customize_mode.js. CLOSED TREE 2021-04-30 06:10:41 +03:00
Ed Lee 10f63ae329 Bug 1706366 - Update builtin theme icons to reuse on about:welcome, customize and upgrade dialog r=emcminn
Switch about:welcome and upgrade dialog to use url(icon.svg) to avoid high contrast hiding gradients. Also adjusts customize mode styling to better match proton.

Differential Revision: https://phabricator.services.mozilla.com/D113701
2021-04-30 00:42:33 +00:00
Harry Twyford 7fcf9b033e Bug 1707949 - Update Urlbar icon opacity to match toolbar icon colors. r=mak,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D113590
2021-04-29 19:13:35 +00:00
Cosmin Sabou 4fab3e6602 Backed out changeset 1bfac0068a43 (bug 1706360) for bc failures on browser_ext_themes_ntp_colors_perwindow.js. CLOSED TREE 2021-04-29 19:10:53 +03:00
julianwels 0a1e115f5b Bug 1706360 - Adjust default background colors of new-tab. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D112744
2021-04-29 15:20:27 +00:00
Harry Twyford dd0e54fd6f Bug 1707053 - Use Secondary text color for action text in Light theme. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D113161
2021-04-27 22:20:13 +00:00
Mike Conley 1bb242b0e8 Bug 1706641 - Define the --error-text-color CSS variable for the built-in Light theme. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D113574
2021-04-27 21:04:27 +00:00
Ed Lee 80be647572 Bug 1703043 - Update findbar labels and placeholder to be appropriately transparent for light and dark r=dao,emalysz,harry
Make dark --toolbar-color match up with the equivalent light mode and system/default value rgb(21, 20, 26) and fade it to get closer to #5b5b66 on light and #bfbfc9 on dark like panels.

Differential Revision: https://phabricator.services.mozilla.com/D112904
2021-04-27 19:09:59 +00:00
Butkovits Atila 51a6b05fa4 Backed out changeset b9434ddcd9ee (bug 1707053) for causing failures at browser_ext_themes_autocomplete_popup.js. CLOSED TREE 2021-04-27 21:13:01 +03:00
Harry Twyford 90f45006b6 Bug 1707053 - Use Secondary text color for action text in Light theme. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D113161
2021-04-27 17:20:05 +00:00
Butkovits Atila eb058fd3de Backed out changeset fbae5e36471b (bug 1703043) for casuing failures at browser_ext_themes_findbar.js. CLOSED TREE 2021-04-27 20:27:44 +03:00
Ed Lee 41263de8ac Bug 1703043 - Update findbar labels and placeholder to be appropriately transparent for light and dark r=dao,emalysz,harry
Make dark --toolbar-color match up with the equivalent light mode and system/default value rgb(21, 20, 26) and fade it to get closer to #5b5b66 on light and #bfbfc9 on dark like panels.

Differential Revision: https://phabricator.services.mozilla.com/D112904
2021-04-27 16:44:47 +00:00
Bernard Igiri e1438e7599 Bug 1696500 - Proton panels should have the correct border colour in light mode. r=mconley,desktop-theme-reviewers,dao
Set proton panel border colors to match spec for light/dark mode in the .css and manifest.json files.

Differential Revision: https://phabricator.services.mozilla.com/D112794
2021-04-27 16:33:46 +00:00
Jared Wein 3b703af54d Bug 1703957 - Colors for dark/light/system/system-dark audited and confirmed consistent. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D113137
2021-04-26 18:50:14 +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
Alexandru Michis fc218d9a6f Backed out changeset 15e19c4203af (bug 1703957) for causing issues with addressbar suggestions (Bug 1707257). a=backout 2021-04-23 22:57:45 +03:00
Jared Wein 89a49577fc Bug 1703957 - Colors for dark/light/system/system-dark audited and confirmed consistent. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D113137
2021-04-22 21:02:24 +00: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
Ed Lee 58c8548d65 Bug 1705511 - Copy over in-content colors for new tab defaults and themes setting new tab colors r=thecount,jaws
Use the values from common.inc.css both light and dark. The theme values will override the page defaults, but not all themes use ntp_.

Differential Revision: https://phabricator.services.mozilla.com/D112410
2021-04-17 13:13:57 +00:00
Bogdan Tara 56cb937d8c Backed out changeset 068351eb5881 (bug 1705511) for browser_ext_themes_ntp_colors_perwindow.js mochitest failures CLOSED TREE 2021-04-17 05:07:58 +03:00
Ed Lee 5557f4834e Bug 1705511 - Copy over in-content colors for new tab defaults and themes setting new tab colors r=thecount,jaws
Use the values from common.inc.css both light and dark. The theme values will override the page defaults, but not all themes use ntp_.

Differential Revision: https://phabricator.services.mozilla.com/D112410
2021-04-17 00:38:49 +00:00
Jared Wein c452023cc6 Bug 1705447 - Set button primary colors in the default-dark and dark themes. r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D112378
2021-04-16 21:07:59 +00:00
Drew Willcoxon 40b8a51cc4 Bug 1702772 - Give urlbar search shortcut buttons the proper Proton hover color. r=harry,mak
Differential Revision: https://phabricator.services.mozilla.com/D111751
2021-04-16 12:38:53 +00:00
Molly Howell 4cc02fa0a7 Bug 1702067 - Implement styling and icon changes for app menu notifications. r=mconley
This patch includes the following changes, all of which are intended to apply only if the Proton pref is set:

1) Renamed `--panel-banner-item-update-unsupported-bgcolor` to `--panel-banner-item-warning-icon-bgcolor` because it's now used for more than just the update-unsupported notification icon.
2) Added Proton definitions for background colors of various menu notification banner states.
3) Replaced icons and update icon colors for all app menu notifications. This also required adding `context-stroke` to the update arrow icon (with a fallback still in place to prevent breaking other uses of that icon).
4) Replaced background colors for all menu notifications with the Proton button colors (the Firefox accounts banner error states keep the same background as the rest of the menu).
5) Adjusted margins and padding to better match the design spec.
6) Moveed the icon to the opposite side of the notification banner, after the text.
7) Removed the extension icon from the extension permissions warning banner, leaving only the warning icon (as called for in the spec).

Differential Revision: https://phabricator.services.mozilla.com/D110495
2021-04-06 21:05:46 +00:00
Cosmin Sabou 5cac461a9e Backed out changeset f1b37995f995 (bug 1702067) for causing build bustages. CLOSED TREE 2021-04-06 23:22:39 +03:00
Molly Howell be86926d43 Bug 1702067 - Implement styling and icon changes for app menu notifications. r=mconley
This patch includes the following changes, all of which are intended to apply only if the Proton pref is set:

1) Renamed `--panel-banner-item-update-unsupported-bgcolor` to `--panel-banner-item-warning-icon-bgcolor` because it's now used for more than just the update-unsupported notification icon.
2) Added Proton definitions for background colors of various menu notification banner states.
3) Replaced icons and update icon colors for all app menu notifications. This also required adding `context-stroke` to the update arrow icon (with a fallback still in place to prevent breaking other uses of that icon).
4) Replaced background colors for all menu notifications with the Proton button colors (the Firefox accounts banner error states keep the same background as the rest of the menu).
5) Adjusted margins and padding to better match the design spec.
6) Moveed the icon to the opposite side of the notification banner, after the text.
7) Removed the extension icon from the extension permissions warning banner, leaving only the warning icon (as called for in the spec).

Differential Revision: https://phabricator.services.mozilla.com/D110495
2021-04-06 19:59:50 +00:00
Emma Malysz 5484875739 Bug 1701912, add checkbox colors to light theme r=desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D110349
2021-03-31 15:22:20 +00:00
Jared Wein 7cf917ea52 Bug 1701003 - Use the darker toolbar text color in Light that was already being used in browser-custom-colors.inc.css. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D109973
2021-03-26 22:55:21 +00:00
Jared Wein 000e96a19f Bug 1697448 - Use the tab_line color, or the toolbar_top_separator if tab_line is not specified, as a border around the selected tabs for themes. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D109735
2021-03-26 22:55:19 +00:00
Jared Wein 62c9da2394 Bug 1701249 - Add missing toolbar_top_separator declaration from the Dark theme. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D109916
2021-03-26 17:26:37 +00:00
Jared Wein 7a5d7ff4f1 Bug 1701256 - Move and rename 'Proton Light' and 'Proton Dark' to 'Light' and 'Dark'. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D109915
2021-03-26 16:03:33 +00:00
Jared Wein fdaaac9b7d Bug 1701256 - Remove 'Light' and 'Dark' themes, leaving references to the theme IDs in place. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D109914
2021-03-26 16:03:33 +00:00
Jared Wein f9cee317ed Bug 1686529 - Update the tab and toolbar colors for Proton Light and Proton Dark themes. r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D109418
2021-03-26 03:44:18 +00:00
smolnar b888d5ac5a Backed out changeset c10c8cecab42 (bug 1686529) browser-chrome failures in browser_preferences_usage. CLOSED TREE 2021-03-26 05:07:08 +02:00
Jared Wein 403199a321 Bug 1686529 - Update the tab and toolbar colors for Proton Light and Proton Dark themes. r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D109418
2021-03-26 01:17:01 +00:00
Dão Gottwald c5f8b69bc5 Bug 1699158 - Rename variables related to non-default/non-primary buttons. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D109423
2021-03-23 08:06:10 +00:00
Jared Wein 339aebc595 Bug 1692320 - Brighten the color of the selected tab in Alpenglow Dark. r=desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D109419
2021-03-22 22:07:01 +00:00
Mike Conley 54e4bd3357 Bug 1695700 - Apply some polish to Proton AppMenu Zoom controls. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D109190
2021-03-22 21:52:12 +00:00
Emma Malysz 1706325439 Bug 1690334: update findbar styling when proton is enabled r=mconley,desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D108149
2021-03-22 15:02:13 +00:00
Harry Twyford df80c1ef99 Bug 1696469 - Part 2 - Use Proton color system colors for color/background-color in the address bar and arrowpanels. r=dao,mak
This patch sets `color` in arrowpanels and the address bar to the appropriate Proton color. It adds a --blue-tint variable that tints the fallback buttons-secondary-bgcolor variables. Those variables are now also used for arrowpanel colors, which reflects how the Proton spec uses consistent hover/pressed colors throughout. The arrowpanel colors get more opaque in Proton, which reflects the darker colours used on the spec. A new variable, --urlbar-result-hover-bgcolor, is introduced. This is necessary because the Proton spec makes an exception for the result hover bgcolor in the Light Mode Urlbar, where it's Secondary instead of Secondary Hover.

Differential Revision: https://phabricator.services.mozilla.com/D107562
2021-03-17 19:02:14 +00:00
Harry Twyford 2a44072f16 Bug 1696469 - Part 1 - Tweak address bar panel design to better match Proton spec. r=mak,dao
List of requested changes and resolutions:

List item height looks shorter than spec. List height should 36px and hover state height should be 32px. URL bar in closed state/default state should be 32px tall.
- List height addressed. Urlbar height addressed in D107422.

The bottom “This time, search with:” row height looks taller than the spec.
- Addressed.

The colour on the “Selected” and “Hover” state looks inverted. The colour for hover/pressed states should be universal in the browser. The “Selected” state is using “Secondary” in the colour palette.
- I spoke with UX and we're going with Secondary Hover for hover and Secondary Pressed for selected. I moved this into a second patch since I expect it will require more review/UX discussion.

Can you confirm if the hairline colour is from the spec? It looks a bit dark. Hairline colours should be the same across the browser and should be using “Secondary” in the colour palette (F0F0F4).
- Changed to F0F0F4.

The “This time search with:” favicons are missing pressed states - These should be the same as list item hover/pressed states (see above spec link)
- Colour changes are included in Part 2. Adding an :active state may require more engineering effort than is scoped for this bug. In SearchOneOffs._on_mousedown, we [call event.preventDefault()](https://searchfox.org/mozilla-central/rev/9bf82ef9c097ee6af0e34a1d21c073b2616cc438/browser/components/search/SearchOneOffs.jsm#1154). This means an :active state is not set on the buttons, so we can't have a separate pressed/:active state. I confirmed that line is still needed on Linux to get catch clicks. We could gate it behind a platform check so at least we have an :active state on macOS and Windows, but the slight behaviour change might cause headaches in the future. I left it as-is for now.

Please remove the green text for “Search with Google”. All green text should be updated to match standard text on light theme colour (#15141A).
- Addressed.

Remove vertical hairline between the Shield/Lock icon in the URL bar.
- Addressed in 1691531.

Update the URL Focused state on New Tab to have 40% opacity on the blue border (#0061E0, 40%)
- Addressed.

Differential Revision: https://phabricator.services.mozilla.com/D107561
2021-03-17 19:02:14 +00:00