Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Tool/Puccinier: Detect non-Catppuccin colours #2

Closed
Gingeh opened this issue Jun 9, 2022 · 2 comments
Closed

New Tool/Puccinier: Detect non-Catppuccin colours #2

Gingeh opened this issue Jun 9, 2022 · 2 comments

Comments

@Gingeh
Copy link

Gingeh commented Jun 9, 2022

To aid with creating themes, it would be useful to have a tool that detects non-Catppuccin colours.

  • Show the line and line number containing the detected colours.
  • Optionally suggest the closest colour in each variant?

This could either be added to puccinier, or made into a separate tool.

@nekowinston
Copy link
Contributor

I'm just going through open issues at the moment, this piqued my interest;
I guess it'd be something like a catppuccin-lint?

The trouble is, that themes like neovim would possibly show some errors, since they mix colours. And my perception is, that neovim has always been something of an authoritative repo regarding our whole style guide.
The linked example wouldn't show warnings, since two palette colours are mixed; but it might be a concern with preprocessors like scss.

Regarding suggestions for the closest match: In my build script for Catppuccin Blender, I'm already doing this in pure JS:
https://github.com/nekowinston/ctp-blender/blob/ee1ed891161a21f39e730de117aad9602908c85b/convert.cjs#L65-L77

I can definitely see the value of a tool like it!

@nekowinston
Copy link
Contributor

Closing because of #66

@nekowinston nekowinston closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants