Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
7
Comments
1
SaturnExtreme
@saturnextreme

All comments

  • SaturnExtreme•120
    @saturnextreme
    Submitted about 2 years ago

    React Calculator

    2
    SaturnExtreme•120
    @saturnextreme
    Posted about 2 years ago

    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.

Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub