akiran / akiran/react-highlight

Dark mode

Offen
#84 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
761
Forks
82
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I need to use a different syntax stylesheet in dark vs light mode. How can I achieve this? As far as I can tell, it's not possible? If so this seems like important missing functionality??

The way to do this using highlight is hacky - switching link tags - and is essentially impossible to arrange with a bundler. It would be great if there was an easy way to scope the css to a tag for instance...

Thanks

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.