5
submitted 2 weeks ago by [email protected] to c/[email protected]

This colour does not follow my accent colour in KDE plasma. How do I customise it?

top 2 comments
sorted by: hot top controversial new old
[-] [email protected] 2 points 2 weeks ago

You can change it like this with userContent.css:

@-moz-document url("about:newtab"), url("about:home"){
  :root{
    --newtab-primary-action-background: #f00 !important;
  }
}

That way you can specify a color for them, but setting the value to AccentColor may or may not resolve to the actual system accent color.

[-] [email protected] 1 points 2 weeks ago

Thank you, it worked.

this post was submitted on 27 Jun 2024
5 points (100.0% liked)

Firefox Customs

4 readers
2 users here now

Chat with us!

Post your unsupported Firefox customizations here!

From the makers of r/FirefoxCSS

Links

Related

Rules

  1. Posts must have flair!
  2. Posts cannot be memes/shitposts. They should be about Firefox customization with CSS.
  3. Please be civil. Bear in mind that many users come here for help and would be turned off by insults and rudeness.
  4. When posting large amount of code use a service dedicated to hosting text snippets, such as pastebin, hastebin, github gist or equivalent. Relatively short snippets can be wrapped in code-block for inline viewing.
  5. Do NOT use url-shorteners or link to compressed downloads (such as zip or rar) when sharing code.

founded 1 year ago