Commit graph

434 commits

Author SHA1 Message Date
awwpotato
31fdf60634
stylix: disallow nixpkgs aliases in testbeds (#1124) 2025-04-09 12:08:31 +01:00
awwpotato
c8bc1c1d9e
treewide: remove use of multiple with statements (#1085) 2025-04-08 23:22:18 +01:00
Flameopathic
a2f8840bed
hyprland: disable default wallpaper when hyprpaper is enabled (#1120)
Co-authored-by: awwpotato <153149335+awwpotato@users.noreply.github.com>

Closes: https://github.com/danth/stylix/issues/1119
2025-04-08 15:50:43 +00:00
pancho horrillo
f98c2c42b2
mpv: unset OSD font size (#1097)
Closes: https://github.com/danth/stylix/issues/1096
Link: https://github.com/danth/stylix/pull/1097

Reviewed-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-04-06 19:53:03 +02:00
Flameopathic
84f0afbefa
bspwm: add testbed (#1104) 2025-04-05 20:53:14 +00:00
Flameopathic
8865a737ce
bat: add testbed (#1095) 2025-04-05 21:08:16 +01:00
Ontonator
3a6985718a
swaylock: align colors better with style guide (#1099) 2025-04-05 11:20:09 -07:00
awwpotato
581fa67c81
stylix: guard entire overlay declarations (#1088)
Closes: https://github.com/danth/stylix/issues/865
Link: https://github.com/danth/stylix/pull/1088

Tested-by: https://github.com/PedroHLC
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-04-04 16:10:55 +02:00
awwpotato
a214b330e5
mpv: unset subtitle font size (#1090)
Closes: https://github.com/danth/stylix/issues/1089
Link: https://github.com/danth/stylix/pull/1090

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-04-04 16:02:53 +02:00
skoove
9ef806283b
discord: fix template for new ui redesign (#1063) 2025-04-04 14:04:22 +01:00
1444
f32b1c0875
wayfire: fix broken wallpaper option (#1087) 2025-04-03 10:36:11 -07:00
Daniel Thwaites
54721996d6
doc: add links between NVF, Neovim, Nixvim, and Vim pages (#1040)
Link: https://github.com/danth/stylix/pull/1040

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-04-01 10:32:01 +02:00
awwpotato
1a2f1af9f9
discord: add extraCss option (#1058) 2025-03-31 10:40:33 -07:00
awwpotato
eb19696b18
stylix: add overlay module (#1048)
Closes: https://github.com/danth/stylix/issues/865
Link: https://github.com/danth/stylix/pull/1048

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-31 17:36:36 +00:00
Daniel Thwaites
c546582bae
bat: add copyright notice (#1070) 2025-03-31 16:17:16 +01:00
hetraeus
0323253b3e
mpv: init mpvScripts.modernz (#1067)
A pleasant mpv UI alternative
2025-03-29 11:21:44 -07:00
Flameopathic
d9df91c556
vscode: theme default profile by default (#1015) 2025-03-23 18:12:42 +00:00
Daniel Thwaites
a55488c247
doc: reduce overuse of alerts (#1041)
Using too many "info" and "warning" boxes makes them less effective when
they're needed to draw attention to something genuinely important.

This commit adds important boxes to modules which require an external
module to be imported, similar to the box already used on the "Firefox and
derivatives" page.

It changes the warning when a module has no maintainers to a regular
paragraph.

The note about `stylix.enable` being new is removed, since this has been
around for a while now.
2025-03-23 13:25:15 +00:00
Flameopathic
113643f332
doc: add note for user-imported modules (#1039)
Adds basic documentation to every Stylix module which requires a
user-imported module to function.

Intended to prevent issues like #1033
2025-03-21 21:11:03 +00:00
awwpotato
07c4f39b5b
halloy: add copyright notice (#1035)
fixes #1034
2025-03-20 16:02:49 +00:00
awwpotato
f122d70925
avizo: hotfix aviOpcaity missing (#1023)
Closes: https://github.com/danth/stylix/issues/1018
Fixes: ff9ae322bc ("treewide: clean up `with` and stuff (#975)")
Link: https://github.com/danth/stylix/pull/1023

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-19 23:14:04 +01:00
Chet Luther
41a773fb0f
k9s: tweak color assignment to style guide (#999)
I found that there were some color choices in the k9s module that
weren't aligned with the style guide. Most notably this resulted in
healthy resources being displayed in red while unhealthy resources were
blue.

I tried not to make any subjective changes to the original module
because overall, it was very well done, and there's no right answer when
it comes to things aren't covered by the style guide. In some cases
where the style guide doesn't help, I looked at other modules for
answers.

These are the changes, and the reason for them.

1. prompt.bgColor from base00 to "default" for transparency to shell
   background.
2. prompt.suggestColor from base0A to base02 because base02 is used as
   fish_color_autosuggestion in base16-fish via the fish module.
3. dialog.bgColor from "default" to base01 because the style guide says
   base01 is for alternate background, and that's what this is.
4. dialog.buttonBgColor from base0C to base02 because base0C resulted in
   white on bright and made button text illegible. Using base02 allows
   the not-selected button background to still be raised off the base01
   background.
5. dialog.buttonFocusFgColor from base0E to base11 because there was
   another light-on-light issue here that made the focused button text
   illegible. This change keeps the base0B background color, but uses
   the darkest possible foreground text to be legible.
6. frame.crumbs.activeColor from base01 to base02 because the style
   guide says base02 should be used for selection background. This
   creates a small distinction between the active crumb and the others
   that didn't previously exist.
7. frame.yaml.(keyColor|colonColor|valueColor) are changed to match yaml
   syntax highlighting from other modules such as bat.
8. frame.logs.indicator.bgColor from base0C to "default" to fix another
   very low contrast problem of having base05 text on a base0C
   background.
9. frame.logs.indicator.toggle(On|Off)Color weren't set before, so I
   made them base0B and base04 because base0B is customarily green or an
   "on" color, and base04 is the alternate text color.

In the frame.status section I changed newColor, modifyColor, addColor,
and errorColor. I left highlightColor, killColor, and completedColor as
they were.

1. newColor is the color of all resources in a normal state. I chose
   base0C as a neutral color for this. Anything would have been better
   than the base08 (typically red) that it was.
2. modifyColor is the color of a resource when it's in some
   transitioning state. I could have made this base09 or base0A, but
   given that base0A is used for many other things I went with base09.
3. addColor is the color of a resource when it first appears. Using
   base0C (typically green) is customary for something like this. It had
   been base09 (typically orange) which has the opposite meaning.
4. errorColor is given to resources in an error state. This is the
   perfect place to use base08 according to the style guide.

Link: https://github.com/danth/stylix/pull/999

Reviewed-by: Marc Jakobi <mrcjkb89@outlook.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-19 23:07:57 +01:00
Flameopathic
603fe2dc79
treewide: add Flameopathic as maintainer (#1026) 2025-03-19 22:15:27 +01:00
Mateus Auler
ccb411c5db
mpv: set background to black (#1008)
Link: https://github.com/danth/stylix/pull/1008

Reviewed-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-19 18:52:09 +01:00
Chet Luther
968f13d470
starship: init (#995)
Closes: https://github.com/danth/stylix/issues/301
Link: https://github.com/danth/stylix/pull/995

Reviewed-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-19 18:37:25 +01:00
awwpotato
6e9927413f
stylix: add editorconfig-checker pre-commit hook (#1006)
Add editorconfig-checker pre-commit hook, following commits 7fc0a8716e
("stylix: add editorconfig (#945)") and 489833b201 ("treewide: give
mustache files correct file extensions (#946)").

Link: https://github.com/danth/stylix/pull/1006

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-19 18:33:54 +01:00
Daniel Thwaites
0c4ec73df6
firefox: improve option descriptions for extensions (#998)
- Made the descriptions of `colorTheme.enable` and
  `firefoxGnomeTheme.enable` specify which Firefox derivative they apply
  to, to clarify that these options are specific to each derivative.

- Switched from `mkEnableTarget` to `mkEnableOption`, as these options
  are not strictly targets: they enable additional programs. This also
  changes the option description slightly.

- Removed the multi-line string as this was adding whitespace where it's
  not needed, due to the trailing newline.

Link: https://github.com/danth/stylix/pull/998

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-19 18:10:24 +01:00
awwpotato
ff9ae322bc
treewide: clean up with and stuff (#975)
Fixes #973
2025-03-18 12:10:02 +00:00
awwpotato
e43eb4e2a7
stylix: init module maintainers framework (#977)
Initialize module maintainers framework to streamline the future
population of module maintainers [1].

[1]: https://github.com/danth/stylix/issues/275

Link: https://github.com/danth/stylix/pull/977

Reviewed-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-14 19:29:51 +01:00
Flameopathic
6a2e525887
stylix: optionalize cursor and disable by default (#943)
Closes: https://github.com/danth/stylix/issues/940
Link: https://github.com/danth/stylix/pull/943

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-03-14 14:48:06 +01:00
Daniel Thwaites
5053a63c87
vscode: convert template to Nix and refactor module (#990) 2025-03-13 15:46:07 +00:00
Daniel Thwaites
51161f1191
vscode: set profile name in testbed (#980)
Previously, the theme was not enabled in the testbed because there were
no existing profiles.
2025-03-13 15:45:32 +00:00
Daniel Thwaites
1873bc8acd
vscode: apply new update script
Applied the new alphabetical ordering, and set newly added options to
null. I will follow this up later by giving values to those options.
2025-03-12 17:36:22 +00:00
Daniel Thwaites
c5558f7de9
vscode: convert template to Nix and refactor module
Benefits:

- No need to run Mustache, so better performance
- Allows the code to be linted and formatted
- Generated file is minified
- Can use arbitrary variables to name colors and group settings
  (although this is not implemented)

Drawbacks:

- Update script is more complex

I opted to change the sorting to alphabetical order because it's
easier to implement in the update script. The script prints a list
of added and removed options, so ordering to match the upstream
documentation is not necessary.
2025-03-12 17:36:02 +00:00
MorganTL
e28bd4de28
glance: fix RGB to HSL conversion (#932)
Link: https://github.com/danth/stylix/pull/932

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-03-11 22:59:10 +01:00
Daniel Thwaites
599d5a5eca
vscode: use base01 for title bar (#979)
VSCode on Linux now uses a custom title bar by default.

This should be colored in base01 to match our theming of GTK title bars
(although this is not explicitly mentioned in the style guide).

Link: https://github.com/danth/stylix/pull/979

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-11 22:54:27 +01:00
bricked
e3233ead63
stylix: init droid (#778)
stylix: init nixOnDroidModules.stylix module to support Nix-on-Droid

Closes: https://github.com/danth/stylix/issues/775
Link: https://github.com/danth/stylix/pull/778

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
2025-03-11 16:10:23 +01:00
Flameopathic
6b5afdbb3e
{firefox,floorp,librewolf}: add profile warning (#963)
Add warning for Firefox derivations without declared profiles, aligning with
commit 4853879264 ("vscode: support arbitrary profiles (#914)").

Link: https://github.com/danth/stylix/pull/963

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-10 20:36:30 +01:00
lanovets
9388f64ebe
river: add cursor size and background color (#968)
Respected the cursor size set in stylix and added a background color
because the Hyprland module includes one
2025-03-10 16:03:19 +00:00
awwpotato
a742ba739b
waybar: add font option and change default to monospace (#972)
Add font option and change its default to monospace, and reduce the
scope of the 'with' keyword.

Closes: https://github.com/danth/stylix/issues/956
Link: https://github.com/danth/stylix/pull/972

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-10 16:55:50 +01:00
awwpotato
6c42dc31ef
mpv: init (#949)
Closes: https://github.com/danth/stylix/issues/185
Closes: https://github.com/danth/stylix/issues/186
Link: https://github.com/danth/stylix/pull/949

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-10 15:24:10 +01:00
Guilhem Saurel
6a7d563370
vim: fix incorrect input path (#976)
Follows #926
2025-03-10 14:13:49 +00:00
Flameopathic
2c20aed3b3
qt: autoenable hm module only on NixOS (#942)
Link: https://github.com/danth/stylix/pull/942

Reviewed-by: Kilian Mio <86004375+Mikilio@users.noreply.github.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-10 14:29:06 +01:00
Flameopathic
3fce9fb038
treewide: propagate inputs and remove templates (#926)
Closes: https://github.com/danth/stylix/issues/238
Link: https://github.com/danth/stylix/pull/926

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-09 15:46:36 +01:00
awwpotato
6eea250b10
dunst: fix opacity rounding (#965)
Link: https://github.com/danth/stylix/pull/965

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-08 01:07:57 +01:00
awwpotato
74f1ac55d3
fnott: init (#948)
Closes: https://github.com/danth/stylix/issues/556
Link: https://github.com/danth/stylix/pull/948

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-07 21:00:40 +01:00
Adam M. Szalkowski
6fada03cd5
nvf: init (#939)
Link: https://github.com/danth/stylix/pull/939

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-07 09:22:25 +01:00
Flameopathic
4853879264
vscode: support arbitrary profiles (#914)
vscode: support arbitrary profiles

The VSCode theme is no longer only applied to any profiles by default.

Closes: https://github.com/danth/stylix/issues/908
Link: https://github.com/danth/stylix/pull/914

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-07 09:18:46 +01:00
awwpotato
1178051794
ncspot: match style guide better and add transparent bg (#938)
Link: https://github.com/danth/stylix/pull/938

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-04 19:14:47 +01:00
awwpotato
afee64f3c5
rio: add emoji font family and convert font size to pixel unit (#937)
Closes: https://github.com/danth/stylix/issues/936

Tested-by: https://github.com/NovaViper
Approved-by: https://github.com/NovaViper
Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Tested-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-03-04 18:56:55 +01:00