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: allow configuring light theme codeblocks #2200

Closed
wants to merge 3 commits into from

Conversation

userquin
Copy link
Collaborator

@userquin userquin commented Apr 7, 2023

I need to check some weird behavior in code copy styles, the left block sometimes scrolls 1 or 2 pixels up.

Right now, this PR using github-light Shiki theme for light theme.

There are 3 TODO we should review:

  • node/config.ts: we also need to handle when configuring only 1 appareance
  • docs/reference/site-config.md: if we change Shiki light theme, update also the docs
  • docs/.vitepress/config.ts: remove preserveCodeAppearance: true configuration

We should also review code colors (vars.css).

@brc-dd brc-dd self-assigned this Apr 15, 2023
@brc-dd brc-dd closed this in #2319 Apr 30, 2023
@userquin userquin deleted the feat-light-theme-on-code-blocks branch April 30, 2023 08:12
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants