From 5b9c2450d5a4717dd331a7a52457c6b5d6fa1c72 Mon Sep 17 00:00:00 2001 From: lucy Date: Wed, 16 Sep 2026 00:20:42 +0200 Subject: [PATCH] theme themepicker to better match overall style --- modules/applets/ThemeSwitcher.qml | 17 ++++++++++++----- settings/settings.json | 2 +- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/modules/applets/ThemeSwitcher.qml b/modules/applets/ThemeSwitcher.qml index 402ea49..aa3e2e6 100644 --- a/modules/applets/ThemeSwitcher.qml +++ b/modules/applets/ThemeSwitcher.qml @@ -14,10 +14,12 @@ import qs.modules.Services Rectangle { id: child - implicitWidth: contentLayout.implicitWidth + contentLayout.anchors.margins * 2+ container.anchors.margins * 2 + implicitWidth: contentLayout.implicitWidth + contentLayout.anchors.margins * 2 + container.anchors.margins * 2 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 @@ -28,7 +30,7 @@ Rectangle { nameFilters: searchBar.text == "" ? [] : ["*" + searchBar.text + "*"] } Rectangle { - id: container + id: container anchors.fill: parent anchors.centerIn: parent anchors.margins: 10 @@ -39,18 +41,22 @@ Rectangle { id: contentLayout anchors.fill: parent anchors.margins: 30 - anchors.centerIn: parent - spacing: 40 + anchors.centerIn: parent + spacing: 40 TextField { id: searchBar placeholderText: "enter scheme name:" placeholderTextColor: Colors.c.base04 leftPadding: 10 + font.family: Config.cfg.appearance.font + color: Colors.font background: Rectangle { color: Colors.c.base02 implicitWidth: 300 implicitHeight: 30 radius: Config.cfg.appearance.rounding + border.width: 1 + border.color: Colors.c.base03 } } @@ -63,7 +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/settings/settings.json b/settings/settings.json index e14a254..2d90820 100644 --- a/settings/settings.json +++ b/settings/settings.json @@ -1,7 +1,7 @@ { "appearance": { "accent": "base0D", - "currentTheme": "base16-rose-pine.json", + "currentTheme": "base16-gruvbox-dark-soft.json", "font": "Inter", "fontSize": 14, "iconSize": 16,