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

[Feature request] Dynamically color change of the level-2 headings border #190

Closed
onedonedone opened this issue Jun 1, 2024 · 0 comments
Labels
bug Something isn't working package:theme-default

Comments

@onedonedone
Copy link

onedonedone commented Jun 1, 2024

Feature request

Description

Level-2 headings border flashs when changing colors since the transition time is not consistent with the background.

Heading.mp4

Suggested solution

Since the transition style of body and code elements are set in src/client/styles/normalize.scss, I think it might be proper to add here.

// normalize.scss
...
h2 {
  border-color: var(--c-border);
  transition: border-color var(--t-color);
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package:theme-default
Projects
None yet
Development

No branches or pull requests

2 participants