Skip to content

Commit c2ed0fa

Browse files
authored
fix: css to match styleguide (#43)
1 parent 59d1e2f commit c2ed0fa

File tree

5 files changed

+125
-65
lines changed

5 files changed

+125
-65
lines changed

templates/editor.tera

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -135,19 +135,31 @@ whiskers:
135135
<WordsStyle name="COMMENT DOC KEYWORD ERROR" styleID="18" fgColor="{{ blue.hex }}" bgColor="{{ base.hex }}" fontName="" fontStyle="0" fontSize="" />
136136
</LexerType>
137137
<LexerType name="css" desc="CSS" ext="">
138-
<WordsStyle name="DEFAULT" styleID="0" fgColor="{{ text.hex }}" bgColor="{{ base.hex }}" fontName="" fontStyle="0" fontSize="" />
139-
<WordsStyle name="TAG" styleID="1" fgColor="{{ maroon.hex }}" bgColor="{{ base.hex }}" fontName="Batang" fontStyle="0" fontSize="" />
140-
<WordsStyle name="CLASS" styleID="2" fgColor="{{ sky.hex }}" bgColor="{{ base.hex }}" fontName="" fontStyle="0" fontSize="" />
141-
<WordsStyle name="PSEUDOCLASS" styleID="3" fgColor="{{ sky.hex }}" bgColor="{{ base.hex }}" fontName="" fontStyle="1" fontSize="" />
142-
<WordsStyle name="UNKNOWN_PSEUDOCLASS" styleID="4" fgColor="{{ sky.hex }}" bgColor="{{ base.hex }}" fontName="" fontStyle="0" fontSize="" />
143-
<WordsStyle name="OPERATOR" styleID="5" fgColor="{{ maroon.hex }}" bgColor="{{ base.hex }}" fontName="" fontStyle="1" fontSize="" />
144-
<WordsStyle name="IDENTIFIER" styleID="6" fgColor="{{ sky.hex }}" bgColor="{{ base.hex }}" fontName="" fontStyle="1" fontSize="" keywordClass="instre1" />
145-
<WordsStyle name="UNKNOWN_IDENTIFIER" styleID="7" fgColor="{{ sky.hex }}" bgColor="{{ base.hex }}" fontName="" fontStyle="0" fontSize="" />
146-
<WordsStyle name="VALUE" styleID="8" fgColor="{{ mauve.hex }}" bgColor="{{ base.hex }}" fontName="" fontStyle="1" fontSize="" />
147-
<WordsStyle name="COMMENT" styleID="9" fgColor="{{ blue.hex }}" bgColor="{{ base.hex }}" fontName="" fontStyle="0" fontSize="" />
148-
<WordsStyle name="ID" styleID="10" fgColor="{{ green.hex }}" bgColor="{{ base.hex }}" fontName="" fontStyle="1" fontSize="" />
149-
<WordsStyle name="IMPORTANT" styleID="11" fgColor="{{ maroon.hex }}" bgColor="{{ base.hex }}" fontName="" fontStyle="1" fontSize="" />
150-
<WordsStyle name="DIRECTIVE" styleID="12" fgColor="{{ green.hex }}" bgColor="{{ base.hex }}" fontName="" fontStyle="0" fontSize="" />
138+
<WordsStyle name="DEFAULT" styleID="0" fgColor="{{ text.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
139+
<WordsStyle name="TAG" styleID="1" fgColor="{{ blue.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
140+
<WordsStyle name="CLASS" styleID="2" fgColor="{{ yellow.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
141+
<WordsStyle name="PSEUDOCLASS" styleID="3" fgColor="{{ teal.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" keywordClass="instre2" />
142+
<WordsStyle name="UNKNOWN PSEUDOCLASS" styleID="4" fgColor="{{ maroon.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
143+
<WordsStyle name="OPERATOR" styleID="5" fgColor="{{ overlay2.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
144+
<WordsStyle name="IDENTIFIER" styleID="6" fgColor="{{ blue.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" keywordClass="instre1" />
145+
<WordsStyle name="UNKNOWN IDENTIFIER" styleID="7" fgColor="{{ blue.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
146+
<WordsStyle name="VALUE" styleID="8" fgColor="{{ text.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
147+
<WordsStyle name="COMMENT" styleID="9" fgColor="{{ overlay2.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="2" fontSize="" />
148+
<WordsStyle name="ID" styleID="10" fgColor="{{ yellow.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
149+
<WordsStyle name="IMPORTANT" styleID="11" fgColor="{{ mauve.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
150+
<WordsStyle name="DIRECTIVE" styleID="12" fgColor="{{ mauve.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
151+
<WordsStyle name="DOUBLE STRING" styleID="13" fgColor="{{ green.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
152+
<WordsStyle name="SINGLE STRING" styleID="14" fgColor="{{ green.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
153+
<!-- <WordsStyle name="IDENTIFIER2" styleID="15" fgColor="{{ text.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" /> -->
154+
<WordsStyle name="ATTRIBUTE" styleID="16" fgColor="{{ yellow.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
155+
<!--WordsStyle name="IDENTIFIER3" styleID="17" fgColor="{{ text.hex}}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" /-->
156+
<WordsStyle name="PSEUDOELEMENT" styleID="18" fgColor="{{ yellow.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" keywordClass="type3"/>
157+
<!--WordsStyle name="EXTENDED_IDENTIFIER" styleID="19" fgColor="{{ text.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" /-->
158+
<!-- LEGACY_PSEUDOELEMENT == EXTENDED_PSEUDOCLASS -->
159+
<WordsStyle name="LEGACY PSEUDOELEMENT" styleID="20" fgColor="{{ yellow.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" keywordClass="type5" />
160+
<!-- <WordsStyle name="EXTENDED_PSEUDOELEMENT" styleID="21" fgColor="{{ yellow.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" / -->
161+
<WordsStyle name="MEDIA" styleID="22" fgColor="{{ mauve.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
162+
<WordsStyle name="VARIABLE" styleID="23" fgColor="{{ red.hex }}" bgColor="{{ base.hex }}" colorStyle="1" fontName="" fontStyle="0" fontSize="" />
151163
</LexerType>
152164
<LexerType name="c" desc="C" ext="cw">
153165
<WordsStyle name="PREPROCESSOR" styleID="9" fgColor="{{ maroon.hex }}" bgColor="{{ base.hex }}" fontName="" fontStyle="0" fontSize="" />

themes/catppuccin-frappe.xml

Lines changed: 25 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/catppuccin-latte.xml

Lines changed: 25 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)