summaryrefslogtreecommitdiff
path: root/modules/bar
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bar')
-rw-r--r--modules/bar/Panel.qml2
-rw-r--r--modules/bar/Pills.qml9
2 files changed, 5 insertions, 6 deletions
diff --git a/modules/bar/Panel.qml b/modules/bar/Panel.qml
index a43b0c2..741fa13 100644
--- a/modules/bar/Panel.qml
+++ b/modules/bar/Panel.qml
@@ -16,7 +16,7 @@ StyledRect {
}
vertical: BarConfig.vertical
- color: Appearance.alpha(Appearance.colours.m3surfaceContainer, false)
+ color: Appearance.alpha(Appearance.colours.m3surface, false)
anchors.fill: parent
BoxLayout {
diff --git a/modules/bar/Pills.qml b/modules/bar/Pills.qml
index e326827..bb9d08f 100644
--- a/modules/bar/Pills.qml
+++ b/modules/bar/Pills.qml
@@ -20,10 +20,9 @@ BoxLayout {
spacing: Appearance.padding.large
anchors.fill: parent
- anchors.leftMargin: get(BarConfig.sizes.floatingGapLarge, BarConfig.sizes.floatingGap)
- anchors.topMargin: get(BarConfig.sizes.floatingGap, BarConfig.sizes.floatingGapLarge)
- anchors.rightMargin: get(BarConfig.sizes.floatingGapLarge, 0)
- anchors.bottomMargin: get(0, BarConfig.sizes.floatingGapLarge)
+ anchors.margins: BarConfig.sizes.floatingGap
+ anchors.rightMargin: get(BarConfig.sizes.floatingGap, 0)
+ anchors.bottomMargin: get(0, BarConfig.sizes.floatingGap)
Pill {
OsIcon {
@@ -126,7 +125,7 @@ BoxLayout {
}
component Pill: PaddedRect {
- color: Appearance.alpha(Appearance.colours.m3surfaceContainer, false)
+ color: Appearance.alpha(Appearance.colours.m3surface, false)
radius: Appearance.rounding.full
padding: BarConfig.vertical ? [Appearance.padding.large, 0] : [0, Appearance.padding.large]