-
Notifications
You must be signed in to change notification settings - Fork 19
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
feat: add guidelines #139
base: main
Are you sure you want to change the base?
feat: add guidelines #139
Conversation
@pengzhanbo Need help with the color part. I don't like the For example:
You can complete the guidelines, and I will sync the default-theme (classic theme) |
Pull Request Test Coverage Report for Build 9313848204Details
💛 - Coveralls |
OK, I am organizing the content. |
The comment plugin still needs an update, probably after adding a The synDarkMode should be like this: syncDarkmode(document.documentElement, 'class', { light: '', dark: 'dark' });
syncDarkmode(document.body, 'id', { light: 'light', dark: 'dark' }); It would be helpful if we force the community to use a specific darkmode selector, and provide a "Sync helper" to sync the darkmode state with other light/dark dom combinations in case some component library or other packages are requiring different ones. |
Colors: PaletteThe primitive colors used for accent colors. These colors are referenced by functional colors such as "Text", "Background", or "Brand". Each colors have exact same color scale system with 3 levels of solid colors with different brightness, and 1 soft color.
For Example: --vp-c-gray: #dddde3;
--vp-c-gray-hover: #e4e4e9;
--vp-c-gray-bg: #ebebef;
--vp-c-gray-soft: rgba(142, 150, 170, 0.14); Colors: Background
For Example: --vp-c-bg: #ffffff;
--vp-c-bg-alt: #f6f6f7;
--vp-c-bg-elv: #ffffff;
--vp-c-bg-soft: #f6f6f7; Colors: Borders
For Example: --vp-c-border: #c2c2c4;
--vp-c-divider: #e2e2e3;
--vp-c-gutter: #e2e2e3; Colors: Text
For Example: --vp-c-text-primary: rgba(60, 60, 67);
--vp-c-text-mute: rgba(60, 60, 67, 0.78);
--vp-c-text-subtle: rgba(60, 60, 67, 0.56); |
No description provided.