« Sublime text themes » : différence entre les versions
Page créée avec « <syntaxhighlight lang="json" line> // 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_h... » |
Aucun résumé des modifications |
||
(10 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
## 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 | ||
{ | { | ||
"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%)", | |||
"green": "hsl(100, 100%, 50%)", | |||
"blue2": "hsl(220, 100%, 60%)", | "blue2": "hsl(220, 100%, 60%)", | ||
"blue3": "#94A2D0", | |||
"brown": "hsl(15, 20%, 60%)", | |||
"brown2": "#E5C679", | |||
"orange4" : "#CB4C0B" | |||
}, | }, | ||
Ligne 15 : | Ligne 22 : | ||
"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 28 : | ||
"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": " | "name": "Variable 2", | ||
"scope": " | "scope": "variable.other.member", | ||
"foreground": " | "foreground": "var(brown2)", | ||
"font_style": "italic", | |||
}, | }, | ||
{ | { | ||
"name": "Number", | "name": "Number", | ||
Ligne 52 : | Ligne 68 : | ||
"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", | ||
"foreground": "color(var( | "foreground": "color(var(red) alpha(1))", | ||
}, | }, | ||
{ | { | ||
"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(green)" | ||
}, | |||
{ | |||
"name": "Keyword2", | |||
"scope": "keyword - (source.php keyword.operator | source.js keyword.operator | source.sql keyword.operator), keyword.operator.word, source.php keyword.declaration", | |||
"foreground": "var(blue2)" | |||
}, | }, | ||
{ | |||
"name": "Keyword3", | |||
"scope": "source.sql keyword.other | source.sql keyword.operator.logical | source.sql keyword.operator.word", | |||
"foreground": "var(orange4)" | |||
}, | |||
{ | { | ||
"name": "JavaScript Dollar", | "name": "JavaScript Dollar", | ||
"scope": "variable.other.dollar.only.js", | "scope": "variable.other.dollar.only.js", | ||
"foreground": "var(red2)" | "foreground": "var(red2)" | ||
}, | |||
{ | |||
"name": "Function argument", | |||
"scope": "variable.parameter - (source.c | source.c++ | source.objc | source.objc++)", | |||
"foreground": "var(blue3)", | |||
"font_style": "italic" | |||
}, | }, | ||
{ | { | ||
Ligne 73 : | Ligne 114 : | ||
"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", | ||
"scope": "support.function, support.macro", | "scope": "support.function, support.macro", | ||
"foreground": "var( | "foreground": "var(blue)", | ||
"font_style": " italic" | |||
}, | |||
{ | |||
"name": "Library class/type", | |||
"scope": "support.type, support.class", | |||
"foreground": "var(blue)", | |||
"font_style": " italic" | |||
}, | }, | ||
{ | { | ||
Ligne 84 : | Ligne 143 : | ||
"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)" | |||
}, | |||
{ | |||
"name": "markup headings", | |||
"scope": "markup.heading punctuation.definition.heading", | |||
"foreground": "var(orange)" | |||
}, | }, | ||
] | ] | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[category: | [[category:Dev]] | ||
[[category:Softz]] |
Dernière version du 17 décembre 2024 à 13:29
- Monokai.sublime-color-scheme
- Customize Color Scheme
- Monokai.sublime-color-scheme
// 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%)",
"green": "hsl(100, 100%, 50%)",
"blue2": "hsl(220, 100%, 60%)",
"blue3": "#94A2D0",
"brown": "hsl(15, 20%, 60%)",
"brown2": "#E5C679",
"orange4" : "#CB4C0B"
},
"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": "Variable 2",
"scope": "variable.other.member",
"foreground": "var(brown2)",
"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(red) 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(green)"
},
{
"name": "Keyword2",
"scope": "keyword - (source.php keyword.operator | source.js keyword.operator | source.sql keyword.operator), keyword.operator.word, source.php keyword.declaration",
"foreground": "var(blue2)"
},
{
"name": "Keyword3",
"scope": "source.sql keyword.other | source.sql keyword.operator.logical | source.sql keyword.operator.word",
"foreground": "var(orange4)"
},
{
"name": "JavaScript Dollar",
"scope": "variable.other.dollar.only.js",
"foreground": "var(red2)"
},
{
"name": "Function argument",
"scope": "variable.parameter - (source.c | source.c++ | source.objc | source.objc++)",
"foreground": "var(blue3)",
"font_style": "italic"
},
{
"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(blue)",
"font_style": " italic"
},
{
"name": "Library class/type",
"scope": "support.type, support.class",
"foreground": "var(blue)",
"font_style": " italic"
},
{
"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)"
},
{
"name": "markup headings",
"scope": "markup.heading punctuation.definition.heading",
"foreground": "var(orange)"
},
]
}