SaturnExtreme• 120
@saturnextreme
Submitted
Looking to hire developers?
@saturnextreme
@saturnextreme
Submitted
@saturnextreme
Posted
Can anyone tell me how can I change the theme in my calculator code.In my code I wrote every style in sass variables and was thinking about changing sass variables through react but it wasn't working.
sass
$bg-color: rgb(0, 41, 65);
$simple-btn-color: hsla(0, 0, 90, 100%);
$simple-btn-color-hover: hsla(0, 0, 90, 80%);
$eq-btn-color: hsla(0, 70, 64, 100%);
$er-btn-color: hsla(205, 42, 49, 100%);
$er-btn-color-hover: hsla(205, 42, 49, 80%);
$sc-color: rgb(1, 7, 54);
$txt-color: hsl(41, 100%, 44%);
Link to Repository.