Skip to content

Commit

Permalink
feat(theme support): added support for nord theme
Browse files Browse the repository at this point in the history
  • Loading branch information
ghaschel committed Apr 21, 2024
1 parent 4783473 commit 120a3f6
Show file tree
Hide file tree
Showing 5 changed files with 1,935 additions and 1,918 deletions.
1 change: 1 addition & 0 deletions docs/SUPPORTED-THEMES.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
- [Dark Purple - Black Edition](https://marketplace.visualstudio.com/items?itemName=rexebin.darkpurple-black)
- [One Dark Pro Monokai Darker Theme](https://marketplace.visualstudio.com/items?itemName=eserozvataf.one-dark-pro-monokai-darker)
- [Visual Studio 2019 Dark plus syntax](https://marketplace.visualstudio.com/items?itemName=skyletoft.theme-custom-colour)
- [Nord](https://marketplace.visualstudio.com/items?itemName=arcticicestudio.nord-visual-studio-code)
- All the default ones
- Generic Fallback
2 changes: 2 additions & 0 deletions src/ts/interfaces/themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export type SupportedThemes = [
| 'Night Owl (No Italics)'
| 'Night Owl Light'
| 'Night Owl Light (No Italics)'
| 'Nord'
| 'One Dark Pro'
| 'One Dark Pro Darker'
| 'One Dark Pro Flat'
Expand Down Expand Up @@ -170,6 +171,7 @@ export const supportedThemes = [
'Night Owl (No Italics)',
'Night Owl Light',
'Night Owl Light (No Italics)',
'Nord',
'One Dark Pro',
'One Dark Pro Darker',
'One Dark Pro Flat',
Expand Down
12 changes: 12 additions & 0 deletions src/ts/themes/Nord/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import type { Scopes } from '../../interfaces/legacy-scopes-per-rule';

export = {
'constant.character.entity.html': '#EBCB8B',
'constant.numeric.angular-directive': '#B48EAD',
'entity.name.tag.other.html': '#81A1C1',
'keyword.operator.entity.html': '#B48EAD',
'keyword.operator.expression.let.js': '#81A1C1',
'keyword.operator.punctuation': '#88C0D0',
'string.regexp': '#EBCB8B',
'support.type.object.html-attribute': '#81A1C1',
} as Scopes;
Loading

0 comments on commit 120a3f6

Please sign in to comment.