Skip to content

Conversation

@isoos
Copy link
Collaborator

@isoos isoos commented Nov 6, 2024

This has been broken on dartdoc pages for a while, because the dark-mode switch sets the class attribute unconditionally:
https://github.com/dart-lang/dartdoc/blob/main/web/theme.dart#L24

Instead of using a class, we can use a data attribute.

Also updating the sass deprecated @import use as in #8161.

@isoos isoos requested review from jonasfj and sigurdm November 6, 2024 14:54
@isoos isoos merged commit b28c3e0 into dart-lang:master Nov 7, 2024
32 checks passed
@isoos isoos deleted the staging-ribbon branch November 7, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants