summary refs log tree commit diff
path: root/.mozilla/firefox/hibiki.default/chrome/userContent.css
blob: f3b4e6a1cf653c6880e7a2f9325ba88af809d34a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@import url(lepton.userContent.css);

/* 
   dark background in new tabs without a white flash (with tridactyl newtab)
   @see: https://github.com/tridactyl/tridactyl/issues/2510
*/
:root {
  --tridactyl-bg: #2a2a2e !important;
  --tridactyl-fg: #b1b1b3 !important;
}

/*
    set the background color of the new tab page (without tridactyl or with tridactyl without newtab)
*/
@-moz-document url-prefix(about:home), url-prefix(about:newtab), url-prefix(about:blank) {
  @media (prefers-color-scheme: dark) {
    body {
      background: #1d1b19;
    }
  }
}