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

feat(theme-default): adjust the color contrast in dark mode #1447

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/document/docs/en/guide/start/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ At the same time, Rspress internally also applies many other build optimization

In order to ensure the flexibility of content development, Rspress chooses to support the MDX content format.

Because MDX actually represents a componentized content organization method behind it. On the one hand, documents are components, so we can reuse document fragments between different documents. On the other hand, any custom React components can be introduced in the document, greatly releasing the imagination of document development.
MDX represents a method of componentized content organization. In other words, documents serve as components, allowing for the reuse of document fragments across different documents. Additionally, custom React components can be incorporated into documents, significantly enhancing the flexibility of document development.

### Basic Capabilities of Documentation Site

Expand Down
4 changes: 2 additions & 2 deletions packages/theme-default/src/styles/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@
}

.dark {
--rp-c-bg: #23272f;
--rp-c-bg: #191D24;
--rp-c-bg-soft: #292e37;
--rp-c-bg-mute: #343a46;
--rp-c-bg-alt: #000;

--rp-c-divider: rgba(84, 84, 84, 0.65);
--rp-c-divider-light: rgba(84, 84, 84, 0.48);

--rp-c-text-1: rgba(255, 255, 255, 0.87);
--rp-c-text-1: rgba(255, 255, 255, 1);
yuyutaotao marked this conversation as resolved.
Show resolved Hide resolved
--rp-c-text-2: rgba(235, 235, 235, 0.56);
--rp-c-text-3: rgba(235, 235, 235, 0.38);
--rp-c-text-4: rgba(235, 235, 235, 0.18);
Expand Down