'is it possible to change bulma's classes color atribute based on a hex value inserted by user?
I need to create a totally customizable react app, so i want the user to choose the color the aplication will use, then from code I need to edit bulma's framework classes to set the color the user wants to see in the app. I have been reading about sass, but i'm not sure.
const [color, setColor] = useState("#b32aa9");//color must be saved in database
return (
<div className="App">
<HexColorPicker color={color} onChange={setColor}/>
<input type="text" value={color} readOnly/> const [color, setColor] = useState("#b32aa9");
return (
<div className="App">
<HexColorPicker color={color} onChange={setColor}/>
<input type="text" value={color} readOnly/>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
