mirror of https://gitlab.com/bashrc2/epicyon
Background and foreground
parent
43987de00e
commit
39fc2edba9
|
@ -242,6 +242,10 @@ def htmlThemeDesigner(cssCache: {}, baseDir: str,
|
||||||
variableNameStr = variableName.replace('-', ' ')
|
variableNameStr = variableName.replace('-', ' ')
|
||||||
if variableNameStr.endswith(' color'):
|
if variableNameStr.endswith(' color'):
|
||||||
variableNameStr = variableNameStr.replace(' color', '')
|
variableNameStr = variableNameStr.replace(' color', '')
|
||||||
|
if variableNameStr.endswith(' bg'):
|
||||||
|
variableNameStr = variableNameStr.replace(' bg', ' background')
|
||||||
|
elif variableNameStr.endswith(' fg'):
|
||||||
|
variableNameStr = variableNameStr.replace(' fg', ' foreground')
|
||||||
variableNameStr = variableNameStr.title()
|
variableNameStr = variableNameStr.title()
|
||||||
themeForm += \
|
themeForm += \
|
||||||
' <tr><td><label class="labels">' + \
|
' <tr><td><label class="labels">' + \
|
||||||
|
|
Loading…
Reference in New Issue