Move box divider colors to the palette.

This commit is contained in:
John Preston 2021-11-24 12:28:36 +04:00
parent 1111718ea3
commit f4a32c34f8
3 changed files with 4 additions and 2 deletions

View file

@ -137,6 +137,9 @@ boxTitleAdditionalFg: #808080; // box title additional text (like in create grou
boxTitleCloseFg: cancelIconFg; // settings close icon and box search cancel icon (like in contacts box)
boxTitleCloseFgOver: cancelIconFgOver; // settings close icon and box search cancel icon (like in contacts box) with mouse over
boxDividerBg: windowBgOver; // gray divider in boxes and layers
boxDividerFg: windowShadowFg; // gray divider shadow in boxes and layers
paymentsTipActive: #01ad0f; // tip button text in payments checkout form
membersAboutLimitFg: windowSubTextFgOver; // text in channel members box about the limit (max 200 last members are shown)

View file

@ -154,8 +154,6 @@ boxLoadingAnimation: InfiniteRadialAnimation(defaultInfiniteRadialAnimation) {
}
boxLoadingSize: 20px;
boxDividerBg: windowBgOver;
boxDividerFg: windowShadowFg;
boxDividerTop: icon {{ "box_divider_top", boxDividerFg }};
boxDividerBottom: icon {{ "box_divider_bottom", boxDividerFg }};
boxDividerHeight: 10px;

View file

@ -7,6 +7,7 @@
#include "ui/widgets/box_content_divider.h"
#include "styles/style_layers.h"
#include "styles/palette.h"
#include <QtGui/QPainter>
#include <QtGui/QtEvents>