fix(StatusButton): user correct text color for primary/dark
This commit is contained in:
parent
e106be9b12
commit
440e61d7a8
|
@ -16,7 +16,7 @@ StatusBaseButton {
|
|||
|
||||
disabledColor: Theme.palette.baseColor2
|
||||
|
||||
textColor: type === StatusBaseButton.Type.Primary ? Theme.palette.white :
|
||||
textColor: type === StatusBaseButton.Type.Primary ? Theme.palette.indirectColor4 :
|
||||
type === StatusBaseButton.Type.Normal ? Theme.palette.primaryColor1 :
|
||||
type === StatusBaseButton.Type.Warning ? Theme.palette.warningColor1
|
||||
: Theme.palette.dangerColor1
|
||||
|
|
|
@ -50,6 +50,7 @@ ThemePalette {
|
|||
indirectColor1: getColor('black')
|
||||
indirectColor2: getColor('black', 0.7)
|
||||
indirectColor3: getColor('black', 0.4)
|
||||
indirectColor4: getColor('graphite3')
|
||||
|
||||
miscColor1: getColor('blue5')
|
||||
miscColor2: getColor('purple')
|
||||
|
|
|
@ -48,6 +48,7 @@ ThemePalette {
|
|||
indirectColor1: getColor('white')
|
||||
indirectColor2: getColor('white', 0.7)
|
||||
indirectColor3: getColor('white', 0.4)
|
||||
indirectColor4: getColor('white')
|
||||
|
||||
miscColor1: getColor('blue2')
|
||||
miscColor2: getColor('purple')
|
||||
|
|
|
@ -159,6 +159,7 @@ QtObject {
|
|||
property color indirectColor1
|
||||
property color indirectColor2
|
||||
property color indirectColor3
|
||||
property color indirectColor4
|
||||
|
||||
property color miscColor1
|
||||
property color miscColor2
|
||||
|
|
Loading…
Reference in New Issue