gtksourceview5/0001-Adwaita-dark.xml-add-styling-for-common-markdown-fea.patch

45 lines
2.3 KiB
Diff
Raw Normal View History

From fba1defab604bad77ba637881507a904183b4cbe Mon Sep 17 00:00:00 2001
From: Christian Hergert <chergert@redhat.com>
Date: Thu, 21 Apr 2022 13:01:11 -0700
Subject: [PATCH] Adwaita-dark.xml: add styling for common markdown features
Related #265
---
data/styles/Adwaita-dark.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/data/styles/Adwaita-dark.xml b/data/styles/Adwaita-dark.xml
index 04416677..b770174a 100644
--- a/data/styles/Adwaita-dark.xml
+++ b/data/styles/Adwaita-dark.xml
@@ -97,13 +97,13 @@
<style name="bracket-match" bold="true"/>
<style name="current-line" background="libadwaita-dark-alt"/>
<style name="current-line-number" background="libadwaita-dark-alt" foreground="light_7"/>
+ <style name="cursor" foreground="light_5"/>
<style name="draw-spaces" foreground="dark_3"/>
<style name="line-numbers" background="libadwaita-dark" foreground="dark_2"/>
<style name="map-overlay" background="dark_1"/>
<style name="right-margin" background="dark_1" foreground="dark_1"/>
<style name="search-match" background="yellow_4" foreground="dark_4"/>
<style name="text" background="libadwaita-dark" foreground="light_5"/>
- <style name="cursor" foreground="light_5"/>
<!-- Defaults -->
<style name="def:base-n-integer" foreground="violet_2"/>
@@ -113,9 +113,11 @@
<style name="def:decimal" foreground="violet_2"/>
<style name="def:deletion" strikethrough="true"/>
<style name="def:doc-comment-element" foreground="light_7"/>
+ <style name="def:emphasis" italic="true"/>
<style name="def:floating-point" foreground="violet_2"/>
<style name="def:function" foreground="blue_2"/>
<style name="def:heading" foreground="teal_3" bold="true"/>
+ <style name="def:inline-code" foreground="violet_2"/>
<style name="def:keyword" foreground="orange_2" bold="true"/>
<style name="def:link-destination" foreground="blue_2" italic="true" underline="low"/>
<style name="def:link-text" foreground="red_2"/>
--
2.36.0