mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Correct spoiler colors in fully selected messages.
This commit is contained in:
@@ -55,49 +55,62 @@ dialogsTextWidthMin: 150px;
|
|||||||
dialogsTextPalette: TextPalette(defaultTextPalette) {
|
dialogsTextPalette: TextPalette(defaultTextPalette) {
|
||||||
linkFg: dialogsTextFgService;
|
linkFg: dialogsTextFgService;
|
||||||
monoFg: dialogsTextFg;
|
monoFg: dialogsTextFg;
|
||||||
|
spoilerFg: dialogsTextFg;
|
||||||
}
|
}
|
||||||
dialogsTextPaletteOver: TextPalette(defaultTextPalette) {
|
dialogsTextPaletteOver: TextPalette(defaultTextPalette) {
|
||||||
linkFg: dialogsTextFgServiceOver;
|
linkFg: dialogsTextFgServiceOver;
|
||||||
monoFg: dialogsTextFgOver;
|
monoFg: dialogsTextFgOver;
|
||||||
|
spoilerFg: dialogsTextFgOver;
|
||||||
}
|
}
|
||||||
dialogsTextPaletteActive: TextPalette(defaultTextPalette) {
|
dialogsTextPaletteActive: TextPalette(defaultTextPalette) {
|
||||||
linkFg: dialogsTextFgServiceActive;
|
linkFg: dialogsTextFgServiceActive;
|
||||||
monoFg: dialogsTextFgActive;
|
monoFg: dialogsTextFgActive;
|
||||||
|
spoilerFg: dialogsTextFgActive;
|
||||||
}
|
}
|
||||||
dialogsTextPaletteDraft: TextPalette(defaultTextPalette) {
|
dialogsTextPaletteDraft: TextPalette(defaultTextPalette) {
|
||||||
linkFg: dialogsDraftFg;
|
linkFg: dialogsDraftFg;
|
||||||
monoFg: dialogsTextFg;
|
monoFg: dialogsTextFg;
|
||||||
|
spoilerFg: dialogsTextFg;
|
||||||
}
|
}
|
||||||
dialogsTextPaletteDraftOver: TextPalette(defaultTextPalette) {
|
dialogsTextPaletteDraftOver: TextPalette(defaultTextPalette) {
|
||||||
linkFg: dialogsDraftFgOver;
|
linkFg: dialogsDraftFgOver;
|
||||||
monoFg: dialogsTextFgOver;
|
monoFg: dialogsTextFgOver;
|
||||||
|
spoilerFg: dialogsTextFgOver;
|
||||||
}
|
}
|
||||||
dialogsTextPaletteDraftActive: TextPalette(defaultTextPalette) {
|
dialogsTextPaletteDraftActive: TextPalette(defaultTextPalette) {
|
||||||
linkFg: dialogsDraftFgActive;
|
linkFg: dialogsDraftFgActive;
|
||||||
monoFg: dialogsTextFgActive;
|
monoFg: dialogsTextFgActive;
|
||||||
|
spoilerFg: dialogsTextFgActive;
|
||||||
}
|
}
|
||||||
dialogsTextPaletteTaken: TextPalette(defaultTextPalette) {
|
dialogsTextPaletteTaken: TextPalette(defaultTextPalette) {
|
||||||
linkFg: boxTextFgGood;
|
linkFg: boxTextFgGood;
|
||||||
|
monoFg: dialogsTextFg;
|
||||||
|
spoilerFg: dialogsTextFg;
|
||||||
}
|
}
|
||||||
dialogsTextPaletteTakenOver: TextPalette(defaultTextPalette) {
|
dialogsTextPaletteTakenOver: TextPalette(defaultTextPalette) {
|
||||||
linkFg: boxTextFgGood;
|
linkFg: boxTextFgGood;
|
||||||
monoFg: dialogsTextFgOver;
|
monoFg: dialogsTextFgOver;
|
||||||
|
spoilerFg: dialogsTextFgOver;
|
||||||
}
|
}
|
||||||
dialogsTextPaletteTakenActive: TextPalette(defaultTextPalette) {
|
dialogsTextPaletteTakenActive: TextPalette(defaultTextPalette) {
|
||||||
linkFg: dialogsDraftFgActive;
|
linkFg: dialogsDraftFgActive;
|
||||||
monoFg: dialogsTextFgActive;
|
monoFg: dialogsTextFgActive;
|
||||||
|
spoilerFg: dialogsTextFgActive;
|
||||||
}
|
}
|
||||||
dialogsTextPaletteArchive: TextPalette(defaultTextPalette) {
|
dialogsTextPaletteArchive: TextPalette(defaultTextPalette) {
|
||||||
linkFg: dialogsArchiveFg;
|
linkFg: dialogsArchiveFg;
|
||||||
monoFg: dialogsArchiveFg;
|
monoFg: dialogsArchiveFg;
|
||||||
|
spoilerFg: dialogsArchiveFg;
|
||||||
}
|
}
|
||||||
dialogsTextPaletteArchiveOver: TextPalette(defaultTextPalette) {
|
dialogsTextPaletteArchiveOver: TextPalette(defaultTextPalette) {
|
||||||
linkFg: dialogsArchiveFgOver;
|
linkFg: dialogsArchiveFgOver;
|
||||||
monoFg: dialogsArchiveFgOver;
|
monoFg: dialogsArchiveFgOver;
|
||||||
|
spoilerFg: dialogsArchiveFgOver;
|
||||||
}
|
}
|
||||||
dialogsTextPaletteArchiveActive: TextPalette(defaultTextPalette) {
|
dialogsTextPaletteArchiveActive: TextPalette(defaultTextPalette) {
|
||||||
linkFg: dialogsTextFgActive;
|
linkFg: dialogsTextFgActive;
|
||||||
monoFg: dialogsTextFgActive;
|
monoFg: dialogsTextFgActive;
|
||||||
|
spoilerFg: dialogsTextFgActive;
|
||||||
}
|
}
|
||||||
|
|
||||||
dialogsEmptyHeight: 160px;
|
dialogsEmptyHeight: 160px;
|
||||||
|
@@ -632,9 +632,7 @@ void ChatStyle::make(
|
|||||||
make(my.selectLinkFg, original.selectLinkFg);
|
make(my.selectLinkFg, original.selectLinkFg);
|
||||||
make(my.selectMonoFg, original.selectMonoFg);
|
make(my.selectMonoFg, original.selectMonoFg);
|
||||||
make(my.selectOverlay, original.selectOverlay);
|
make(my.selectOverlay, original.selectOverlay);
|
||||||
make(my.spoilerBg, original.spoilerBg);
|
make(my.spoilerFg, original.spoilerFg);
|
||||||
make(my.spoilerActiveBg, original.spoilerActiveBg);
|
|
||||||
make(my.spoilerActiveFg, original.spoilerActiveFg);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChatStyle::make(
|
void ChatStyle::make(
|
||||||
|
@@ -987,9 +987,7 @@ void Generator::setTextPalette(const style::TextPalette &st) {
|
|||||||
_textPalette.selectLinkFg = st.selectLinkFg[_palette].clone();
|
_textPalette.selectLinkFg = st.selectLinkFg[_palette].clone();
|
||||||
_textPalette.selectMonoFg = st.selectMonoFg[_palette].clone();
|
_textPalette.selectMonoFg = st.selectMonoFg[_palette].clone();
|
||||||
_textPalette.selectOverlay = st.selectOverlay[_palette].clone();
|
_textPalette.selectOverlay = st.selectOverlay[_palette].clone();
|
||||||
_textPalette.spoilerBg = st.spoilerBg[_palette].clone();
|
_textPalette.spoilerFg = st.spoilerFg[_palette].clone();
|
||||||
_textPalette.spoilerActiveBg = st.spoilerActiveBg[_palette].clone();
|
|
||||||
_textPalette.spoilerActiveFg = st.spoilerActiveFg[_palette].clone();
|
|
||||||
_p->setTextPalette(_textPalette);
|
_p->setTextPalette(_textPalette);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Submodule Telegram/lib_ui updated: bd7098ef42...4ff5bc5773
Reference in New Issue
Block a user