Damson/assets/syntax/ccss.xml
astar76 11c1a7808b Build the syntax definitions into the app
Highlighting relied on the syntax-highlighting package, so removing it
left every file uncoloured. The 462 definitions now live in assets/syntax
and are compressed into the binary at build time, unpacked per language
when used. User .xml files still add to or replace them, and the licence
each file declares is recorded in assets/syntax/LICENSES.md.

Also moves files to the trash without needing gio.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 20:35:27 -06:00

1 line
No EOL
15 KiB
XML

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE language><language name="CleanCSS" version="8" kateversion="5.62" section="Markup" extensions="*.ccss" author="Massimiliano Torromeo" license="BSD"><highlighting><list name="properties"><item>-khtml-background-size</item><item>-moz-border-bottom-colors</item><item>-moz-border-left-colors</item><item>-moz-border-radius</item><item>-moz-border-right-colors</item><item>-moz-border-top-colors</item><item>-moz-box-flex</item><item>-ms-filter</item><item>-o-background-size</item><item>-o-text-overflow</item><item>-webkit-background-size</item><item>-webkit-border-radius</item><item>ascent</item><item>azimuth</item><item>background</item><item>background-attachment</item><item>background-color</item><item>background-image</item><item>background-position</item><item>background-repeat</item><item>baseline</item><item>bbox</item><item>border</item><item>border-bottom</item><item>border-bottom-color</item><item>border-bottom-image</item><item>border-bottom-left-image</item><item>border-bottom-left-radius</item><item>border-bottom-right-image</item><item>border-bottom-right-radius</item><item>border-bottom-style</item><item>border-bottom-width</item><item>border-collapse</item><item>border-color</item><item>border-corner-image</item><item>border-image</item><item>border-left</item><item>border-left-color</item><item>border-left-image</item><item>border-left-style</item><item>border-left-width</item><item>border-radius</item><item>border-right</item><item>border-right-color</item><item>border-right-image</item><item>border-right-style</item><item>border-right-width</item><item>border-spacing</item><item>border-style</item><item>border-top</item><item>border-top-color</item><item>border-top-image</item><item>border-top-left-image</item><item>border-top-left-radius</item><item>border-top-right-image</item><item>border-top-right-radius</item><item>border-top-style</item><item>border-top-width</item><item>border-width</item><item>bottom</item><item>box-align</item><item>box-orient</item><item>box-pack</item><item>box-shadow</item><item>box-sizing</item><item>cap-height</item><item>caption-side</item><item>centerline</item><item>clear</item><item>clip</item><item>color</item><item>content</item><item>counter-increment</item><item>counter-reset</item><item>cue</item><item>cue-after</item><item>cue-before</item><item>cursor</item><item>definition-src</item><item>descent</item><item>direction</item><item>display</item><item>elevation</item><item>empty-cells</item><item>filter</item><item>float</item><item>font</item><item>font-family</item><item>font-size</item><item>font-size-adjust</item><item>font-stretch</item><item>font-style</item><item>font-variant</item><item>font-weight</item><item>height</item><item>konq_bgpos_x</item><item>konq_bgpos_y</item><item>left</item><item>letter-spacing</item><item>line-height</item><item>list-style</item><item>list-style-image</item><item>list-style-keyword</item><item>list-style-position</item><item>list-style-type</item><item>margin</item><item>margin-bottom</item><item>margin-left</item><item>margin-right</item><item>margin-top</item><item>marker-offset</item><item>mathline</item><item>max-height</item><item>max-width</item><item>min-height</item><item>min-width</item><item>opacity</item><item>orphans</item><item>outline</item><item>outline-color</item><item>outline-offset</item><item>outline-style</item><item>outline-width</item><item>overflow</item><item>overflow-x</item><item>overflow-y</item><item>padding</item><item>padding-bottom</item><item>padding-left</item><item>padding-right</item><item>padding-top</item><item>page</item><item>page-break-after</item><item>page-break-before</item><item>page-break-inside</item><item>panose-1</item><item>pause</item><item>pause-after</item><item>pause-before</item><item>pitch</item><item>pitch-range</item><item>play-during</item><item>position</item><item>quotes</item><item>richness</item><item>right</item><item>size</item><item>slope</item><item>speak</item><item>speak-header</item><item>speak-numeral</item><item>speak-punctuation</item><item>speech-rate</item><item>src</item><item>stemh</item><item>stemv</item><item>stress</item><item>table-layout</item><item>text-align</item><item>text-decoration</item><item>text-decoration-color</item><item>text-indent</item><item>text-overflow</item><item>text-shadow</item><item>text-transform</item><item>top</item><item>topline</item><item>unicode-bidi</item><item>unicode-range</item><item>units-per-em</item><item>vertical-align</item><item>visibility</item><item>voice-family</item><item>volume</item><item>white-space</item><item>widows</item><item>width</item><item>widths</item><item>word-spacing</item><item>x-height</item><item>z-index</item></list><list name="types"><item>-moz-box</item><item>100</item><item>200</item><item>300</item><item>400</item><item>500</item><item>600</item><item>700</item><item>800</item><item>900</item><item>above</item><item>absolute</item><item>always</item><item>armenian</item><item>auto</item><item>avoid</item><item>baseline</item><item>below</item><item>bidi-override</item><item>blink</item><item>block</item><item>bold</item><item>bolder</item><item>border-box</item><item>both</item><item>bottom</item><item>box</item><item>break</item><item>capitalize</item><item>caption</item><item>center</item><item>circle</item><item>cjk-ideographic</item><item>clip</item><item>close-quote</item><item>collapse</item><item>compact</item><item>condensed</item><item>content-box</item><item>crop</item><item>cross</item><item>crosshair</item><item>cursive</item><item>dashed</item><item>decimal</item><item>decimal-leading-zero</item><item>default</item><item>disc</item><item>dotted</item><item>double</item><item>e-resize</item><item>ellipsis</item><item>ellipsis-word</item><item>embed</item><item>expanded</item><item>extra-condensed</item><item>extra-expanded</item><item>fantasy</item><item>fixed</item><item>georgian</item><item>groove</item><item>hand</item><item>hebrew</item><item>help</item><item>hidden</item><item>hide</item><item>higher</item><item>hiragana</item><item>hiragana-iroha</item><item>horizontal</item><item>icon</item><item>inherit</item><item>inline</item><item>inline-block</item><item>inline-table</item><item>inset</item><item>inside</item><item>invert</item><item>italic</item><item>justify</item><item>katakana</item><item>katakana-iroha</item><item>konq-center</item><item>landscape</item><item>large</item><item>larger</item><item>left</item><item>level</item><item>light</item><item>lighter</item><item>line-through</item><item>linear</item><item>list-item</item><item>loud</item><item>lower</item><item>lower-alpha</item><item>lower-greek</item><item>lower-latin</item><item>lower-roman</item><item>lowercase</item><item>ltr</item><item>marker</item><item>medium</item><item>menu</item><item>message-box</item><item>middle</item><item>mix</item><item>monospace</item><item>move</item><item>n-resize</item><item>narrower</item><item>ne-resize</item><item>no-close-quote</item><item>no-open-quote</item><item>no-repeat</item><item>none</item><item>normal</item><item>nowrap</item><item>nw-resize</item><item>oblique</item><item>open-quote</item><item>outset</item><item>outside</item><item>overline</item><item>pointer</item><item>portrait</item><item>pre</item><item>pre-line</item><item>pre-wrap</item><item>radial</item><item>relative</item><item>repeat</item><item>repeat-x</item><item>repeat-y</item><item>ridge</item><item>right</item><item>rtl</item><item>run-in</item><item>s-resize</item><item>sans-serif</item><item>scroll</item><item>se-resize</item><item>semi-condensed</item><item>semi-expanded</item><item>separate</item><item>serif</item><item>show</item><item>small</item><item>small-caps</item><item>small-caption</item><item>smaller</item><item>solid</item><item>square</item><item>static</item><item>static-position</item><item>status-bar</item><item>sub</item><item>super</item><item>sw-resize</item><item>table</item><item>table-caption</item><item>table-cell</item><item>table-column</item><item>table-column-group</item><item>table-footer-group</item><item>table-header-group</item><item>table-row</item><item>table-row-group</item><item>text</item><item>text-bottom</item><item>text-top</item><item>thick</item><item>thin</item><item>top</item><item>transparent</item><item>ultra-condensed</item><item>ultra-expanded</item><item>underline</item><item>upper-alpha</item><item>upper-latin</item><item>upper-roman</item><item>uppercase</item><item>visible</item><item>w-resize</item><item>wait</item><item>wider</item><item>x-large</item><item>x-small</item><item>xx-large</item><item>xx-small</item></list><list name="colors"><item>ActiveBorder</item><item>ActiveCaption</item><item>AppWorkspace</item><item>Background</item><item>ButtonFace</item><item>ButtonHighlight</item><item>ButtonShadow</item><item>ButtonText</item><item>CaptionText</item><item>GrayText</item><item>Highlight</item><item>HighlightText</item><item>InactiveBorder</item><item>InactiveCaption</item><item>InactiveCaptionText</item><item>InfoBackground</item><item>InfoText</item><item>Menu</item><item>MenuText</item><item>Scrollbar</item><item>ThreeDDarkShadow</item><item>ThreeDFace</item><item>ThreeDHighlight</item><item>ThreeDLightShadow</item><item>ThreeDShadow</item><item>Window</item><item>WindowFrame</item><item>WindowText</item><item>aqua</item><item>black</item><item>blue</item><item>fuchsia</item><item>gray</item><item>green</item><item>lime</item><item>maroon</item><item>navy</item><item>olive</item><item>purple</item><item>red</item><item>silver</item><item>teal</item><item>white</item><item>yellow</item></list><list name="paren"><item>-moz-linear-gradient</item><item>-moz-radial-gradient</item><item>-webkit-gradient</item><item>attr</item><item>color-stop</item><item>counter</item><item>counters</item><item>expression</item><item>format</item><item>hsl</item><item>hsla</item><item>local</item><item>progid:DXImageTransform.Microsoft.gradient</item><item>rect</item><item>rgb</item><item>rgba</item><item>url</item></list><list name="mediatypes"><item>all</item><item>aural</item><item>braille</item><item>embossed</item><item>handheld</item><item>print</item><item>projection</item><item>screen</item><item>tty</item><item>tv</item></list><list name="pseudoclasses"><item>active</item><item>after</item><item>before</item><item>checked</item><item>disabled</item><item>empty</item><item>enabled</item><item>first-child</item><item>first-letter</item><item>first-line</item><item>first-of-type</item><item>focus</item><item>hover</item><item>indeterminate</item><item>last-child</item><item>last-of-type</item><item>link</item><item>not</item><item>nth-child</item><item>nth-last-child</item><item>nth-last-of-type</item><item>nth-of-type</item><item>only-child</item><item>only-of-type</item><item>root</item><item>selection</item><item>target</item><item>visited</item></list><contexts><context name="Normal" attribute="Normal Text"><StringDetect String="//" attribute="Comment" context="Comment"/><RegExpr String=".*\S.*:\s*$" attribute="Normal Text" context="Selector" lookAhead="1"/><RegExpr String=".*\S.*:.*\S" attribute="Normal Text" context="RuleSet" minimal="1" lookAhead="1"/><RegExpr String="[a-z\-]+->\s*$" attribute="Property"/><RegExpr String="\S" attribute="Error"/></context><context name="FindStrings" attribute="Normal Text" lineEndContext="#pop"><DetectChar char='"' attribute="String" context="StringDQ"/><DetectChar char="'" attribute="String" context="StringSQ"/></context><context name="InsideString" attribute="String" lineEndContext="#pop"><RegExpr String="\\[&#34;']" attribute="String"/><DetectIdentifier/></context><context name="Rule" attribute="Normal Text" lineEndContext="#pop"><DetectChar char=":" attribute="Property" context="Rule2"/><RegExpr String="\S" attribute="Error"/></context><context name="Rule2" attribute="Normal Text" lineEndContext="#pop"><keyword String="types" attribute="Value"/><keyword String="colors" attribute="Value"/><RegExpr String="#([0-9A-Fa-f]{3}){1,4}\b" attribute="Value"/><keyword String="paren" attribute="Value" context="PropParen"/><RegExpr String="!important\b" attribute="Important"/><IncludeRules context="FindValues"/><IncludeRules context="FindStrings"/></context><context name="Comment" attribute="Comment" lineEndContext="#pop"><IncludeRules context="##Comments"/></context><context name="FindValues" attribute="Normal Text"><RegExpr String="[-+]?[0-9.]+((em|ex|px|in|cm|mm|pt|pc|deg|rad|grad|ms|s|Hz|kHz)\b|%?)" attribute="Value"/><RegExpr String="[\w\-]+" attribute="Normal Text"/></context><context name="PropParen" attribute="Normal Text" lineEndContext="#pop"><DetectChar char="(" attribute="Value" context="PropParen2"/><RegExpr String="\S" attribute="Error"/></context><context name="PropParen2" attribute="Normal Text" lineEndContext="#pop"><IncludeRules context="Rule2"/><DetectChar char=")" attribute="Value" context="#pop#pop"/></context><context name="RuleSet" attribute="Normal Text" lineEndContext="#pop"><keyword String="properties" attribute="Property" context="Rule"/><RegExpr String="-?[A-Za-z_-]+(?=\s*:)" attribute="Unknown Property" context="Rule"/><RegExpr String="\S" attribute="Error"/></context><context name="SelAttr" attribute="Selector Attr" lineEndContext="#pop"><DetectChar char="]" attribute="Selector Attr" context="#pop"/><IncludeRules context="FindStrings"/></context><context name="SelPseudo" attribute="Selector Pseudo" fallthroughContext="#pop" lineEndContext="#pop"><keyword String="pseudoclasses" attribute="Selector Pseudo" context="#pop"/></context><context name="Selector" attribute="Normal Text" lineEndContext="#pop"><DetectChar char="[" attribute="Selector Attr" context="SelAttr"/><RegExpr String="#(-)?([_a-zA-Z]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F]))([_a-zA-Z0-9-]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F]))*" attribute="Selector Id"/><RegExpr String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" attribute="Selector Class"/><DetectChar char=":" attribute="Selector Pseudo" context="SelPseudo"/><keyword String="mediatypes" attribute="Media"/></context><context name="StringDQ" attribute="String" lineEndContext="#pop"><DetectChar char='"' attribute="String" context="#pop"/><IncludeRules context="InsideString"/></context><context name="StringSQ" attribute="String" lineEndContext="#pop"><DetectChar char="'" attribute="String" context="#pop"/><IncludeRules context="InsideString"/></context></contexts><itemDatas><itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="0"/><itemData name="Property" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Unknown Property" defStyleNum="dsKeyword" italic="1" spellChecking="0"/><itemData name="Media" defStyleNum="dsDecVal" bold="1" spellChecking="0"/><itemData name="String" defStyleNum="dsString"/><itemData name="Value" defStyleNum="dsDataType" spellChecking="0"/><itemData name="Important" defStyleNum="dsKeyword" spellChecking="0"/><itemData name="Selector Attr" defStyleNum="dsChar" spellChecking="0"/><itemData name="Selector Id" defStyleNum="dsFloat" bold="1" spellChecking="0"/><itemData name="Selector Class" defStyleNum="dsFloat" spellChecking="0"/><itemData name="Selector Pseudo" defStyleNum="dsDecVal" spellChecking="0"/><itemData name="Comment" defStyleNum="dsComment"/><itemData name="Error" defStyleNum="dsError" spellChecking="0"/></itemDatas></highlighting><general><folding indentationsensitive="1"/><keywords casesensitive="0" weakDeliminator="-%"/><comments><comment name="singleLine" start="//" position="afterwhitespace"/></comments></general></language>