| 128 | } |
| 129 | |
| 130 | bool isBrightBackgroundColor(const QColor& color) |
| 131 | { |
| 132 | // NOTE that foreground contrast and background contrast work differently |
| 133 | return color.valueF() > 0.3; |
| 134 | } |
| 135 | |
| 136 | bool canInvertDarkColor(const QColor& color) |
| 137 | { |
no outgoing calls
no test coverage detected