diff --git a/flake-modules/colors.json b/flake-modules/colors.json index 2723ac7..d4e8eee 100644 --- a/flake-modules/colors.json +++ b/flake-modules/colors.json @@ -27,15 +27,15 @@ }, "NxNORTH": { "base": { - "foreground": "#d7e3f3", - "background": "#050b13" + "foreground": "#dbe7ef", + "background": "#070d11" }, "to_alter": { - "accent": "#6291cf", - "secondary": "#5f5fd2", - "tertiary": "#999999", - "special": "#cf9f61", - "weird": "#c461cf" + "accent": "#72a2bf", + "secondary": "#fc3535", + "tertiary": "#83ae8a", + "special": "#bf8f71", + "weird": "#a871bf" } }, "NxDCS": { diff --git a/home-modules/calendar.nix b/home-modules/calendar.nix index 612c86b..5a56748 100644 --- a/home-modules/calendar.nix +++ b/home-modules/calendar.nix @@ -2,27 +2,29 @@ v = "nxc"; user = "lennart"; domain = hyper.domain; - calendars = [ + calendars = let + bs = "https://n.${domain}/remote.php/dav/calendars/lennart"; + in [ { name = "Preservation"; primary = true; - url = "https://${v}.${domain}/${user}/calendars/preservation/"; + url = "${bs}/preservation/"; color = "#dddddd"; } { name = "Effort"; - url = "https://${v}.${domain}/${user}/calendars/effort/"; + url = "${bs}/effort/"; color = "#dd2222"; } { name = "Experience"; - url = "https://${v}.${domain}/${user}/calendars/experience/"; + url = "${bs}/experience/"; color = "#2222dd"; } { name = "Leisure"; # name = "Exposure"; - url = "https://${v}.${domain}/${user}/calendars/leisure/"; + url = "${bs}/leisure/"; # url = "https://${v}.${domain}/${user}/exposure/"; color = "#22aa22"; } @@ -32,11 +34,11 @@ # color = "#8800CC"; # } # { - { - name = "Family"; - url = "https://${v}.${domain}/shared/calendars/family/"; - color = "#dddd22"; - } + # { + # name = "Family"; + # url = "${bs}/family/"; + # color = "#dddd22"; + # } { name = "Sleep as Android"; url = secrets.calendar.sleep-as-android-url; @@ -79,7 +81,7 @@ in { inherit primary; remote = { inherit url name; - userName = hyper.user; # my globally set username + userName = user; }; }; in lib.attrsets.mergeAttrsList ( diff --git a/home-modules/firefox/userContent.nix b/home-modules/firefox/userContent.nix index 97e85c4..99e9de1 100644 --- a/home-modules/firefox/userContent.nix +++ b/home-modules/firefox/userContent.nix @@ -20,7 +20,7 @@ in /* css */ '' /* new-tab */ @-moz-document url-prefix(about:home), url-prefix(about:newtab) { - :root{ + :root { --newtab-background-color-secondary: rgba(${f background},0.5) !important; } body, html { @@ -31,6 +31,29 @@ in /* css */ '' } } + @-moz-document url-prefix("https://n.nx2.site/") { + :root, [data-theme-dark] { + --color-main-background: #00000055; + --color-main-background-rgb: 0,0,0; + --color-primary-element-light: #550000; + } + .app-navigation, .app-content { + background: rgba(0,0,0,0.8) !important; + backdrop-filter: blur(5px) !important; + } + .files-list__row-head, .files-list__tfoot { + background: rgba(0,0,0,0.5) !important; + } + .fc-day-today { + background: #ff000055 !important; + } + .files-list__thead { + background: transparent !important; + } + } + + + @-moz-document domain(reddit.com) { header { background-color: rgba(${f background},${builtins.toString rice.transparency}) !important; @@ -231,6 +254,7 @@ in /* css */ '' border: ${toString rice.border-width}px solid ${border} !important; } } + '' # @-moz-document domain(chatgpt.com) { # body, html , .bg-token-sidebar-surface-primary {