Skip to content

Commit

Permalink
Merge pull request #77 from tjkohli/master
Browse files Browse the repository at this point in the history
Tweaked Angular Themes
  • Loading branch information
romannurik authored Sep 19, 2023
2 parents 711a720 + 6718185 commit 9de9f41
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 14 deletions.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
<option value="io17">#io17</option>
<option value="io19">#io19</option>
<option value="flutter-interact-19">Flutter Interact 2019</option>
<option value="angular-material">Angular Material</option>
<option value="angular-light">Angular Light</option>
<option value="angular-dark">Angular Dark</option>
<option value="flutter2022">Flutter 2022</option>
<option value="custom">Custom</option>
</select>
Expand Down
40 changes: 27 additions & 13 deletions themes.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,19 +246,33 @@ export const DEFAULT_THEMES = {
highlightColor: '#425a6c',
lineHeight: 1.2,
},
'angular-material': {
bgColor: "#382e42",
textColor: "#ffffff",
punctuationColor: materialColor('light-blue', '100'),
stringAndValueColor: "#c3e88d",
keywordTagColor: materialColor('light-blue', '100'),
commentColor: materialColor('grey', '500'),
typeColor: materialColor('orange', '200'),
numberColor: materialColor('purple', '200'),
declarationColor: materialColor('purple', '200'),
dimmedColor: "#4d4d4d",
highlightColor: "#4d3663",
lineHeight: 1.2
"angular-light": {
bgColor: "#F5F5F5",
textColor: "#37474F",
punctuationColor: "#37474F",
stringAndValueColor: "#FA2C04",
keywordTagColor: "#0546FF",
commentColor: "#D81B60",
typeColor: "#F637E3",
numberColor: "#C53929",
declarationColor: "#0097A7",
dimmedColor: "#BDBDBD",
highlightColor: "#E0E0E0",
lineHeight: 1.5,
},
"angular-dark": {
bgColor: "#151417",
textColor: "#FBFBFB",
punctuationColor: "#37474F",
stringAndValueColor: "#FDAB9B",
keywordTagColor: "#9BB5FF",
commentColor: "#D81B60",
typeColor: "#FBAFF4",
numberColor: "#C53929",
declarationColor: "#0097A7",
dimmedColor: "#E0E0E0",
highlightColor: "#E0E0E0",
lineHeight: 1.5,
},
'flutter2022': {
bgColor: "#151718",
Expand Down

0 comments on commit 9de9f41

Please sign in to comment.