Is Custom Styles Overriding Still Available?
Closed this issue · 2 comments
KrLite commented
I wanted to override some default provided css styles (mainly the accent color like --vp-c-brand-X
), but end up failing after these tries:
- Using a
index.scss
file at/docs/.vuepress/styles/index.scss
as mentioned here (this document contains broken links). - Using a
palette.scss
file at/docs/.vuepress/styles/palette.scss
. - Using a
palette.styl
file at/docs/.vuepress/styles/palette.styl
as in VuePress 1. - Using something similar to a
custom.css
file used in a regular Vue (Vite) app.
I wonder if the ability to introduce custom styles globally still available, and if there's a document I can refer to.
pengzhanbo commented
I am sorry for the errors and omissions in this section of the document. I have now updated the document, and you can refer to the new document for a custom style.
KrLite commented
I am sorry for the errors and omissions in this section of the document. I have now updated the document, and you can refer to the new document for a custom style.
Thanks for the quick response! The new document solves the problem.