nav-hoykontrast
v2.1.2
Published
NAV dark mode / high contrast theme
Downloads
111
Readme
NAV styled components theme
This package:
. overrides --navds values for high contrast mode . toggles dynamically between high contrast / normal mode
How to use it
import NavHighContrast from 'nav-hoykontrast'
import styled from 'styled-components'
const highContrast : boolean = true
<NavHighContrast highContrast={highContrast}>
{your components go here}
</NavHighContrast>
Demo
https://navikt.github.io/nav-hoykontrast/build/