Skip to content

Commit

Permalink
add yaml colors
Browse files Browse the repository at this point in the history
  • Loading branch information
chaseadamsio committed May 18, 2019
1 parent b8ca232 commit bb3bf19
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/generate-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ const generateTheme = (themeName, colors) => ({
...require("./token-colors/javascript")(colors),
...require("./token-colors/json")(colors),
...require("./token-colors/makefile")(colors),
...require("./token-colors/markdown")(colors)
...require("./token-colors/markdown")(colors),
...require("./token-colors/yaml")(colors)
]
});

Expand Down
11 changes: 11 additions & 0 deletions src/token-colors/yaml.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const yaml = colors => [
{
name: "YAML - Property Name",
scope: "source.yaml entity.name.tag",
settings: {
foreground: colors.magenta
}
}
];

module.exports = yaml;

0 comments on commit bb3bf19

Please sign in to comment.