HighContrast: Honour .monospace set by GtkTextView
authorDaniel Boles <dboles.src@gmail.com>
Thu, 29 Mar 2018 17:16:57 +0000 (18:16 +0100)
committerDaniel Boles <dboles.src@gmail.com>
Thu, 29 Mar 2018 17:19:58 +0000 (18:19 +0100)
Copy the line that sets a monospace family from Adwaita (same place too)

noticed at https://gitlab.gnome.org/GNOME/gtk/issues/141#note_91610

gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk-contained-inverse.css
gtk/theme/HighContrast/gtk-contained.css

index e0b0fac9691485c869290655ea67773eaf921c2c..5e122a2d434cf5ca70f95a2f4e6ee32f7977b8b4 100644 (file)
@@ -2581,6 +2581,7 @@ levelbar {
   }
 }
 
+
 // catch all extend :)
 
 %selected_items {
@@ -2589,6 +2590,9 @@ levelbar {
   &:backdrop { background-color: $borders_color; color: $selected_fg_color; }
 }
 
+.monospace { font-family: monospace; }
+
+
 /**********
  * frames *
  **********/
index e8455a9c1e295210e7e8c6697cf9b26714c7853f..7c9f043707a61740149f8e996848464fcd4e5306 100644 (file)
@@ -1150,6 +1150,8 @@ levelbar block.empty:backdrop { border-color: rgba(255, 255, 255, 0.15); }
 
 .view:backdrop:selected, textview text:backdrop:selected, iconview:backdrop:selected, calendar:backdrop:selected, textview text:backdrop:selected:focus, iconview:backdrop:selected:focus, calendar:backdrop:focus:selected, textview text:backdrop:selected:hover, iconview:backdrop:selected:hover, calendar:backdrop:hover:selected, textview text selection:backdrop, flowbox flowboxchild:backdrop:selected, label selection:backdrop, spinbutton:not(.vertical) selection:backdrop, entry selection:backdrop, modelbutton.flat:backdrop:selected, popover.background checkbutton:backdrop:selected, popover.background radiobutton:backdrop:selected, .menuitem.button.flat:backdrop:selected, row.activatable:backdrop:selected, .sidebar:backdrop:selected { background-color: gray; color: #000; }
 
+.monospace { font-family: monospace; }
+
 /********** frames * */
 frame, .frame { border: 1px solid gray; padding: 0; }
 
index 5259b8e8289adeecda6eebc03196fe6804aa3ed6..7f5dcd70b070f53fb4c90120cc78b89772e160ca 100644 (file)
@@ -1156,6 +1156,8 @@ levelbar block.empty:backdrop { border-color: rgba(0, 0, 0, 0.15); }
 
 .view:backdrop:selected, textview text:backdrop:selected, iconview:backdrop:selected, calendar:backdrop:selected, textview text:backdrop:selected:focus, iconview:backdrop:selected:focus, calendar:backdrop:focus:selected, textview text:backdrop:selected:hover, iconview:backdrop:selected:hover, calendar:backdrop:hover:selected, textview text selection:backdrop, flowbox flowboxchild:backdrop:selected, label selection:backdrop, spinbutton:not(.vertical) selection:backdrop, entry selection:backdrop, modelbutton.flat:backdrop:selected, popover.background checkbutton:backdrop:selected, popover.background radiobutton:backdrop:selected, .menuitem.button.flat:backdrop:selected, row.activatable:backdrop:selected, .sidebar:backdrop:selected { background-color: gray; color: #fff; }
 
+.monospace { font-family: monospace; }
+
 /********** frames * */
 frame, .frame { border: 1px solid gray; padding: 0; }