IT
Size: a a a
IT
IT
IT
IT
l
IT
l
&:hover {
color: var(--нутыпонел)
}
l
l
l
IT
IT
l
MA
B
const appConfig = createStore(null)
const quizColor = appConfig.map(config => {
if (config) return config.quizcolor
return null
})
const Button = styled.button`
color: var(--quizColor, currentColor);
`
const Panel = () => (
<div style={{'--quizColor': useStore(quizColor)}}>
<Button>close panel</Button>
</div>
)
l
B
MA
MA
l