1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-10 02:06:24 +02:00

chore: Update theme pill-button default value and styles

This commit is contained in:
Mauro Balades 2024-07-23 11:35:26 +02:00
parent 26b633553c
commit 9c6b0912a5
12 changed files with 47 additions and 17 deletions

View file

@ -0,0 +1,13 @@
diff --git a/browser/components/newtab/content-src/components/Search/_Search.scss b/browser/components/newtab/content-src/components/Search/_Search.scss
index 8ee4f7f13276c0aabcb1dd131307cbc6d0907fbf..dd3e22740cd4dcbb6a4b974165c3ccd1cd9cec70 100644
--- a/browser/components/newtab/content-src/components/Search/_Search.scss
+++ b/browser/components/newtab/content-src/components/Search/_Search.scss
@@ -17,6 +17,8 @@ $glyph-forward: url('chrome://browser/skin/forward.svg');
$logo-size: 82px;
$wordmark-size: 134px;
+ display: none;
+
align-items: center;
display: flex;
justify-content: center;

View file

@ -83,5 +83,10 @@ Preferences.addAll([
id: "zen.view.sidebar-expanded",
type: "bool",
default: true,
},
{
id: "zen.theme.pill-button",
type: "bool",
default: true,
}
]);

View file

@ -24,6 +24,13 @@
<checkbox id="zenLooksAndFeelUseThemedToolbar"
data-l10n-id="zen-look-and-feel-compact-view-enabled"
preference="zen.view.compact"/>
<label><html:h2 data-l10n-id="zen-look-and-feel-buttons-header"/></label>
<description class="description-deemphasized" data-l10n-id="zen-look-and-feel-buttons-description" />
<checkbox id="zenLooksAndFeelPilledButtons"
data-l10n-id="zen-look-and-feel-pilled-buttons"
preference="zen.theme.pill-button"/>
</groupbox>
<hbox id="zenSidePanelsCategory"