Skip to content

CSS code snippet – How to change the theme of a website ?

.theme-light {   --color-primary: #0060df;   --color-secondary: #fbfbfe;   --color-accent: #fd6f53;   --font-color: #000000;}.theme-dark {   --color-primary: #17ed90;   --color-secondary: #243133;   --color-accent: #12cdea;   --font-color: #ffffff;}
See also  How to center text in CSS?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.