« Sublime text themes » : différence entre les versions

De Marmits Wiki
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 94 : Ligne 94 :


</syntaxhighlight>
</syntaxhighlight>
[[category:Dev]]
[[category:Softz]]

Version du 13 décembre 2024 à 15:13

    1. Monokai.sublime-color-scheme
// Documentation at https://www.sublimetext.com/docs/color_schemes.html
{
	"variables":
	{
		"black4":"hsl(0, 57%, 5%)",
		"black5":"hsl(80, 8%, 20%)",
		"purple2": "hsl(350, 100%, 70%)",
		"blue2": "hsl(220, 100%, 60%)",

	},
	"globals":
	{
		"background": "var(black4)",
	 	"foreground": "color(var(white2) alpha(0.7))",
		"line_highlight": "var(red)",
		"selection": "var(black5)",
		"selection_border": "var(black5)",
		"find_highlight_foreground": "var(black)",
		"find_highlight": "var(yellow2)",
		"brackets_foreground":"var(red)",
		"bracket_contents_foreground": "var(orange)",
		"caret": "color(var(yellow2) alpha(1))",	
		"invisibles": "color(var(red) alpha(0.7))",
		"block_caret_border": "color(var(red) alpha(1))",
		

	},
	"rules":
	[
		 {
            "name": "Comment",
            "scope": "comment",
            "foreground": "color(var(yellow5) alpha(0.8))",
        },
        {
            "name": "Variable",
            "scope": "variable",
			"foreground": "var(white)"
        },
        
        {
            "name": "String",
            "scope": "string",
            "foreground": "color(var(yellow3) alpha(0.8))",
            
        },
     	{
            "name": "Number",
            "scope": "constant.numeric",
            "foreground": "color(var(blue2) alpha(1))",
        },
          {
            "name": "Built-in constant",
            "scope": "constant.language",
            "foreground": "color(var(orange) alpha(1))",
        },
         {
            "name": "Keyword",
            "scope": "keyword - (source.c keyword.operator | source.c++ keyword.operator | source.objc keyword.operator | source.objc++ keyword.operator), keyword.operator.word, source.ruby keyword.declaration",
            "foreground": "var(purple2)"
        },
         {
            "name": "JavaScript Dollar",
            "scope": "variable.other.dollar.only.js",
            "foreground": "var(red2)"
        },
   		{
            "name": "Language variable",
            "scope": "variable.language",
            "foreground": "var(red)",
            "font_style": "italic"
        },
      	
        {
            "name": "Library function",
            "scope": "support.function, support.macro",
            "foreground": "var(blue2)"
        },
         {
            "name": "Entity name",
            "scope": "entity.name - (entity.name.filename | entity.name.section | entity.name.tag | entity.name.label)",            
            "foreground": "color(var(yellow2) alpha(0.7))",
        },
        {
            "name": "Function call",
            "scope": "variable.function, variable.annotation",            
            "foreground": "color(var(blue) alpha(0.7))",
        },
        
	]
}