remember Dracula Dark Theme
Creates and remembers the built-in Dracula (dark) HighlightTheme.
For years, the Dracula team heard the same question: "Are you going to create a light color scheme?" The answer always was: "Nope. Dracula can't stand the light." But accessibility requires light mode support, leading to the creation of the Alucard light theme.
Dracula and rememberAlucardLightTheme are designed to go together as a perfect dark/light pair.
Backed by a precompiled color map generated at build time, so no CSS parsing happens at runtime and no android.content.Context is needed.
HighlightThemeProvider(
lightHighlightTheme = rememberAlucardLightTheme(),
darkHighlightTheme = rememberDraculaDarkTheme(),
) { ... }Content copied to clipboard
Return
A stable HighlightTheme instance remembered across recompositions.