Skip to content

Commit

Permalink
Merge pull request #7 from chaseadamsio/addYAML
Browse files Browse the repository at this point in the history
add yaml colors
  • Loading branch information
chaseadamsio authored May 18, 2019
2 parents b8ca232 + bb3bf19 commit 8432751
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 8432751

Please sign in to comment.