Dienstag, der 30. Dezember 2025 - 10:28 Uhr

Firefox 146 Darkmode Bug in neuem Tab

erstellt am: 16.12.2025 | von: DevLink | Kategorie(n): Windows | Keine Kommentare

Is it a Bug, or a Feature?

Hatten wir es nicht kürzlich erst davon, dass jedes Update einfach nur hart nervt?

Erneut sowas: Ich nutze den Darkmode für den Browser und den Lightmode für Webseiten. Seit dem Update Version 146 erscheint die Neue Tab Seite, die Homepage usw.. alles in strahlendem Hell..
Nun, jetzt nicht mehr, nachdem ihr im Firefox Profil folgende Dateien mit dem Code ändert:

Ich hab mir Mühe gegeben, es so nah an den Ursprung zu bringen wie möglich bzw. so als würde ich in den Einstellungen den Darkmode wählen.
Fühlt euch frei den Code zu nutzen, keine Quelle da ausnahmsweise mal fast komplett selbst herausgefunden ;D

userChrome.css

#browser vbox#appcontent tabbrowser,
#content, #tabbrowser-tabpanels,
browser[type=content-primary],
browser[type=content] > html { 
	background: var(--in-content-page-background) !important 
}

userContent.css

/* dark new tab */
@-moz-document
url("about:blank"),
url("about:home"),
url("about:newtab") {
	
	:root {
		--color-accent-primary:oklch(76% 0.14 205) !important;
		--color-accent-primary-selected:oklch(76% 0.14 205) !important;
		--color-accent-primary-active:oklch(76% 0.14 205) !important;
		--color-accent-primary-hover:oklch(76% 0.14 205) !important;
		--newtab-section-card-box-shadow-color:rgba(0, 0, 0, 80%) !important;
		--button-text-color:#fbfbfe !important;
		--newtab-background-color-secondary: #42414d !important;
		--newtab-background-color:#2B2A33 !important;
		--newtab-border-color:color-mix(in srgb, var(--newtab-background-color) 75%, var(--color-white))!important;

	}

	body {
		background: #2B2A33 !important;
		--text-color:#fbfbfe !important;
		--newtab-text-primary-color:#fbfbfe !important;
		--newtab-wordmark-color:#fbfbfe !important;
		--newtab-contextual-text-primary-color:#fbfbfe !important;
		--newtab-text-secondary-color:#fbfbfe !important;
		--color-accent-primary:oklch(76% 0.14 205) !important;
	}
	
	.top-site-outer .tile {
		background: #3F3E4A !important;
	}
	
	.ds-card-grid .sections-card-ui {
		background: #3F3E4A !important;
	}
	
	.outer-wrapper a{
		--color-accent-primary:oklch(76% 0.14 205) !important;
	}
}


, ,

Keine Kommentare


Bis jetzt noch keine Kommentare

Einen Kommentar abgeben

Themen:

59 Artikel in 6 Kategorien:

  • Exchange Server (16)
  • Linux (6)
  • Microsoft Server (7)
  • Scripting (3)
  • Tutorials (10)
  • Windows (17)