Skip to content

Commit

Permalink
code editor styles
Browse files Browse the repository at this point in the history
  • Loading branch information
marcolaux committed Nov 13, 2021
1 parent d765596 commit 36536af
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ext.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "VS Code Theme",
"content_type": "SN|Theme",
"area": "themes",
"version": "1.1.7",
"version": "1.1.8",
"download_url": "https://laux.wtf/sn/vscode-theme/vscode-theme.zip",
"url": "https://laux.wtf/sn/vscode-theme/ext.json",
"latest_url": "https://laux.wtf/sn/vscode-theme/ext.json",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vscode-theme",
"version": "1.1.7",
"version": "1.1.8",
"main": "dist.css",
"author": "Marco Laux",
"sn": {
Expand Down
48 changes: 46 additions & 2 deletions src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@

--selected-note: #333;

--commend-color: #9ad9fb;
--comment-color: #6a9955;
--attribute-color: #ce9178;
--builtin-color: #c586c0;
--keyword-color: #569cd6;
--variable-2-code: #dcdcaa;
--def-color: #9cdcfe;
--string-color: #ce9178;
--number-color: #b5cea8;
--pink: #c586c0;

--list-1: #e0c7ab;
Expand Down Expand Up @@ -141,10 +148,47 @@

.CodeMirror-code{
.cm-comment{
color: var(--commend-color);
color: var(--comment-color);
}

.cm-attribute{
color: var(--attribute-color);
}

.cm-builtin{
color: var(--builtin-color);
}

.cm-keyword{
color: var(--keyword-color);
}

.cm-def{
color: var(--def-color);
}

.cm-variable-2{
color: var(--variable-2-code) !important;
}

.cm-variable{
color: var(--def-color) !important;
}

.cm-string{
color: var(--string-color);
}

.cm-number{
color: var(--number-color);
}

.cm-atom{
color: var(--keyword-color);
}
}


.editor-preview{
line-height: 1.33;

Expand Down

0 comments on commit 36536af

Please sign in to comment.