mirror of https://gitlab.com/bashrc2/epicyon
Only use colors defined as hex values
parent
a2d537dc1d
commit
8728de34b1
|
@ -72,6 +72,9 @@ def htmlThemeDesigner(cssCache: {}, baseDir: str,
|
||||||
themeForm += ' <tbody>\n'
|
themeForm += ' <tbody>\n'
|
||||||
|
|
||||||
for variableName, value in themeJson.items():
|
for variableName, value in themeJson.items():
|
||||||
|
# only use colors defined as hex
|
||||||
|
if not value.startswith('#'):
|
||||||
|
continue
|
||||||
if variableName.endswith('-color') or \
|
if variableName.endswith('-color') or \
|
||||||
variableName.endswith('-text'):
|
variableName.endswith('-text'):
|
||||||
variableNameStr = variableName.replace('-', ' ')
|
variableNameStr = variableName.replace('-', ' ')
|
||||||
|
|
Loading…
Reference in New Issue