mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-11-14 04:52:20 +08:00
新增用于About和其他详细信息的%14颜色
This commit is contained in:
parent
b3a9485bac
commit
2b2bb06d02
@ -35,6 +35,7 @@ SpkAbout::SpkAbout(QWidget *parent) : SpkDialog(parent)
|
||||
"more Debian-based Linux OSes, and build a real community software repository "
|
||||
"for users around the world.";
|
||||
mDescriptionText = new QLabel;
|
||||
mDescriptionText->setObjectName("spk_about_desc");
|
||||
mDescriptionText->setWordWrap(true);
|
||||
mDescriptionText->setText(description);
|
||||
|
||||
|
||||
@ -146,7 +146,8 @@ namespace SpkUi
|
||||
0x6b6b6b, 0x656565, 0x606060, 0x404040, 0x383838,
|
||||
ColorTextOnBackground(0x0070ff),
|
||||
ColorTextOnBackground(0x282828),
|
||||
ColorTextOnBackground(0x282828)
|
||||
ColorTextOnBackground(0x282828),
|
||||
/* TODO: %14 lighter text */
|
||||
};
|
||||
CurrentStylesheet = StylesheetFromColors(LightColor);
|
||||
qApp->setStyleSheet(CurrentStylesheet);
|
||||
@ -159,7 +160,8 @@ namespace SpkUi
|
||||
0x6b6b6b, 0x656565, 0x606060, 0x404040, 0x383838,
|
||||
ColorTextOnBackground(0x0070ff),
|
||||
ColorTextOnBackground(0x282828),
|
||||
ColorTextOnBackground(0x282828)
|
||||
ColorTextOnBackground(0x282828),
|
||||
0xd5d5d5
|
||||
};
|
||||
CurrentStylesheet = StylesheetFromColors(DarkColor);
|
||||
CurrentColorSet = DarkColor;
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
%11: Text on Selection/Activation
|
||||
%12: Text on Global background
|
||||
%13: Text on controls background
|
||||
%14: Text slightly lighter
|
||||
*/
|
||||
|
||||
QWidget
|
||||
@ -155,3 +156,8 @@ QScrollBar::add-line, QScrollBar::sub-line
|
||||
{
|
||||
height:0px
|
||||
}
|
||||
|
||||
#spk_about_desc
|
||||
{
|
||||
color: %14
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user