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

fix: docs & portal not parse :--dark-context-safe #388

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

wesleyboar
Copy link
Member

Overview

Avoid console error caused by :--dark-context-safe unprocessed in the CSS:

[Deprecation] Custom state pseudo classes have been changed from ":--dark-context-safe" to ":state(dark-context-safe)". See more here: <URL>

Related

Changes

  • added definition for :--dark-context-safe in docs and portal

Testing & UI

Skipped. Verify error does not occur in console about :--dark-context-safe.

The result is `:--dark-context-safe` ends up in CSS & causes ugly error:

```
[Deprecation] Custom state pseudo classes have been changed from ":--dark-context-safe" to ":state(dark-context-safe)". See more here: <URL>
```
@wesleyboar wesleyboar changed the title fix: docs & portal not parse :--dark-context-safe fix: docs & portal not parse :--dark-context-safe Sep 5, 2024
@github-actions github-actions bot added the fix Fixes user-facing behavior or feature label Sep 5, 2024
@wesleyboar wesleyboar added patch A backward-compatible fix fix Fixes user-facing behavior or feature and removed fix Fixes user-facing behavior or feature labels Sep 5, 2024
@wesleyboar wesleyboar merged commit 504154c into main Sep 5, 2024
6 of 9 checks passed
@wesleyboar wesleyboar deleted the fix/dark-context-safe-unparsed-by-docs-and-portal branch September 5, 2024 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Fixes user-facing behavior or feature patch A backward-compatible fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant