Skip to content

Commit

Permalink
feat: add GitHub's high contrast themes (#86) (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
olets authored Aug 13, 2024
1 parent 8a12f4c commit 45011ad
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/tm-themes/NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

=========================================================================================================
Files: github-dark.json, github-dark-default.json, github-dark-dimmed.json, github-light.json, github-light-default.json
Files: github-dark.json, github-dark-default.json, github-dark-dimmed.json, github-dark-high-contrast.json, github-light.json, github-light-default.json, github-light-high-contrast.json
License: https://raw.githubusercontent.com/primer/github-vscode-theme/main/LICENSE
SPDX: MIT
---------------------------------------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions packages/tm-themes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import { themes } from 'tm-themes'
| Everforest Light | `everforest-light` | [sainnhe/everforest-vscode](https://github.com/sainnhe/everforest-vscode/blob/b039b30727868d77108ec85f0be66e6d80a9bc1f/themes/everforest-light.json) | [MIT](https://raw.githubusercontent.com/sainnhe/everforest-vscode/master/LICENSE) | 52.43 kB |
| 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 |
| GitHub Light High Contrast | `github-light-high-contrast` | [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.84 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` | [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 |
Expand Down Expand Up @@ -53,6 +54,7 @@ import { themes } from 'tm-themes'
| GitHub Dark | `github-dark` | [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) | 11.08 kB |
| GitHub Dark Default | `github-dark-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) | 14.00 kB |
| 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 |
| GitHub Dark High Contrast | `github-dark-high-contrast` | [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.16 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` | [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 |
Expand Down
22 changes: 22 additions & 0 deletions packages/tm-themes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,17 @@ export const themes = [
source: 'https://github.com/primer/github-vscode-theme/blob/f47b83f1acebb7fba4a3ec0bdb9385f85e6e8aa1/src/theme.js',
type: 'dark',
},
{
byteSize: 14496,
displayName: 'GitHub Dark High Contrast',
lastUpdate: '2023-01-06T02:19:35Z',
license: 'MIT',
licenseUrl: 'https://raw.githubusercontent.com/primer/github-vscode-theme/main/LICENSE',
name: 'github-dark-high-contrast',
sha: 'f47b83f1acebb7fba4a3ec0bdb9385f85e6e8aa1',
source: 'https://github.com/primer/github-vscode-theme/blob/f47b83f1acebb7fba4a3ec0bdb9385f85e6e8aa1/src/theme.js',
type: 'dark',
},
{
byteSize: 11124,
displayName: 'GitHub Light',
Expand All @@ -189,6 +200,17 @@ export const themes = [
source: 'https://github.com/primer/github-vscode-theme/blob/f47b83f1acebb7fba4a3ec0bdb9385f85e6e8aa1/src/theme.js',
type: 'light',
},
{
byteSize: 14176,
displayName: 'GitHub Light High Contrast',
lastUpdate: '2023-01-06T02:19:35Z',
license: 'MIT',
licenseUrl: 'https://raw.githubusercontent.com/primer/github-vscode-theme/main/LICENSE',
name: 'github-light-high-contrast',
sha: 'f47b83f1acebb7fba4a3ec0bdb9385f85e6e8aa1',
source: 'https://github.com/primer/github-vscode-theme/blob/f47b83f1acebb7fba4a3ec0bdb9385f85e6e8aa1/src/theme.js',
type: 'light',
},
{
byteSize: 35362,
displayName: 'Houston',
Expand Down
4 changes: 3 additions & 1 deletion sources-themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,11 @@ export const sourcesMarketplace: ThemeSource[] = [
[
'GitHub Dark',
'GitHub Dark Default',
'GitHub Dark Dimmed',
'GitHub Dark High Contrast',
'GitHub Light',
'GitHub Light Default',
'GitHub Dark Dimmed',
'GitHub Light High Contrast',
],
),
...generateMarketplaceSource(
Expand Down

0 comments on commit 45011ad

Please sign in to comment.