mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 01:33:19 +00:00
Change default theme to OneDark like
This commit is contained in:
parent
437ea16d7c
commit
b1ed3c26c0
19 changed files with 94 additions and 28 deletions
|
@ -12,7 +12,7 @@ import Mirai
|
|||
|
||||
Rectangle {
|
||||
|
||||
color: MiraiColorPalette.pane
|
||||
color: colorPalette.selected.pane
|
||||
implicitWidth: childrenRect.width + 20 + 30
|
||||
|
||||
ColumnLayout {
|
||||
|
@ -44,7 +44,7 @@ Rectangle {
|
|||
Rectangle {
|
||||
Layout.preferredHeight: childrenRect.height
|
||||
Layout.fillWidth: true
|
||||
color: backend.activeResourcesFilter.includes(modelData.name) ? MiraiColorPalette.filterSelected : mouse.hovered ? MiraiColorPalette.filterHovered : "transparent"
|
||||
color: backend.activeResourcesFilter.includes(modelData.name) ? colorPalette.selected.filterSelected : mouse.hovered ? MiraiColorPalette.filterHovered : "transparent"
|
||||
radius: 4
|
||||
AppText {
|
||||
text: modelData.name
|
||||
|
@ -94,7 +94,7 @@ Rectangle {
|
|||
Rectangle {
|
||||
Layout.preferredHeight: childrenRect.height
|
||||
Layout.fillWidth: true
|
||||
color: backend.activeTagsFilter.includes(modelData.name) ? MiraiColorPalette.filterSelected : mouse.hovered ? MiraiColorPalette.filterHovered : "transparent"
|
||||
color: backend.activeTagsFilter.includes(modelData.name) ? colorPalette.selected.filterSelected : mouse.hovered ? MiraiColorPalette.filterHovered : "transparent"
|
||||
radius: 4
|
||||
QtObject {
|
||||
id: internal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue