From 4d7ce5ad816bdd2dcc675c34ba6f12bb87fae9da Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Fri, 13 Jun 2025 15:11:39 +0800 Subject: [PATCH] update --- src/other/firefox/common/pages/common.css | 2 +- src/other/firefox/common/pages/newtab.css | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/other/firefox/common/pages/common.css b/src/other/firefox/common/pages/common.css index 966acd72..0368c83e 100644 --- a/src/other/firefox/common/pages/common.css +++ b/src/other/firefox/common/pages/common.css @@ -23,7 +23,7 @@ --in-content-table-background: var(--gnome-browser-before-load-background) !important; --newtab-background-color: var(--gnome-browser-before-load-background) !important; - --newtab-background-color-secondary: var(--gnome-menu-background) !important; + --newtab-background-color-secondary: var(--gnome-content-page-dialog-background) !important; --newtab-primary-action-background: var(--theme-primary-color) !important; --fxview-background-color: var(--gnome-browser-before-load-background) !important; --fxview-background-color-secondary: var(--gnome-menu-background) !important; diff --git a/src/other/firefox/common/pages/newtab.css b/src/other/firefox/common/pages/newtab.css index 01735155..e77b1e7c 100644 --- a/src/other/firefox/common/pages/newtab.css +++ b/src/other/firefox/common/pages/newtab.css @@ -3,7 +3,8 @@ @-moz-document url("about:newtab"), url("about:home") { body { --newtab-background-color: var(--gnome-browser-before-load-background) !important; - --newtab-background-color-secondary: var(--gnome-menu-background) !important; + --newtab-background-color-secondary: var(--gnome-content-page-dialog-background) !important; + --newtab-background-card: var(--gnome-content-page-dialog-background) !important; --newtab-primary-action-background: var(--theme-primary-color) !important; --newtab-primary-element-text-color: #ffffff !important; --newtab-overlay-color: var(--gnome-tabstoolbar-background) !important; @@ -17,7 +18,7 @@ body { } .context-menu { - background: var(--gnome-menu-background) !important; + background: var(--gnome-toolbar-background) !important; border-radius: 12px !important; box-shadow: var(--gnome-popover-shadow), 0 0 0 1px var(--gnome-popover-border-color) !important; padding: 6px !important;