Components
Contrast Theme
Optional Component that allows users with visual impairments to customize the theme
Description
To render the Theme Toggle component, simply pass the contrast prop to the Svelvet component. This will generate a select menu offering 8 preset themes tailored for individuals with diverse visual conditions, featuring common color combinations. Additionally, the component includes a custom option, empowering users to tailor the theme according to their specific requirements.
When passing the component to Svelvet, you must specify slot=“contrast”
Color of background.
Color of text.
Color of node.
Color of edge.