{pkgs, ...}:
{
    stylix = {
        # Stylix is already enabled since the system is configured to use it
        # enable = true;
        # don't theme applications by default
        autoEnable = false;

        cursor = {
            package = pkgs.apple-cursor;
            name = "macOS";
            size = 32;
        };

        iconTheme = {
            enable = true;
            package = pkgs.tela-icon-theme;
        };


        image = ./../../wallpapers/magicpattern-87PP9Zd7MNo-unsplash.jpg;


        fonts = {

            serif = {
                package = pkgs.dejavu_fonts;
                name = "DejaVu Serif";
            };

            sansSerif = {
                package = pkgs.dejavu_fonts;
                name = "DejaVu Sans";
            };

            monospace = {
                package = pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; };
                name = "FiraCode Nerd Font Mono";
            };

            emoji = {
                package = pkgs.noto-fonts-emoji;
                name = "Noto Color Emoji";
            };

            sizes = {
                applications = 14;
                desktop = 14;
                popups = 12;
                terminal = 14;
            };
        };

        opacity = {
            applications = 1.0;
            desktop = 1.0;
            popups = 0.9;
            terminal = 0.8;
        };
    };

    stylix.base16Scheme = {
        scheme = "onelight";
        author = "https://github.com/one-dark";
        base00 = "#fafafa";
        base01 = "#f4f4f4";
        base02 = "#e5e5e6";
        base03 = "#dfdfe0";
        base04 = "#d7d7d8";
        base05 = "#383a42";
        base06 = "#202227";
        base07 = "#090a0b";
        base08 = "#d84a3d";
        base09 = "#a626a4";
        base0A = "#c18401";
        base0B = "#50a14f";
        base0C = "#0070a8";
        base0D = "#4078f2";
        base0E = "#a626a4";
        base0F = "#986801";

    };

    stylix.targets = {
        hyprpaper.enable = true;
        hyprlock.enable = true;
        wofi.enable = true;

        # disabled because they overwrite too many settings
        # vscode.enable = true;
        # waybar.enable = true;
        # kitty.enable = true;

    };
}
