Skip to content

Commit

Permalink
Merge pull request #134 from benface/master
Browse files Browse the repository at this point in the history
at-rule => atrule
  • Loading branch information
gksander authored Jun 30, 2022
2 parents b30cd37 + 29dd71a commit 71b3c29
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/themes/duotoneDark.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var theme: PrismTheme = {
"unit",
"statement",
"regex",
"at-rule",
"atrule",
"placeholder",
"variable",
],
Expand Down
2 changes: 1 addition & 1 deletion src/themes/duotoneLight.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var theme: PrismTheme = {
"unit",
"statement",
"regex",
"at-rule",
"atrule",
],
style: {
color: "#728fcb",
Expand Down
2 changes: 1 addition & 1 deletion src/themes/oceanicNext.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ var theme: PrismTheme = {
},
},
{
types: ["at-rule", "class-name"],
types: ["atrule", "class-name"],
style: {
color: colors.className,
},
Expand Down
4 changes: 2 additions & 2 deletions tools/themeFromVsCode/src/scopeMapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ const scopeMap = {
"keyword.control": "keyword",
"keyword.other": "keyword",
"variable.parameter.url": "url",
"meta.at-rule": "at-rule",
"source.css.scss": "at-rule",
"meta.at-rule": "atrule",
"source.css.scss": "atrule",
"markup.inserted": "inserted",
"markup.deleted": "deleted",
"markup.changed": "changed",
Expand Down

0 comments on commit 71b3c29

Please sign in to comment.