css - How to find all hard-coded colors in SCSS? -
i'm converting ugly legacy css scss (see sass.)
i want take advantage of support of variables , create 1 file manage entire color scheme, twitter's bootstrap (see the variables file of scss version of bootstrap).
in old css (dozens of files), colors written in inconsistent ways such as:
#fff
#fff
#ffffff
white
and there lots of colors.
can think of approach (preferably automated , simple) identify (and maybe replace) of hard-coded values appropriate variables, $colorgraydark
?
Comments
Post a Comment