TheComputerM / svelte-materialify

A Material UI Design Component library for Svelte heavily inspired by vuetify.
https://svelte-materialify.vercel.app
MIT License
621 stars 84 forks source link

Custom themes #220

Open ehsanonline opened 3 years ago

ehsanonline commented 3 years ago

Is it possible to create custom themes with .scss files in theme folder and use the theme variable for changing to those?

bato3 commented 3 years ago

See: https://github.com/TheComputerM/svelte-materialify/issues/102 , colors create in theme.scss and the occurrences of $material-dark-theme.

BTW: I don't know if a better solution would not be just to change the colors for light / dark.

ehsanonline commented 3 years ago

Thanks. I'm thinkg about making sepia theme. the ability to add new values to theme variable and point it to a .scss file. can be dynamic too, like sepia.scss automatically active the file as theme when theme='sepia'.