💾 Archived View for gemini.locrian.zone › tech › code › cozy-for-gedit.xml captured on 2023-04-26 at 13:43:28.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

➡️ Next capture (2023-09-08)

-=-=-=-=-=-=-

<?xml version="1.0" encoding="UTF-8"?>
<!--

	Cozy, a soft dark-mode theme for Gedit
	Copyright (I guess) 2021 by Locrian (https://codeberg.org/locrian)
	
	I made this for myself when I got frustrated with none of the 
	default themes being quite to my liking.

	Pull requests will only be accepted if you find a glaring error 
	somewhere. Since I don't use Gedit for anything more than HTML, CSS, 
	XML, or Markup, I can't be counted on to maintain anything else. Feel 
	free to make your own fork if you want something else to be included.

	This style is modified from the Classic theme,
	which is (C) 2006-2007 GtkSourceView team
	Original author: Yevgen Muntyan <muntyan@tamu.edu>
	
	This library is free software; you can redistribute it and/or
	modify it under the terms of the GNU Lesser General Public
	License as published by the Free Software Foundation; either
	version 2.1 of the License, or (at your option) any later version.

	This library is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
	Lesser General Public License for more details.

	You should have received a copy of the GNU Lesser General Public 
	License along with this library; if not, see 
	<http://www.gnu.org/licenses/>.

-->
<style-scheme id="cozy" _name="Cozy" version="1.0">
	<author>Locrian</author>
	<_description>A soft dark-mode theme</_description>

<!-- Palette -->
	<color name="white"				value="#FFFFFF"/>
	<color name="black"				value="#111111"/>
	<color name="bg"					value="#333333"/>
	<color name="shadow"			value="#2A2A2A"/>
	<color name="blue"				value="#729FCF"/>
	<color name="magenta"			value="#FFA1FF"/>
	<color name="violet"			value="#A499E7"/>
	<color name="cyan"				value="#6BE4E6"/>
	<color name="lightgray"		value="#CCCCCC"/>
	<color name="gray"				value="#555753"/>
	<color name="green"				value="#8AE234"/>
	<color name="coral"				value="#F97B7B"/>
	<color name="red"					value="#FF0000"/>
	<color name="yellow"			value="#FCE94F"/>
	<color name="purple"			value="#A020F0"/>
	<color name="darkpurple"	value="#1D1523"/>

<!-- Global Settings -->
	<style name="text" foreground="white" background="bg"/>
	<style name="selection" foreground="darkpurple" background="violet"/>
	
	<style name="line-numbers" background="darkpurple"/>
	<style name="current-line" background="shadow"/>
	<style name="current-line-number" background="shadow"/>
	
	<style name="draw-spaces" foreground="lightgray"/>
	<style name="background-pattern" background="shadow"/>
	<style name="right-margin" background="black"/>
	
	<style name="bracket-match" foreground="white" background="black" bold="true"/>
	<style name="bracket-mismatch" foreground="white" background="red" bold="true"/>
	
	<style name="search-match" foreground="black" background="yellow"/>
	<style name="def:preprocessor" foreground="purple"/>
	<style name="def:error" background="red" bold="true"/>
	<style name="def:warning" foreground="black" background="yellow"/>
	<style name="def:note" foreground="black" background="yellow" bold="true"/>
	<style name="def:net-address" italic="true" underline="single"/>

<!-- Comments -->
	<style name="def:comment" foreground="blue"/>
	<style name="def:shebang" foreground="blue" bold="true"/>
	<style name="def:doc-comment-element" italic="true"/>

<!-- Code -->
	<style name="def:constant" foreground="magenta"/>
	<style name="def:special-char" foreground="violet"/>
	<style name="def:identifier" foreground="cyan"/>
	<style name="def:statement" foreground="coral" bold="true"/>
	<style name="def:type" foreground="green" bold="true"/>

<!-- Markup -->
	<style name="def:emphasis" foreground="yellow" italic="true"/>
	<style name="def:strong-emphasis" foreground="yellow" bold="true"/>
	<style name="def:inline-code" foreground="cyan"/>
	<style name="def:insertion" underline="single"/>
	<style name="def:deletion" strikethrough="true"/>
	<style name="def:link-text" foreground="blue"/>
	<style name="def:link-symbol" foreground="blue" bold="true"/>
	<style name="def:link-destination" italic="true" underline="single"/>
	<style name="def:heading" foreground="green" bold="true"/>
	<style name="def:thematic-break" foreground="green" bold="true"/>
	<style name="def:preformatted-section" foreground="cyan"/>
	<style name="def:list-marker" foreground="coral" bold="true"/>

<!-- Heading styles, uncomment to enable -->
<!-- 
	<style name="def:heading0" scale="2.5"/>
	<style name="def:heading1" scale="1.7"/>
	<style name="def:heading2" scale="1.5"/>
	<style name="def:heading3" scale="1.4"/>
	<style name="def:heading4" scale="1.3"/>
	<style name="def:heading5" scale="1.2"/>
	<style name="def:heading6" scale="1.1"/>
-->
<!-- Language specific styles -->
	<style name="diff:added-line" foreground="cyan"/>
	<style name="diff:removed-line" foreground="violet"/>
	<style name="diff:changed-line" use-style="def:preprocessor"/>
	<style name="diff:special-case" use-style="def:constant"/>
	<style name="diff:location" use-style="def:statement"/>
	<style name="diff:diff-file" use-style="def:type"/>

	<style name="xml:tags" foreground="cyan"/>
	<style name="xml:attribute-name" foreground="violet"/>
	<style name="xml:namespace" foreground="green" bold="true"/>

	<style name="js:built-in-constructor" use-style="def:identifier"/>

	<style name="latex:display-math" foreground="violet"/>
	<style name="latex:command" foreground="green" bold="true"/>
	<style name="latex:include" use-style="def:preprocessor"/>

	<style name="sh:variable" foreground="violet"/>

<!-- legacy styles for old lang files -->
	<style name="Others"	 foreground="green" bold="true"/>
	<style name="Others 2" foreground="cyan"/>
	<style name="Others 3" foreground="violet"/>

</style-scheme>