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

where am I supposed to put the notices.css when creating a custom theme? #18

Open
anakuron opened this issue Jan 6, 2021 · 1 comment

Comments

@anakuron
Copy link

anakuron commented Jan 6, 2021

I'm trying to add custom colors to the notices and I'm able to add a new color theme with the markdown-notices.yaml in the user/configs/plugins/ folder

but where am I supposed to add the copy of notices.css?

I tried to put it in the same folder as the markdown-notices.yaml and also created an assets directory in the same folder and tried to put it there, but it is still using the CSS from user/plugins/markdown-notices/assets/notices.css and not from the config folder

there is an option to disable the Use built-in CSS and I can place the css file in the themes scss folder to make it work, but is this the recommended way to do it?

@jleaders
Copy link

jleaders commented Oct 27, 2021

What's the drawback of doing it that way? I am assuming you're also changing the look of it otherwise one would want to continue using the built in CSS

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