javascript - How to create the changeable color scheme for a website? -
how create changeable color scheme website?
i not know how start it. know only, should use sass.
could give links tutorials?
ex: example
you can achieve in many different ways. first ones come mind are:
in plain css
you can set general css class on body
tag , based on load custom color css file. have use custom css properties. beware of browser support though. idea use variables instead of plain color codes, , color elements using custom color palette.
using pre-processors
for more browser support, can use pre-processors sass
or less
, same technique.
the main idea not use plain color codes in main css file(s), use variables load colors defined in color scheme.
have great day. cheers
Comments
Post a Comment