Skip to content

Custom Themes

To create your own themes you only need the change the color variables in each theme. You dont need the edit the app-base.css. You can find the theme variables here https://github.com/GilbN/theme.park/tree/master/CSS/variables

You can either fork the repo and setup a Github pages site or clone it to your web server and serve the files that way.

You can't use the raw link from Github as Github doesn't pass the mime types. That's why all my theme urls use the https://theme-park.dev site.


Example

Open the theme css file you want to change and look at the variables available. Copy them to a new file. Remember to also include the @import line.

Info

If you have forked the repo and want to stay up to date with any changes I make, use the https://theme-park.dev URL and not your own!

Add the theme to your service and load the page. If you press F12 and go to the Elements tab and scroll down you should see the variables in the root pseudo-class. Try and disable one of them and you'll see what each variable does.

custom

The --main-bg-color will "always" be the background color. And the --modal-bg-color will "always" be the background for the popup modals.

Info

If you click on the color a color picker will pop up and you can change the color live.

If you add a gradient from one of the links below, remember to not overwrite the center center/cover no-repeat fixed in the variables. Doing so might make the colors look a little wierd on small objects like drop down menus.

custom

When you're done add the theme like you normally would. theme.park Setup


Resources

The links below are some great resources on finding cool gradients.

If you find a particular colored theme you feel should be added to the repo let me know on discord!

https://cssgradient.io/

https://uigradients.com/

https://mycolor.space/gradient

https://www.css-gradient.com/

https://gradienthunt.com/

https://www.gradientmagic.com


Last update: October 25, 2021