You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a new issue to track the improvements to the CSS styling system. This will likely be a major version bump on its own eventually, but first we can see if there's a way we can deprecate existing style vars for a while before we remove them in a major bump.
Prefix all Docsify CSS variables with --docsify-. For example, --theme-color should be --docsify-theme-color, or even better --docsify-accent-color.
Deprecate old variables, but keep them around for back compat for a while.
We can, for example, map a new --docsify-accent-color variable to the existing --theme-color once we deprecate it, then eventually we remove --theme-color and use --docsify-accent-color directly.
We can write a script that checks style sheets for deprecated variables, and warns in console.
This is a new issue to track the improvements to the CSS styling system. This will likely be a major version bump on its own eventually, but first we can see if there's a way we can deprecate existing style vars for a while before we remove them in a major bump.
--docsify-
. For example,--theme-color
should be--docsify-theme-color
, or even better--docsify-accent-color
.--docsify-accent-color
variable to the existing--theme-color
once we deprecate it, then eventually we remove--theme-color
and use--docsify-accent-color
directly.The text was updated successfully, but these errors were encountered: