mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 22:28:03 +03:00
helum
This commit is contained in:
1 parent
73debe3b6c
commit
18cbfa9b74
3 files changed
+32
-11
No files matched your search
@@ -88,7 +88,6 @@
|
|||||||
extraFlags = [ "--load-extension=${sidechery-styled}" ];
|
extraFlags = [ "--load-extension=${sidechery-styled}" ];
|
||||||
|
|
||||||
preferences = {
|
preferences = {
|
||||||
helium.browser.layout = 2;
|
|
||||||
extensions.commands."linux:Ctrl+S" = {
|
extensions.commands."linux:Ctrl+S" = {
|
||||||
command_name = "_execute_action";
|
command_name = "_execute_action";
|
||||||
extension = "napehjbogfncaoogcckddbidjgcapclg";
|
extension = "napehjbogfncaoogcckddbidjgcapclg";
|
||||||
|
|||||||
@@ -62,10 +62,10 @@
|
|||||||
preferences = {
|
preferences = {
|
||||||
helium.browser = {
|
helium.browser = {
|
||||||
zen_mode = true;
|
zen_mode = true;
|
||||||
zen_mode_sidebar_pinned = true;
|
zen_mode_sidebar_pinned = false;
|
||||||
zen_mode_top_chrome_pinned = true;
|
zen_mode_top_chrome_pinned = true;
|
||||||
centered_location_bar = true;
|
centered_location_bar = false;
|
||||||
minimal_location_bar = true;
|
minimal_location_bar = false;
|
||||||
rounded_frame = false;
|
rounded_frame = false;
|
||||||
new_tab_next_to_active = false;
|
new_tab_next_to_active = false;
|
||||||
show_back_button = true;
|
show_back_button = true;
|
||||||
|
|||||||
@@ -4,20 +4,25 @@
|
|||||||
flake.homeModules.home-theme-sidechery =
|
flake.homeModules.home-theme-sidechery =
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
let
|
let
|
||||||
p = config.elars.theme.palette.withHashtag;
|
# Colour variables for one palette. sidechery's sidebar follows the
|
||||||
|
# browser's light/dark mode, so each palette goes under its own
|
||||||
|
# prefers-color-scheme query.
|
||||||
|
colors =
|
||||||
|
palette:
|
||||||
|
let
|
||||||
|
p = palette.withHashtag;
|
||||||
accent = p.accent or p.base06;
|
accent = p.accent or p.base06;
|
||||||
in
|
in
|
||||||
{
|
''
|
||||||
elars.sidechery.extraCss = ''
|
|
||||||
/* generated from elars.theme.palette */
|
|
||||||
#root.root {
|
#root.root {
|
||||||
--frame-bg: ${p.base00};
|
--frame-bg: ${p.base00};
|
||||||
|
--frame-fg: ${p.base05};
|
||||||
--toolbar-bg: ${p.base01};
|
--toolbar-bg: ${p.base01};
|
||||||
|
--toolbar-fg: ${p.base05};
|
||||||
|
--popup-bg: ${p.base01};
|
||||||
|
--popup-fg: ${p.base05};
|
||||||
--s-accent: ${accent};
|
--s-accent: ${accent};
|
||||||
|
|
||||||
--nav-btn-active-shadow: inset 0 0 0 1px ${accent};
|
--nav-btn-active-shadow: inset 0 0 0 1px ${accent};
|
||||||
--nav-btn-len-margin: 2px;
|
|
||||||
--tabs-border-radius: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-color=red] { --color: ${p.base08}; }
|
[data-color=red] { --color: ${p.base08}; }
|
||||||
@@ -30,6 +35,23 @@
|
|||||||
[data-color=purple] { --color: ${p.base0E}; }
|
[data-color=purple] { --color: ${p.base0E}; }
|
||||||
[data-color=pink] { --color: color-mix(in oklab, white 25%, ${p.base0E}); }
|
[data-color=pink] { --color: color-mix(in oklab, white 25%, ${p.base0E}); }
|
||||||
[data-color=gray] { --color: ${p.base04}; }
|
[data-color=gray] { --color: ${p.base04}; }
|
||||||
|
'';
|
||||||
|
in
|
||||||
|
{
|
||||||
|
elars.sidechery.extraCss = ''
|
||||||
|
/* generated from elars.theme.palette / paletteLight */
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
${colors config.elars.theme.palette}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: light) {
|
||||||
|
${colors config.elars.theme.paletteLight}
|
||||||
|
}
|
||||||
|
|
||||||
|
#root.root {
|
||||||
|
--nav-btn-len-margin: 2px;
|
||||||
|
--tabs-border-radius: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
.Tab[data-pin=false] .fav {
|
.Tab[data-pin=false] .fav {
|
||||||
margin: 0 var(--tabs-inner-gap) 0 var(--tabs-inner-gap);
|
margin: 0 var(--tabs-inner-gap) 0 var(--tabs-inner-gap);
|
||||||
|
|||||||
Reference in new issue
Block a user