Skip to content

Commit

Permalink
fix: update material theme sources, fix #83
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 9, 2024
1 parent 0ccdd7c commit 6fbfd0a
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 24 deletions.
2 changes: 1 addition & 1 deletion packages/tm-grammars/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ import { grammars } from 'tm-grammars'
| `turtle` | | [stardog-union/stardog-vsc](https://github.com/stardog-union/stardog-vsc/blob/3f1364b08bdbf4b4d77f123682db7d2b708b2f6e/stardog-rdf-grammars/syntaxes/turtle.tmLanguage.json) | | | 3.50 kB |
| `twig` | | [mblode/vscode-twig-language-2](https://github.com/mblode/vscode-twig-language-2/blob/82ae07ffe96656181ad8265c1fff008c8d1cdbba/src/syntaxes/twig.tmLanguage) | [MIT](https://raw.githubusercontent.com/mblode/vscode-twig-language-2/master/LICENSE.md) | `css` `javascript` `scss` `php` `python` `ruby` | 20.64 kB |
| `typescript` | `ts` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/35d97bc7e439fce0f50f42074041ab2d8571b20a/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 177.10 kB |
| `typespec` | `tsp` | [microsoft/typespec](https://github.com/microsoft/typespec/blob/7900f29d65c9f37584100fdfbfd0f6409b7381e7/grammars/typespec.json) | [MIT](https://raw.githubusercontent.com/microsoft/typespec/main/LICENSE) | | 26.20 kB |
| `typespec` | `tsp` | [microsoft/typespec](https://github.com/microsoft/typespec/blob/675e6d480db6366c312e4279da0e3bca5b1be04f/grammars/typespec.json) | [MIT](https://raw.githubusercontent.com/microsoft/typespec/main/LICENSE) | | 26.31 kB |
| `typst` | `typ` | [nvarner/typst-lsp](https://github.com/nvarner/typst-lsp/blob/6972d4b9c2cbcb0551e203067f09ec84ca8f9df3/editors/vscode/typst.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nvarner/typst-lsp/master/LICENSE-MIT.txt) | | 7.98 kB |
| `v` | | [vlang/vscode-vlang](https://github.com/vlang/vscode-vlang/blob/b1f529602bc6536ad8967373302e151e77179598/syntaxes/v.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vlang/vscode-vlang/master/LICENSE) | | 12.76 kB |
| `vala` | | [vala-lang/vala-vscode](https://github.com/vala-lang/vala-vscode/blob/8f825e95648326df2572d0522632251cdff4a43b/syntaxes/vala.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vala-lang/vala-vscode/master/LICENSE) | | 3.14 kB |
Expand Down
2 changes: 1 addition & 1 deletion packages/tm-grammars/grammars/typespec.json
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@
"name": "keyword.operator.assignment.tsp"
}
},
"end": "=",
"end": "(?=>)|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",
"endCaptures": {
"0": {
"name": "keyword.operator.assignment.tsp"
Expand Down
8 changes: 4 additions & 4 deletions packages/tm-grammars/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3043,15 +3043,15 @@ export const grammars = [
aliases: [
'tsp',
],
byteSize: 26831,
byteSize: 26946,
displayName: 'TypeSpec',
lastUpdate: '2024-07-08T17:27:00Z',
lastUpdate: '2024-08-08T21:42:27Z',
license: 'MIT',
licenseUrl: 'https://raw.githubusercontent.com/microsoft/typespec/main/LICENSE',
name: 'typespec',
scopeName: 'source.tsp',
sha: '7900f29d65c9f37584100fdfbfd0f6409b7381e7',
source: 'https://github.com/microsoft/typespec/blob/7900f29d65c9f37584100fdfbfd0f6409b7381e7/grammars/typespec.json',
sha: '675e6d480db6366c312e4279da0e3bca5b1be04f',
source: 'https://github.com/microsoft/typespec/blob/675e6d480db6366c312e4279da0e3bca5b1be04f/grammars/typespec.json',
},
{
aliases: [
Expand Down
2 changes: 1 addition & 1 deletion packages/tm-themes/NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ SOFTWARE.

=========================================================================================================
Files: material-theme.json, material-theme-darker.json, material-theme-lighter.json, material-theme-ocean.json, material-theme-palenight.json
License: https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE
License: https://raw.githubusercontent.com/antfu/vsc-material-theme/main/LICENSE
SPDX: Apache-2.0
---------------------------------------------------------------------------------------------------------
Apache License
Expand Down
10 changes: 5 additions & 5 deletions packages/tm-themes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { themes } from 'tm-themes'
| GitHub Light | `github-light` | [primer/github-vscode-theme](https://github.com/primer/github-vscode-theme/blob/f47b83f1acebb7fba4a3ec0bdb9385f85e6e8aa1/src/theme.js) | [MIT](https://raw.githubusercontent.com/primer/github-vscode-theme/main/LICENSE) | 10.86 kB |
| GitHub Light Default | `github-light-default` | [primer/github-vscode-theme](https://github.com/primer/github-vscode-theme/blob/f47b83f1acebb7fba4a3ec0bdb9385f85e6e8aa1/src/theme.js) | [MIT](https://raw.githubusercontent.com/primer/github-vscode-theme/main/LICENSE) | 13.73 kB |
| Light Plus | `light-plus` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/cc4775f55aff152db2417dfaaddc643ee90b31f9/extensions/theme-defaults/themes/light_plus.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | 9.47 kB |
| Material Theme Lighter | `material-theme-lighter` | [material-theme/vsc-material-theme](https://github.com/material-theme/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts) | [Apache-2.0](https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE) | 18.14 kB |
| Material Theme Lighter | `material-theme-lighter` | [antfu/vsc-material-theme](https://github.com/antfu/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts) | [Apache-2.0](https://raw.githubusercontent.com/antfu/vsc-material-theme/main/LICENSE) | 18.14 kB |
| Min Light | `min-light` | [misolori/min-theme](https://github.com/misolori/min-theme/blob/4641b5d395b9a3506572ec717e80ae8c7cdaae2a/themes/min-light.json) | [MIT](https://raw.githubusercontent.com/miguelsolorio/min-theme/master/LICENSE) | 6.75 kB |
| One Light | `one-light` | [akamud/vscode-theme-onelight](https://github.com/akamud/vscode-theme-onelight/blob/f1ff6b87c6379a22b34354bbf64d355cd2adc611/themes/OneLight.json) | [MIT](https://raw.githubusercontent.com/akamud/vscode-theme-onelight/master/LICENSE) | 24.65 kB |
| Rosé Pine Dawn | `rose-pine-dawn` | [rose-pine/vscode](https://github.com/rose-pine/vscode/blob/bec02ba556d87429a9bb325f39dd8509b6155194/themes/rose-pine-dawn-color-theme.json) | [MIT](https://raw.githubusercontent.com/rose-pine/vscode/main/license) | 20.93 kB |
Expand Down Expand Up @@ -55,10 +55,10 @@ import { themes } from 'tm-themes'
| GitHub Dark Dimmed | `github-dark-dimmed` | [primer/github-vscode-theme](https://github.com/primer/github-vscode-theme/blob/f47b83f1acebb7fba4a3ec0bdb9385f85e6e8aa1/src/theme.js) | [MIT](https://raw.githubusercontent.com/primer/github-vscode-theme/main/LICENSE) | 14.00 kB |
| Houston | `houston` | [withastro/houston-vscode](https://github.com/withastro/houston-vscode/blob/d297233be95e3f8fdecc22e4ffa92bb0e7265592/themes/houston.json) | [MIT](https://raw.githubusercontent.com/withastro/houston-vscode/main/LICENSE) | 34.53 kB |
| LaserWave | `laserwave` | [Jaredk3nt/laserwave](https://github.com/Jaredk3nt/laserwave/blob/f768285c659425fbb6ec5642085df4902f8a8d92/themes/LaserWave-color-theme.json) | [MIT](https://raw.githubusercontent.com/Jaredk3nt/laserwave/master/LICENSE) | 11.17 kB |
| Material Theme | `material-theme` | [material-theme/vsc-material-theme](https://github.com/material-theme/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts) | [Apache-2.0](https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE) | 18.12 kB |
| Material Theme Darker | `material-theme-darker` | [material-theme/vsc-material-theme](https://github.com/material-theme/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts) | [Apache-2.0](https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE) | 18.13 kB |
| Material Theme Ocean | `material-theme-ocean` | [material-theme/vsc-material-theme](https://github.com/material-theme/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts) | [Apache-2.0](https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE) | 18.13 kB |
| Material Theme Palenight | `material-theme-palenight` | [material-theme/vsc-material-theme](https://github.com/material-theme/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts) | [Apache-2.0](https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE) | 18.14 kB |
| Material Theme | `material-theme` | [antfu/vsc-material-theme](https://github.com/antfu/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts) | [Apache-2.0](https://raw.githubusercontent.com/antfu/vsc-material-theme/main/LICENSE) | 18.12 kB |
| Material Theme Darker | `material-theme-darker` | [antfu/vsc-material-theme](https://github.com/antfu/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts) | [Apache-2.0](https://raw.githubusercontent.com/antfu/vsc-material-theme/main/LICENSE) | 18.13 kB |
| Material Theme Ocean | `material-theme-ocean` | [antfu/vsc-material-theme](https://github.com/antfu/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts) | [Apache-2.0](https://raw.githubusercontent.com/antfu/vsc-material-theme/main/LICENSE) | 18.13 kB |
| Material Theme Palenight | `material-theme-palenight` | [antfu/vsc-material-theme](https://github.com/antfu/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts) | [Apache-2.0](https://raw.githubusercontent.com/antfu/vsc-material-theme/main/LICENSE) | 18.14 kB |
| Min Dark | `min-dark` | [misolori/min-theme](https://github.com/misolori/min-theme/blob/4641b5d395b9a3506572ec717e80ae8c7cdaae2a/themes/min-dark.json) | [MIT](https://raw.githubusercontent.com/miguelsolorio/min-theme/master/LICENSE) | 6.08 kB |
| Monokai | `monokai` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/f605341af6b083f2b6d9c853d882b96955c690b7/extensions/theme-monokai/themes/monokai-color-theme.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | 7.60 kB |
| Night Owl | `night-owl` | [sdras/night-owl-vscode-theme](https://github.com/sdras/night-owl-vscode-theme/blob/33ef8e835fde5df592dddeec63bc0c80d073bc24/themes/Night%20Owl-color-theme.json) | [MIT](https://raw.githubusercontent.com/sdras/night-owl-vscode-theme/main/LICENSE) | 28.02 kB |
Expand Down
20 changes: 10 additions & 10 deletions packages/tm-themes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,54 +227,54 @@ export const themes = [
displayName: 'Material Theme',
lastUpdate: '2020-12-14T16:11:18Z',
license: 'Apache-2.0',
licenseUrl: 'https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE',
licenseUrl: 'https://raw.githubusercontent.com/antfu/vsc-material-theme/main/LICENSE',
name: 'material-theme',
sha: 'f09de7a2970defaed43d8e293b4d3ac4e350e71b',
source: 'https://github.com/material-theme/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts',
source: 'https://github.com/antfu/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts',
type: 'dark',
},
{
byteSize: 18569,
displayName: 'Material Theme Darker',
lastUpdate: '2020-12-14T16:11:18Z',
license: 'Apache-2.0',
licenseUrl: 'https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE',
licenseUrl: 'https://raw.githubusercontent.com/antfu/vsc-material-theme/main/LICENSE',
name: 'material-theme-darker',
sha: 'f09de7a2970defaed43d8e293b4d3ac4e350e71b',
source: 'https://github.com/material-theme/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts',
source: 'https://github.com/antfu/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts',
type: 'dark',
},
{
byteSize: 18574,
displayName: 'Material Theme Lighter',
lastUpdate: '2020-12-14T16:11:18Z',
license: 'Apache-2.0',
licenseUrl: 'https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE',
licenseUrl: 'https://raw.githubusercontent.com/antfu/vsc-material-theme/main/LICENSE',
name: 'material-theme-lighter',
sha: 'f09de7a2970defaed43d8e293b4d3ac4e350e71b',
source: 'https://github.com/material-theme/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts',
source: 'https://github.com/antfu/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts',
type: 'light',
},
{
byteSize: 18569,
displayName: 'Material Theme Ocean',
lastUpdate: '2020-12-14T16:11:18Z',
license: 'Apache-2.0',
licenseUrl: 'https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE',
licenseUrl: 'https://raw.githubusercontent.com/antfu/vsc-material-theme/main/LICENSE',
name: 'material-theme-ocean',
sha: 'f09de7a2970defaed43d8e293b4d3ac4e350e71b',
source: 'https://github.com/material-theme/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts',
source: 'https://github.com/antfu/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts',
type: 'dark',
},
{
byteSize: 18575,
displayName: 'Material Theme Palenight',
lastUpdate: '2020-12-14T16:11:18Z',
license: 'Apache-2.0',
licenseUrl: 'https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE',
licenseUrl: 'https://raw.githubusercontent.com/antfu/vsc-material-theme/main/LICENSE',
name: 'material-theme-palenight',
sha: 'f09de7a2970defaed43d8e293b4d3ac4e350e71b',
source: 'https://github.com/material-theme/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts',
source: 'https://github.com/antfu/vsc-material-theme/blob/f09de7a2970defaed43d8e293b4d3ac4e350e71b/src/material.theme.config.ts',
type: 'dark',
},
{
Expand Down
6 changes: 4 additions & 2 deletions sources-themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,10 @@ export const sourcesCommunity: ThemeSource[] = [

export const sourcesMarketplace: ThemeSource[] = [
...generateMarketplaceSource(
'equinusocio.vsc-material-theme',
'https://github.com/material-theme/vsc-material-theme/blob/main/src/material.theme.config.ts',
// Currently switched to Anthony's Fork, as the original repo is corrupted
// https://x.com/antfu7/status/1821971204342984740
'antfu.antfu-material-theme',
'https://github.com/antfu/vsc-material-theme/blob/main/src/material.theme.config.ts',
[
'Material Theme',
'Material Theme Darker',
Expand Down

0 comments on commit 6fbfd0a

Please sign in to comment.