« Sublime text themes » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
## Monokai.sublime-color-scheme | ## Monokai.sublime-color-scheme | ||
### Customize Color Scheme | |||
<syntaxhighlight lang="json" line> | <syntaxhighlight lang="json" line> | ||
// Documentation at https://www.sublimetext.com/docs/color_schemes.html | |||
// Documentation at https://www.sublimetext.com/docs/color_schemes.html | // Documentation at https://www.sublimetext.com/docs/color_schemes.html | ||
{ | { | ||
"variables": | "variables": | ||
{ | { | ||
"black4":"hsl(0, | "black4":"hsl(0, 0%, 5%)", | ||
"black5":"hsl(80, 8%, 20%)", | "black5":"hsl(80, 8%, 20%)", | ||
"purple2": "hsl(350, 100%, 70%)", | "purple2": "hsl(350, 100%, 70%)", | ||
"purple3": "hsl(40, 100%, 50%)", | |||
"blue2": "hsl(220, 100%, 60%)", | "blue2": "hsl(220, 100%, 60%)", | ||
"brown": "hsl(20, 40%, 60%)", | |||
}, | }, | ||
Ligne 15 : | Ligne 19 : | ||
"background": "var(black4)", | "background": "var(black4)", | ||
"foreground": "color(var(white2) alpha(0.7))", | "foreground": "color(var(white2) alpha(0.7))", | ||
"line_highlight": "var( | "line_highlight": "var(grey)", | ||
"selection": "var(black5)", | "selection": "var(black5)", | ||
"selection_border": "var(black5)", | "selection_border": "var(black5)", | ||
Ligne 21 : | Ligne 25 : | ||
"find_highlight": "var(yellow2)", | "find_highlight": "var(yellow2)", | ||
"brackets_foreground":"var(red)", | "brackets_foreground":"var(red)", | ||
"brackets_options": "underline", | |||
"bracket_contents_foreground": "var(orange)", | "bracket_contents_foreground": "var(orange)", | ||
"caret": "color(var(yellow2) alpha(1))", | "caret": "color(var(yellow2) alpha(1))", | ||
"invisibles": "color(var(red) alpha(0.7))", | "invisibles": "color(var(red) alpha(0.7))", | ||
"block_caret_border": "color(var(red) alpha(1))", | "block_caret_border": "color(var(red) alpha(1))", | ||
"selection_corner_radius": "cut", | |||
"selection_corner_style": "cut", | |||
"stack_guide": "var(brown)", | |||
"tags_foreground": "var(blue)", | |||
"guide": "color(var(brown) alpha(0.2))", | |||
"highlight": "var(blue)", | |||
}, | }, | ||
"rules": | "rules": | ||
[ | [ | ||
{ | |||
"name": "Comment", | "name": "Comment", | ||
"scope": "comment", | "scope": "comment", | ||
"foreground": "color(var(yellow5) alpha(0.8))", | "foreground": "color(var(yellow5) alpha(0.8))", | ||
}, | }, | ||
{ | { | ||
"name": "Variable", | "name": "Variable", | ||
"scope": "variable", | "scope": "variable", | ||
"foreground": "var( | "foreground": "var(brown)", | ||
"font_style": "italic", | |||
}, | |||
" | |||
}, | |||
{ | { | ||
"name": "Number", | "name": "Number", | ||
Ligne 52 : | Ligne 61 : | ||
"foreground": "color(var(blue2) alpha(1))", | "foreground": "color(var(blue2) alpha(1))", | ||
}, | }, | ||
{ | |||
"name": "Built-in constant2", | |||
"scope": "constant.character.escape", | |||
"foreground": "color(var(red) alpha(1))", | |||
}, | |||
{ | |||
"name": "Built-in constant", | "name": "Built-in constant", | ||
"scope": "constant.language", | "scope": "constant.language", | ||
Ligne 60 : | Ligne 74 : | ||
"name": "Keyword", | "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", | "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( | "foreground": "var(purple3)" | ||
}, | }, | ||
{ | { | ||
Ligne 73 : | Ligne 87 : | ||
"font_style": "italic" | "font_style": "italic" | ||
}, | }, | ||
{ | |||
"name": "Storage", | |||
"scope": "storage", | |||
"foreground": "var(white)" | |||
}, | |||
{ | |||
"name": "Storage type", | |||
"scope": "storage.type", | |||
"foreground": "color(var(white) alpha(0.8))", | |||
"font_style": "italic" | |||
}, | |||
{ | { | ||
"name": "Library function", | "name": "Library function", | ||
Ligne 84 : | Ligne 108 : | ||
"foreground": "color(var(yellow2) alpha(0.7))", | "foreground": "color(var(yellow2) alpha(0.7))", | ||
}, | }, | ||
{ | |||
"name": "Entity name3", | |||
"scope": "entity.name.function", | |||
"foreground": "color(var(yellow2) alpha(0.7))", | |||
}, | |||
{ | |||
"name": "Entity name4", | |||
"scope": "entity.name.namespace", | |||
"foreground": "color(var(brown) alpha(0.7))", | |||
"font_style": "bold" | |||
}, | |||
{ | |||
"name": "Entity name4", | |||
"scope": "entity.name.constant", | |||
"foreground": "color(var(brown) alpha(1))", | |||
"font_style": "bold" | |||
}, | |||
{ | { | ||
"name": "Function call", | "name": "Function call", | ||
"scope": "variable.function, variable.annotation", | "scope": "variable.function, variable.annotation", | ||
"foreground": "color(var(blue) alpha(0.7))", | "foreground": "color(var(blue) alpha(0.7))", | ||
}, | |||
{ | |||
"scope": "support.function.js,meta.function-call", | |||
"foreground": "var(yellow3)" | |||
}, | |||
{ | |||
"scope": "constant.numeric.line-number.find-in-files - match", | |||
"foreground": "color(var(purple) alpha(0.63))" | |||
}, | |||
{ | |||
"name": "User-defined constant", | |||
"scope": "constant.character, constant.other", | |||
"foreground": "var(yellow)" | |||
}, | }, | ||
] | ] | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> |
Version du 16 décembre 2024 à 13:16
- Monokai.sublime-color-scheme
- Customize Color Scheme
- Monokai.sublime-color-scheme
// Documentation at https://www.sublimetext.com/docs/color_schemes.html
// Documentation at https://www.sublimetext.com/docs/color_schemes.html
{
"variables":
{
"black4":"hsl(0, 0%, 5%)",
"black5":"hsl(80, 8%, 20%)",
"purple2": "hsl(350, 100%, 70%)",
"purple3": "hsl(40, 100%, 50%)",
"blue2": "hsl(220, 100%, 60%)",
"brown": "hsl(20, 40%, 60%)",
},
"globals":
{
"background": "var(black4)",
"foreground": "color(var(white2) alpha(0.7))",
"line_highlight": "var(grey)",
"selection": "var(black5)",
"selection_border": "var(black5)",
"find_highlight_foreground": "var(black)",
"find_highlight": "var(yellow2)",
"brackets_foreground":"var(red)",
"brackets_options": "underline",
"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))",
"selection_corner_radius": "cut",
"selection_corner_style": "cut",
"stack_guide": "var(brown)",
"tags_foreground": "var(blue)",
"guide": "color(var(brown) alpha(0.2))",
"highlight": "var(blue)",
},
"rules":
[
{
"name": "Comment",
"scope": "comment",
"foreground": "color(var(yellow5) alpha(0.8))",
},
{
"name": "Variable",
"scope": "variable",
"foreground": "var(brown)",
"font_style": "italic",
},
{
"name": "Number",
"scope": "constant.numeric",
"foreground": "color(var(blue2) alpha(1))",
},
{
"name": "Built-in constant2",
"scope": "constant.character.escape",
"foreground": "color(var(red) 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(purple3)"
},
{
"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": "Storage",
"scope": "storage",
"foreground": "var(white)"
},
{
"name": "Storage type",
"scope": "storage.type",
"foreground": "color(var(white) alpha(0.8))",
"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": "Entity name3",
"scope": "entity.name.function",
"foreground": "color(var(yellow2) alpha(0.7))",
},
{
"name": "Entity name4",
"scope": "entity.name.namespace",
"foreground": "color(var(brown) alpha(0.7))",
"font_style": "bold"
},
{
"name": "Entity name4",
"scope": "entity.name.constant",
"foreground": "color(var(brown) alpha(1))",
"font_style": "bold"
},
{
"name": "Function call",
"scope": "variable.function, variable.annotation",
"foreground": "color(var(blue) alpha(0.7))",
},
{
"scope": "support.function.js,meta.function-call",
"foreground": "var(yellow3)"
},
{
"scope": "constant.numeric.line-number.find-in-files - match",
"foreground": "color(var(purple) alpha(0.63))"
},
{
"name": "User-defined constant",
"scope": "constant.character, constant.other",
"foreground": "var(yellow)"
},
]
}