diff --git a/Colors.qml b/Colors.qml index e4d4347..6396983 100644 --- a/Colors.qml +++ b/Colors.qml @@ -8,7 +8,7 @@ import qs.settings Singleton { id: root property alias c: colors - property color accent: colors[Config.cfg.appearance.accent] + property string accent: colors[Config.cfg.appearance.accent] property string font: colors.base05 FileView { @@ -20,22 +20,22 @@ Singleton { watchChanges: true adapter: JsonAdapter { id: colors - property color base00 - property color base01 - property color base02 - property color base03 - property color base04 - property color base05 - property color base06 - property color base07 - property color base08 - property color base09 - property color base0A - property color base0B - property color base0C - property color base0D - property color base0E - property color base0F + property string base00 + property string base01 + property string base02 + property string base03 + property string base04 + property string base05 + property string base06 + property string base07 + property string base08 + property string base09 + property string base0A + property string base0B + property string base0C + property string base0D + property string base0E + property string base0F } } } diff --git a/modules/applets/ThemeSwitcher.qml b/modules/applets/ThemeSwitcher.qml index 5265adb..aa3e2e6 100644 --- a/modules/applets/ThemeSwitcher.qml +++ b/modules/applets/ThemeSwitcher.qml @@ -18,6 +18,8 @@ Rectangle { implicitHeight: 600 color: Colors.c.base00 radius: Config.cfg.appearance.rounding + border.width: 1 + border.color: Colors.c.base03 MouseArea { acceptedButtons: Qt.AllButtons anchors.fill: parent @@ -53,7 +55,8 @@ Rectangle { implicitWidth: 300 implicitHeight: 30 radius: Config.cfg.appearance.rounding - + border.width: 1 + border.color: Colors.c.base03 } } @@ -66,6 +69,8 @@ Rectangle { delegate: Rectangle { id: container required property var modelData + border.width: 1 + border.color: Colors.c.base03 color: Colors.c.base02 height: 30 radius: Config.cfg.appearance.rounding diff --git a/modules/applets/VolPopup.qml b/modules/applets/VolPopup.qml index 516a037..c84cd84 100644 --- a/modules/applets/VolPopup.qml +++ b/modules/applets/VolPopup.qml @@ -30,10 +30,11 @@ Rectangle { id: audioRep model: Audio.sinks - delegate: BarComponent { + delegate: Rectangle { Layout.margins: 5 id: audioDelContainer Layout.fillWidth: true + color: Colors.c.base02 radius: Config.cfg.appearance.rounding - 4 required property var modelData implicitHeight: audioRow.implicitHeight + 8 diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index 31490ea..087cc20 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -23,7 +23,7 @@ Variants { margins.left: Config.cfg.bar.floating ? 10 : 0 margins.right: Config.cfg.bar.floating ? 10 : 0 Rectangle { - color: Colors.c.base00 + color: Colors.c.base01 radius: Config.cfg.bar.floating ? Config.cfg.appearance.rounding : 0 anchors.fill: parent implicitHeight: parent.height diff --git a/settings/settings.json b/settings/settings.json index a3ff1bb..522c6dd 100644 --- a/settings/settings.json +++ b/settings/settings.json @@ -1,7 +1,7 @@ { "appearance": { "accent": "base0D", - "currentTheme": "base16-tokyodark.json", + "currentTheme": "base16-gruvbox-dark.json", "font": "Inter", "fontSize": 14, "iconSize": 16, @@ -14,6 +14,6 @@ }, "wallpaper": { "wallDir": "/home/lucy/.walls/", - "wallpaper": "/home/lucy/.walls/faris.png" + "wallpaper": "/home/lucy/.walls/lain_room.png" } } diff --git a/widgets/BarComponent.qml b/widgets/BarComponent.qml index cb93a5a..f76b3bb 100644 --- a/widgets/BarComponent.qml +++ b/widgets/BarComponent.qml @@ -4,9 +4,11 @@ import qs import qs.settings Rectangle { - property color base: Qt.rgba(Colors.accent.r, Colors.accent.g, Colors.accent.b, active ? 0.5 : 0.19) + property color accent: Colors.c.base02 property bool active: false - color: base + color: active ? Colors.c.base03 : Colors.c.base02 implicitHeight: Config.cfg.bar.height - 8 radius: Config.cfg.appearance.rounding - 4 + border.width: 1 + border.color: Colors.c.base03 }