Commit graph

30 commits

Author SHA1 Message Date
Alexey Lebedeff
9b61cc39b2
stylix: don't split autoloaded modules into a separate derivation (#631)
Apparently `../modules` is creating a separate derivation that contains
only that folder, so it's now separate from the flake source. But this
transient derivation isn't mentioned explicitly anywhere in the flake
outputs. It makes it impossible to target those modules in
`disabledModules` directive.

For example, after this change is applied, users can solve issues like
https://github.com/danth/stylix/issues/577 locally, by just adding the
following snippet to their configuration:

    disabledModules = [ "${inputs.stylix}/modules/regreet/nixos.nix" ];

Reviewed-by: Daniel Thwaites <danthwaites30@btinternet.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-11-17 17:40:52 +01:00
NAHO
9b5a65b681
doc: extract Commit Convention section (#518) 2024-08-23 20:31:39 +01:00
Gabriel Talbert Bunt
feb2973dfa
doc: specify correct color attribute path (#491)
Colors are accessible under config.lib.stylix.colors, not lib.stylix.colors.

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-07-30 00:21:31 +01:00
Will Bush
6f36b27afd
doc: update tinted-theming repo link (#476)
> The 'base16-schemes' package uses the 'tinted-theming/base16-schemes'
> repository, which has now been archived by the owner in favor of
> 'tinted-theming/schemes'
>
> -- https://github.com/NixOS/nixpkgs/issues/285671
2024-07-20 14:33:22 +02:00
Daniel Thwaites
f060e4059b
stylix: clean up fromOs (#407) 2024-06-11 03:21:04 +02:00
Jalil David Salamé Messina
7682713f6a
stylix: add 'stylix.enable' option (#244)
Add a 'stylix.enable' option to enable or disable all Stylix modules in
order to resolve issues similar to [2].

To align with the default 'lib.mkEnableOption' [1] behavior,
'stylix.enable' defaults to 'false'.

BREAKING CHANGE: Stylix is disabled by default. To enable it, use:

    stylix.enable = true;

[1]: https://github.com/NixOS/nixpkgs/blob/23.11/lib/options.nix#L91-L105
[2]: https://github.com/danth/stylix/issues/216

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
Co-authored-by: Jalil David Salamé Messina <jalil.salame@gmail.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-06-10 11:52:47 +02:00
diniamo
f0ddd45fbe
treewide: change window manager style guide (#414) 2024-06-08 16:17:58 +01:00
Artem
e7543c51ef
doc: fix link for "Installing Home Manager as a NixOS module" (#385)
Co-authored-by: Art <art@MacBook-Pro-Art.local>
2024-05-22 17:39:29 +01:00
Daniel Thwaites
23cbb96638
doc: refresh screenshots (#382) 2024-05-22 16:54:19 +01:00
head-gardener
76e7daf5a1
doc: explain using lib.stylix.colors (#328)
The attrset is used heavily in styllix's modules, but the docs don't contain even a top-level explanation of its value. Though you can gather most it from skimming `base16.nix`, I think stylix should provide an entry point for users, interested in using their color schemes outside of stylix. I base this assumption on personal anecdote of people not having a good understanding of exported values even after extended usage and implementing parallel parsing logic for color scheme files.
2024-05-18 14:01:01 +01:00
NACAMURA Mitsuhiro
f83376bfdc
doc: update NixOS wiki link (#363) 2024-05-11 12:39:19 +01:00
Daniel Thwaites
267cf91e03
doc: add documentation for testbeds (#347)
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-04-22 14:37:29 +01:00
head-gardener
58761b51f8
doc: add mention of lib.stylix.pixel to tricks (#327)
The function implements a fairly popular feature and is pretty old, but never gets mentioned in the docs. In fact, I only found it by randomly going through the sources. As a result, a person I spoke to wrote the section above describing a re-implementation of the function, which does work but doesn't need to be the default approach.

This change will improve discoverability of the codebase and direct users to a more standardized implementation.

P.S. `base16-schemes` changed `catppuccin.yaml` to a couple of variant themes, which is represented in this commit.
2024-04-10 16:46:34 +01:00
Daniel Thwaites
edf739eeb3
doc: change selection background to base02 (#290)
Closes #277. See the issue for more details.
2024-03-18 00:37:44 +00:00
NAHO
1a5dee1957
treewide: remove tailing whitespaces (#228) 2024-01-25 08:45:05 +00:00
Daniel Thwaites
bf31640f49
doc: specify commit message format
I've noticed quite a few pull requests are being submitted with formats
such as feat(abc): or target: at the start of the message.

It will be helpful to have a specific format for this to keep things
consistent.
2024-01-23 21:06:14 +00:00
Daniel Thwaites
5a7f3f15cc
Add guide for creating modules 📝
Closes #101
2023-12-29 20:06:23 +00:00
Ascii Moth
c29f2e6f9d
Add trick with dynamic wallpaper generation (#135) 2023-07-29 09:50:28 +01:00
Mason Dear
0015e56326
Create style guide (#90)
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2023-06-13 19:45:23 +00:00
pancho horrillo
95fd9afebd
Fix module name in docs (#91) 2023-04-24 08:22:25 +00:00
Daniel Thwaites
d2937609ba
Fix typo in installtion docs ✏️ 2023-03-31 19:46:56 +01:00
Daniel Thwaites
ff3ac315ab
Edit colour schemes section in docs 📝
The Tinted Theming repository is now packaged in Nixpkgs, so we
don't need to list other ways to obtain it.

Also simplified the links to the preview as `$XDG_CONFIG_HOME`
is rarely modified.
2023-03-31 19:40:16 +01:00
Daniel Thwaites
a3f9fa981b
Convert documentation to mdBook 📝 🔨 2023-03-29 00:54:14 +01:00
SnIcK
dd7fc590c3
Add FAQ.md (#52)
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2023-03-02 09:49:44 +00:00
Daniel Thwaites
011a1e7cba
Fix link in docs 📝 2023-02-14 14:51:39 +00:00
Daniel Thwaites
c9bf0c8099
Improve documentation about the NixOS/Home Manager split 📝
Related to the discussion in #25
2023-02-14 14:46:41 +00:00
Daniel Thwaites
939669577c
Remove Haddock pages from website 📝
This was more of a developer tool than part of the documentation, so it
makes sense to keep it off the main site. Also when modifying the
palette generator, the documentation on the site would become out of
sync with local changes anyway.
2023-02-13 20:09:56 +00:00
Daniel Thwaites
6fa03db360
Generate documentation for NixOS and Home Manager options 📝 2023-02-04 12:07:06 +00:00
Daniel Thwaites
7794dbe521
Update Coricamu ⬆️ 2022-07-31 14:35:18 +01:00
Daniel Thwaites
0ea346a423
Publish list of NixOS options on GitHub Pages 📝 2022-07-30 15:31:58 +01:00