Skip to content

Commit

Permalink
updated syntax highlighting in script editor
Browse files Browse the repository at this point in the history
  • Loading branch information
ishubin committed Jan 12, 2025
1 parent 9d5b1f9 commit 74aad0c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"axios": "^0.22.0",
"babel-loader": "^8.2.2",
"codemirror": "^6.0.1",
"codemirror-lang-schemioscript": "^0.1.0",
"codemirror-lang-schemioscript": "^0.1.1",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"electron": "21.2.3",
Expand Down
4 changes: 4 additions & 0 deletions src/ui/components/editor/Scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@ export const draculaTheme = createTheme({
tag: t.derefOperator,
color: '#E0E0E0',
},
{
tag: t.macroName,
color: '#F5B360',
},
{
tag: t.attributeName,
color: '#7BACCA',
Expand Down

0 comments on commit 74aad0c

Please sign in to comment.