mirror of
https://github.com/RGBCube/ThemeNix
synced 2025-07-27 08:27:45 +00:00
Add firefox template
This commit is contained in:
parent
e1b00096f6
commit
f3b3795f88
3 changed files with 41 additions and 0 deletions
|
@ -314,6 +314,7 @@ There are instructions on how to use these in the file they are located. Check `
|
||||||
```
|
```
|
||||||
adwaitaGtkCss
|
adwaitaGtkCss
|
||||||
discordCss
|
discordCss
|
||||||
|
firefoxTheme
|
||||||
tmTheme
|
tmTheme
|
||||||
```
|
```
|
||||||
</details>
|
</details>
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
in themeFull // {
|
in themeFull // {
|
||||||
adwaitaGtkCss = (import ./templates/adwaitaGtkCss.nix) themeFull;
|
adwaitaGtkCss = (import ./templates/adwaitaGtkCss.nix) themeFull;
|
||||||
discordCss = (import ./templates/discordCss.nix) themeFull;
|
discordCss = (import ./templates/discordCss.nix) themeFull;
|
||||||
|
firefoxTheme = (import ./templates/firefoxTheme.nix) themeFull;
|
||||||
tmTheme = (import ./templates/tmTheme.nix) themeFull;
|
tmTheme = (import ./templates/tmTheme.nix) themeFull;
|
||||||
};
|
};
|
||||||
} // builtins.mapAttrs (name: self.custom) raw;
|
} // builtins.mapAttrs (name: self.custom) raw;
|
||||||
|
|
39
templates/firefoxTheme.nix
Normal file
39
templates/firefoxTheme.nix
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# I'm actually not sure how to apply this to Firefox
|
||||||
|
# declaratively. Let me know if you ever find out.
|
||||||
|
theme: with theme.withHashtag; ''
|
||||||
|
{
|
||||||
|
"info": "${name} by ${author}",
|
||||||
|
"colors": {
|
||||||
|
"bookmark_text": "${base05}",
|
||||||
|
"button_background_active": "${base02}",
|
||||||
|
"button_background_hover": "${base01}",
|
||||||
|
"frame": "${base01}",
|
||||||
|
"icons": "${base05}",
|
||||||
|
"icons_attention": "${base0D}",
|
||||||
|
"ntp_background": "${base00}",
|
||||||
|
"ntp_text": "${base05}",
|
||||||
|
"popup": "${base00}",
|
||||||
|
"popup_border": "${base00}",
|
||||||
|
"popup_highlight": "${base02}",
|
||||||
|
"popup_highlight_text": "${base06}",
|
||||||
|
"popup_text": "${base05}",
|
||||||
|
"tab_background_separator": "${base04}",
|
||||||
|
"tab_background_text": "${base05}",
|
||||||
|
"tab_line": "${base0D}",
|
||||||
|
"tab_loading": "${base0D}",
|
||||||
|
"tab_selected": "${base00}",
|
||||||
|
"tab_text": "${base05}",
|
||||||
|
"toolbar": "${base00}",
|
||||||
|
"toolbar_bottom_separator": "${base01}",
|
||||||
|
"toolbar_field": "${base02}",
|
||||||
|
"toolbar_field_border": "${base00}",
|
||||||
|
"toolbar_field_border_focus": "${base0D}",
|
||||||
|
"toolbar_field_focus": "${base02}",
|
||||||
|
"toolbar_field_separator": "${base04}",
|
||||||
|
"toolbar_field_text": "${base06}",
|
||||||
|
"toolbar_field_text_focus": "${base06}",
|
||||||
|
"toolbar_top_separator": "${base01}",
|
||||||
|
"toolbar_vertical_separator": "${base01}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
''
|
Loading…
Add table
Add a link
Reference in a new issue