Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add theme 13 for the calculator #88

Open
alanboy opened this issue Feb 28, 2020 · 0 comments
Open

Add theme 13 for the calculator #88

alanboy opened this issue Feb 28, 2020 · 0 comments
Labels

Comments

@alanboy
Copy link
Collaborator

alanboy commented Feb 28, 2020

Requirement: Create a new template

Open calculators.js find line 273 and find this code:

    // TODO: Add theme 13 - To fix this:
    //   - Change "theme name" to a catchy name (use your name or alias)
    //   - Change the colors blue and red with colors of your choice.
    //   - Uncomment the call to addOption (remove the `//`)
    // addOption("theme name", "linear-gradient(blue, red)", "red", "red");

As the comment suggests:

  • Change the theme name to something meaningful
  • Change the colors to those of your liking

Final result should look like this:

    // TODO: Add theme 13 - To fix this:
    //   - Change "theme name" to a catchy name (use your name or alias)
    //   - Change the colors blue and red with colors of your choice.
    //   - Uncomment the call to addOption (remove the `//`)
    addOption("alango theme", "linear-gradient(red, green)", "blue", "white");
@alanboy alanboy added the easy label Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant