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

CSP import url should un-capitalise the theme and the accent names. #362

Open
DNM1008 opened this issue Dec 29, 2024 · 0 comments
Open

CSP import url should un-capitalise the theme and the accent names. #362

DNM1008 opened this issue Dec 29, 2024 · 0 comments

Comments

@DNM1008
Copy link

DNM1008 commented Dec 29, 2024

The line to import catppuccin Stylus is as follows:

@import url("https://catppuccin.github.io/discord/dist/catppuccin-" + theme + "-" + accent + ".theme.css") */
Because the settings for the style has the first letters capitalised ("Macchiato" and "Flamingo" in my case), it fails to load the theme. However, if I manually change the url to "https://catppuccin.github.io/discord/dist/catppuccin-" +"macchiato"+ "-" +"flamingo"+ ".theme.css" (or just make it 1 string), the theme loads just fine.

I see that there are var selection above, but there must be something wrong with it, so I don't know.

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

1 participant