This repository has been archived by the owner on Sep 28, 2022. It is now read-only.
Replace website main color with CSS custom property #35
Labels
enhancement
New feature or request
first-timers-only
good first issue
Good for newcomers
help wanted
Extra attention is needed
up-for-grabs
Currently in
assets/css/index.css
we're using#3a91ff
for the main color. We are using this color for a couple of attributes, and we probably will be using it more.Create the file
assets/css/variables.css
and add in it custom property--main-color
on:root
with the value#3a91ff
then import this file in the beginning ofassets/css/index.css
and replace#3a91ff
throughout the file withvar(--main-color)
The text was updated successfully, but these errors were encountered: