[libadwaita/wip/exalm/selection-color: 31/32] stylesheet: More contrasty entry.error/warning text color
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/selection-color: 31/32] stylesheet: More contrasty entry.error/warning text color
- Date: Mon, 3 May 2021 21:48:42 +0000 (UTC)
commit f3f2f6bffa732ff805d74704c58a0c7b1c0d3750
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue May 4 02:45:22 2021 +0500
stylesheet: More contrasty entry.error/warning text color
This will be needed for the new selection style in the next commit.
src/stylesheet/widgets/_entries.scss | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/stylesheet/widgets/_entries.scss b/src/stylesheet/widgets/_entries.scss
index bccc05e..8ff330e 100644
--- a/src/stylesheet/widgets/_entries.scss
+++ b/src/stylesheet/widgets/_entries.scss
@@ -43,7 +43,7 @@ entry {
@each $e_type, $e_color in (error, $error_color),
(warning, $warning_color) {
&.#{$e_type} {
- color: $e_color;
+ color: mix($e_color, $text_color, 70%);
@include focus-ring($focus-state: 'focus-within', $fc: transparentize($e_color, 0.5));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]