mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-02-08 06:19:36 +01:00
add contrast range helper text
This commit is contained in:
parent
db599edfbf
commit
a03d403f55
@ -521,6 +521,12 @@ themeSetting.colour = (parent) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
contrastHelper: new Control_helperText({
|
||||||
|
text: [
|
||||||
|
'Move the Contrast range controls close together for a muted look.',
|
||||||
|
'Move the Contrast range controls far apart from each other for a sharp vivid look.'
|
||||||
|
]
|
||||||
|
}),
|
||||||
shade: {
|
shade: {
|
||||||
helper: new Control_helperText({
|
helper: new Control_helperText({
|
||||||
text: [
|
text: [
|
||||||
@ -532,6 +538,7 @@ themeSetting.colour = (parent) => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
parent.appendChild(
|
parent.appendChild(
|
||||||
node('div', [
|
node('div', [
|
||||||
shade(),
|
shade(),
|
||||||
@ -539,7 +546,8 @@ themeSetting.colour = (parent) => {
|
|||||||
node('hr'),
|
node('hr'),
|
||||||
themeSetting.control.color.range.primary.h.wrap(),
|
themeSetting.control.color.range.primary.h.wrap(),
|
||||||
themeSetting.control.color.range.primary.s.wrap(),
|
themeSetting.control.color.range.primary.s.wrap(),
|
||||||
themeSetting.control.color.contrast.wrap()
|
themeSetting.control.color.contrast.wrap(),
|
||||||
|
themeSetting.control.color.contrastHelper.wrap()
|
||||||
])
|
])
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user