mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Improve diff/patch/git highlighting.
This commit is contained in:
parent
07e1e2d9d6
commit
70f1675085
2 changed files with 4 additions and 3 deletions
|
@ -607,7 +607,7 @@ std::span<Text::SpecialColor> ChatStyle::highlightColors() const {
|
||||||
// constant, symbol, deleted
|
// constant, symbol, deleted
|
||||||
push(statisticsChartLineRed());
|
push(statisticsChartLineRed());
|
||||||
|
|
||||||
// selector, attr-name, string, char, builtin, inserted
|
// selector, attr-name, string, char, builtin
|
||||||
push(statisticsChartLineOrange());
|
push(statisticsChartLineOrange());
|
||||||
|
|
||||||
// operator, entity, url
|
// operator, entity, url
|
||||||
|
@ -619,8 +619,9 @@ std::span<Text::SpecialColor> ChatStyle::highlightColors() const {
|
||||||
// class-name
|
// class-name
|
||||||
push(statisticsChartLinePurple());
|
push(statisticsChartLinePurple());
|
||||||
|
|
||||||
|
// inserted
|
||||||
|
push(statisticsChartLineGreen());
|
||||||
//push(statisticsChartLineLightgreen());
|
//push(statisticsChartLineLightgreen());
|
||||||
//push(statisticsChartLineGreen());
|
|
||||||
//push(statisticsChartLineGolden());
|
//push(statisticsChartLineGolden());
|
||||||
}
|
}
|
||||||
return _highlightColors;
|
return _highlightColors;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit e76981e133a1d29f3ceb557f53850a8d822f439a
|
Subproject commit f6594068d4282aa84c51c7242d40213f3e0bf6f6
|
Loading…
Add table
Reference in a new issue