[gtk/wip/jimmac/HC-italic-hints] HC: entry - make hints italic




commit 09176fc1b39a98ed4f8c7e9c47a968345718b48b
Author: Jakub Steiner <jimmac gmail com>
Date:   Mon Aug 29 11:58:29 2022 +0200

    HC: entry - make hints italic
    
    - to keep contrast but indicated difference between a value and a hint
    
    Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5143

 gtk/theme/Default/_common.scss | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/theme/Default/_common.scss b/gtk/theme/Default/_common.scss
index 183ab80d2a..ea7415faf2 100644
--- a/gtk/theme/Default/_common.scss
+++ b/gtk/theme/Default/_common.scss
@@ -316,6 +316,7 @@ entry {
 
     > text > placeholder {
       @extend .dim-label;
+      @if $contrast == 'high' { font-style: italic; }
     }
 
     > text > block-cursor {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]