[background] Use low contrast rules and dots in page backgrounds

wilder/palette
Jacopo De Simoi 5 years ago committed by Jacopo De Simoi
parent 1d480449f1
commit 203abc64a4
  1. 4
      src/core/view/background/DottedBackgroundPainter.cpp
  2. 2
      src/core/view/background/GraphBackgroundPainter.cpp
  3. 4
      src/core/view/background/LineBackgroundPainter.cpp

@ -7,9 +7,9 @@ DottedBackgroundPainter::DottedBackgroundPainter() = default;
DottedBackgroundPainter::~DottedBackgroundPainter() = default;
void DottedBackgroundPainter::resetConfig() {
this->defaultForegroundColor1 = 0xBDBDBDU;
this->defaultForegroundColor1 = 0x303030U;
this->defaultAlternativeForegroundColor1 = 0x434343U;
this->lineWidth = 1.5;
this->lineWidth = 1.0;
this->drawRaster1 = 10;
}

@ -9,7 +9,7 @@ GraphBackgroundPainter::GraphBackgroundPainter() = default;
GraphBackgroundPainter::~GraphBackgroundPainter() = default;
void GraphBackgroundPainter::resetConfig() {
this->defaultForegroundColor1 = 0xBDBDBDU;
this->defaultForegroundColor1 = 0x303030;
this->defaultAlternativeForegroundColor1 = 0x434343U;
this->lineWidth = 0.5;
this->drawRaster1 = 14.17;

@ -7,9 +7,9 @@ LineBackgroundPainter::LineBackgroundPainter(bool verticalLine): verticalLine(ve
LineBackgroundPainter::~LineBackgroundPainter() = default;
void LineBackgroundPainter::resetConfig() {
this->defaultForegroundColor1 = 0x40A0FFU;
this->defaultForegroundColor1 = 0x303030U;
this->defaultAlternativeForegroundColor1 = 0x434343U;
this->defaultForegroundColor2 = 0xFF0080U;
this->defaultForegroundColor2 = 0xDF223FU;
this->defaultAlternativeForegroundColor2 = 0x220080U;
this->lineWidth = 0.5;
}

Loading…
Cancel
Save