Skip to content

Commit

Permalink
gtksourceview: Add support for new libgedit-gtksourceview xml scheme (#…
Browse files Browse the repository at this point in the history
…4088)

The `kind` attribute is now mandatory, `version` and `underline-color` removed

Signed-off-by: Thomas Staudinger <Staudi.Kaos@gmail.com>
  • Loading branch information
Staudey committed May 18, 2024
1 parent 82069dd commit fc21541
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gtksourceview/gtksourceview/dark.xml.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<style-scheme id="@FlavourThemeName@" _name="@FlavourThemeName@" version="1.0">
<style-scheme id="@FlavourThemeName@" _name="@FlavourThemeName@" kind="dark">
<_description>A GtkSourceView style to match @FlavourThemeName@</_description>

<!-- Yaru palette -->
Expand Down Expand Up @@ -94,7 +94,7 @@
<style name="def:strong-emphasis" bold="true"/>
<style name="def:type" foreground="blue_2" bold="true"/>
<style name="def:underlined" underline="single"/>
<style name="def:warning" underline="error" underline-color="yellow_4"/>
<style name="def:warning" underline="error"/>

<!-- C# -->
<style name="c-sharp:format" foreground="purple_2"/>
Expand Down
4 changes: 2 additions & 2 deletions gtksourceview/gtksourceview/default.xml.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<style-scheme id="@FlavourThemeName@" _name="@FlavourThemeName@" version="1.0">
<style-scheme id="@FlavourThemeName@" _name="@FlavourThemeName@" kind="light">
<_description>A GtkSourceView style to match @FlavourThemeName@</_description>

<!-- Yaru palette -->
Expand Down Expand Up @@ -92,7 +92,7 @@
<style name="def:strong-emphasis" bold="true"/>
<style name="def:type" foreground="blue_4" bold="true"/>
<style name="def:underlined" underline="single"/>
<style name="def:warning" underline="error" underline-color="yellow_4"/>
<style name="def:warning" underline="error"/>

<!-- C# -->
<style name="c-sharp:format" foreground="purple_4"/>
Expand Down

0 comments on commit fc21541

Please sign in to comment.