Commit 78933ad8 authored by Noah Davis's avatar Noah Davis 🌵
Browse files

Add header color set support to Colors and ColorSet galleries

parent 1743b70e
......@@ -40,7 +40,7 @@ Kirigami.ScrollablePage {
Controls.ComboBox {
Kirigami.Theme.inherit: true
currentIndex: 0
model: ["View", "Window", "Button", "Selection", "Tooltip", "Complementary"]
model: ["View", "Window", "Button", "Selection", "Tooltip", "Complementary", "Header"]
onCurrentTextChanged: applicationWindow().globalDrawer.Kirigami.Theme.colorSet = currentText
}
......@@ -51,7 +51,7 @@ Kirigami.ScrollablePage {
Controls.ComboBox {
Kirigami.Theme.inherit: true
currentIndex: 1
model: ["View", "Window", "Button", "Selection", "Tooltip", "Complementary"]
model: ["View", "Window", "Button", "Selection", "Tooltip", "Complementary", "Header"]
onCurrentTextChanged: page.Kirigami.Theme.colorSet = currentText
}
}
......
......@@ -70,6 +70,8 @@ ScrollablePage {
return "Theme.Tooltip";
case 5:
return "Theme.Complementary";
case 6:
return "Theme.Header";
}
}
......@@ -78,7 +80,7 @@ ScrollablePage {
text: "Colors by Theme.colorSet"
}
Repeater {
model: Theme.Complementary + 1
model: Theme.Header + 1
delegate: Column {
width: parent.width
Heading {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment