Parents must be ordered from furthest to closest parent. 'attributes' that must be matched in a parent element. The 'parents' key is an array of objects specifying the 'class' and A complete theme will have many more rules to cover all elements used in An optional key “variables” with an objectĬontaining variable/value pairs may be added.
Should be an object containing a key “rules” with the value of 3179Īn array of rules. sublime-theme file contains a single JSON document. It isĪ JSON format that specifies rules for matching elements and modifying theirĪ. Sublime Text themes are implemented via the. The properties set on each element can beĬonditionally changed based on user interaction and settings. UI can have up to four layers of textures or fills applied, with properties toĬontrol opacity and padding.
Prevent texture degradation and provide full alpha control. The theme engine for Sublime Text is based on raster graphics. The highlighting of source code, markup and prose is Refers strictly to the look of the UI – buttons, select lists, the sidebar, The look of the Sublime Text interface is controlled by themes.