mirror of https://gitlab.com/bashrc2/epicyon
Titles on color selectors
parent
bd91d47b9e
commit
d56a082ea8
|
@ -62,13 +62,14 @@ def htmlThemeDesigner(cssCache: {}, baseDir: str,
|
||||||
for variableName, value in themeJson.items():
|
for variableName, value in themeJson.items():
|
||||||
if variableName.endswith('-color') or \
|
if variableName.endswith('-color') or \
|
||||||
variableName.endswith('-text'):
|
variableName.endswith('-text'):
|
||||||
|
variableNameStr = variableName.replace('-', ' ')
|
||||||
themeForm += \
|
themeForm += \
|
||||||
' <tr><td><label class="labels">' + \
|
' <tr><td><label class="labels">' + \
|
||||||
variableName.replace('-', ' ') + '</label></td>'
|
variableNameStr + '</label></td>'
|
||||||
themeForm += \
|
themeForm += \
|
||||||
'<td><input type="color" name="themeSetting_' + \
|
'<td><input type="color" name="themeSetting_' + \
|
||||||
variableName + '" value="' + str(value) + \
|
variableName + '" value="' + str(value) + \
|
||||||
'"></p></td></tr>\n'
|
'" title="' + variableNameStr + '"></p></td></tr>\n'
|
||||||
|
|
||||||
themeForm += ' </table>\n'
|
themeForm += ' </table>\n'
|
||||||
themeForm += ' </form>\n'
|
themeForm += ' </form>\n'
|
||||||
|
|
Loading…
Reference in New Issue