Commit a3a4d7b6 authored by Camilo Higuita's avatar Camilo Higuita

fix coloring issue

parent b79ae129
......@@ -3,6 +3,7 @@ import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import QtGraphicalEffects 1.0
import org.kde.kirigami 2.2 as Kirigami
import QtQuick.Controls.Material 2.1
import "db/Queries.js" as Q
import "utils/Player.js" as Player
......@@ -23,6 +24,12 @@ Kirigami.ApplicationWindow
title: qsTr("Babe")
wideScreen: root.width > coverSize
Material.theme: isMobile ? Material.Dark : Material.Light
Material.accent: bae.babeColor()
Material.background: bae.backgroundColor()
Material.primary: bae.backgroundColor()
Material.foreground: bae.foregroundColor()
// property int columnWidth: Kirigami.Units.gridUnit * 13
readonly property bool isMobile: bae.isMobile()
......
......@@ -11,7 +11,7 @@ Theme=Light
[Material]
Theme=Light
Accent=#E91E63
Primary=#31363b
Foreground=#FFFFFF
Background=#31363b
;Accent=#E91E63
;Primary=#31363b
;Foreground=#FFFFFF
;Background=#31363b
......@@ -42,7 +42,7 @@ BabeGrid
{
id: drawer
height: parent.height * 0.4
height: parent.height * 0.4
x: pageStack.wideMode ? columnWidth+1 : 0
width: pageStack.wideMode ? albumsViewGrid.width-1 : albumsViewGrid.width
edge: Qt.BottomEdge
......
......@@ -16,7 +16,7 @@ Drawer
interactive: true
focus: true
modal:true
dragMargin :0
signal iconSizeChanged(int size)
function load(folderUrl)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment