Commit 61b772e0 authored by Alessandro Portale's avatar Alessandro Portale Committed by Eike Ziller

WelcomeScreen: little adjustments for default.creatortheme

..by rounding the buttons and adding a theme color role for their background

Change-Id: Icde7bb0be178ffbe65635d336227886ffd902129
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 368a718d
......@@ -139,6 +139,7 @@ Welcome_TextColor=text
Welcome_ForegroundPrimaryColor=ff999999
Welcome_ForegroundSecondaryColor=ff808080
Welcome_BackgroundColor=normalBackground
Welcome_ButtonBackgroundColor=normalBackground
Welcome_DividerColor=ff555555
Welcome_HoverColor=ff444444
Welcome_LinkColor=ff5caa15
......
......@@ -130,11 +130,12 @@ Debugger_WatchItem_ValueChanged=ffc80000
Debugger_Breakpoint_TextMarkColor=ffff4040
Welcome_TextColor=ff000000
Welcome_ForegroundPrimaryColor=ff404244
Welcome_ForegroundPrimaryColor=ff555759
Welcome_ForegroundSecondaryColor=ff727476
Welcome_BackgroundColor=ffffffff
Welcome_BackgroundColor=fff8f8f8
Welcome_ButtonBackgroundColor=ffdfdfdf
Welcome_DividerColor=ffd6d6d6
Welcome_HoverColor=fff6f6f6
Welcome_HoverColor=ffe8e8e8
Welcome_LinkColor=ff5caa15
VcsBase_FileStatusUnknown_TextColor=ff000000
......
......@@ -140,7 +140,8 @@ Debugger_Breakpoint_TextMarkColor=ffff4040
Welcome_TextColor=ff000000
Welcome_ForegroundPrimaryColor=ff404244
Welcome_ForegroundSecondaryColor=ff727476
Welcome_BackgroundColor=ffffffff
Welcome_BackgroundColor=normalBackground
Welcome_ButtonBackgroundColor=normalBackground
Welcome_DividerColor=ffd6d6d6
Welcome_HoverColor=fff6f6f6
Welcome_LinkColor=ff5caa15
......
......@@ -62,6 +62,6 @@ Item {
anchors.right: parent.right
anchors.bottom: parent.bottom
color: creatorTheme.BackgroundColorNormal
color: creatorTheme.Welcome_BackgroundColor
}
}
......@@ -59,11 +59,12 @@ Button {
? creatorTheme.Welcome_ForegroundPrimaryColor
: (button.hovered
? creatorTheme.Welcome_HoverColor
: creatorTheme.Welcome_BackgroundColor)
: creatorTheme.Welcome_ButtonBackgroundColor)
border.width: 1
border.color: (button.checked || button.pressed)
? creatorTheme.Welcome_ForegroundPrimaryColor
: creatorTheme.Welcome_ForegroundSecondaryColor
radius: (creatorTheme.WidgetStyle === 'StyleFlat') ? 0 : 4
}
}
......
......@@ -187,6 +187,7 @@ public:
Welcome_ForegroundPrimaryColor,
Welcome_ForegroundSecondaryColor,
Welcome_BackgroundColor,
Welcome_ButtonBackgroundColor,
Welcome_DividerColor,
Welcome_LinkColor,
Welcome_HoverColor,
......
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