Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

knoopx/nix-userstyles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-userstyles

DEPCREATED: started mantaining my own styles at https://github.com/knoopx/userContent.css

This module exports a nix function to generate userstyles for popular websites using your own color palette.

nix-userstyles

Usage

{nix-userstyles, ...}: let
  # https://github.com/SenchoPens/base16.nix/blob/main/DOCUMENTATION.md#mkschemeattrs
  # https://github.com/tinted-theming/schemes
  nix-colors = builtins.getFlake "github:misterio77/nix-colors";
  palette = nix-colors.outputs.colorSchemes.dracula.palette;
  # https://github.com/catppuccin/userstyles/tree/main/styles
  userStyles = [
    "brave-search"
    "bsky"
    "chatgpt"
    "cinny"
    "duckduckgo"
    "github"
    "google"
    "hacker-news"
    "lobste.rs"
    "nixos-*"
    "npm"
    "ollama"
    "perplexity"
    "reddit"
    "spotify-web"
    "stack-overflow"
    "whatsapp-web"
    "wikipedia"
    "youtube"
  ]
in {
  # no additional extensions needed, just add the userstyles to your firefox profile userContent
  programs.firefox.profiles.yourprofile.userContent = ''
    ${builtins.readFile "${nix-userstyles.packages.${pkgs.system}.mkUserStyles palette userStyles}"}
  '';
}

Credits

About

Catppuccin and some other custom userstyles for popular websites

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors