fixup color applying again
This commit is contained in:
parent
c938e0ca88
commit
ea5f49426d
4 changed files with 5 additions and 6 deletions
|
|
@ -52,7 +52,7 @@ Rectangle {
|
||||||
StyledText {
|
StyledText {
|
||||||
id: schemeName
|
id: schemeName
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: container.modelData.fileName
|
text: container.modelData.fileBaseName
|
||||||
}
|
}
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: schemeSetter
|
id: schemeSetter
|
||||||
|
|
@ -60,7 +60,7 @@ Rectangle {
|
||||||
acceptedButtons: Qt.LeftButton
|
acceptedButtons: Qt.LeftButton
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
onClicked: {
|
onClicked: {
|
||||||
setTheme.themeName = modelData.fileName;
|
setTheme.themeName = modelData.fileBaseName;
|
||||||
setTheme.running = true;
|
setTheme.running = true;
|
||||||
Config.cfg.appearance.currentTheme = modelData.fileName;
|
Config.cfg.appearance.currentTheme = modelData.fileName;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,6 @@ BarComponent {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: parent.modelData.name
|
text: parent.modelData.name
|
||||||
color: parent.modelData.shouldDisplay ? parent.modelData.active ? Colors.c.base00 : Colors.c.base05 : Colors.c.base03
|
color: parent.modelData.shouldDisplay ? parent.modelData.active ? Colors.c.base00 : Colors.c.base05 : Colors.c.base03
|
||||||
font.bold: parent.modelData.active
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ Singleton {
|
||||||
property int fontSize: 14
|
property int fontSize: 14
|
||||||
property int iconSize: 16
|
property int iconSize: 16
|
||||||
property int rounding: 16
|
property int rounding: 16
|
||||||
property string currentTheme: "base16-catppuccin-mocha"
|
property string currentTheme: "base16-catppuccin-mocha.json"
|
||||||
}
|
}
|
||||||
property JsonObject bar: JsonObject {
|
property JsonObject bar: JsonObject {
|
||||||
property bool floating: false
|
property bool floating: false
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"appearance": {
|
"appearance": {
|
||||||
"currentTheme": "base16-catppuccin-mocha.json",
|
"currentTheme": "base16-porple.json",
|
||||||
"font": "Roboto Medium",
|
"font": "Roboto",
|
||||||
"fontSize": 14,
|
"fontSize": 14,
|
||||||
"iconSize": 14,
|
"iconSize": 14,
|
||||||
"rounding": 16
|
"rounding": 16
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue