Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions src/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ import { getTheme } from './theme.js'

const writeData = {
"$schema": "https://zed.dev/schema/themes/v0.1.0.json",
"name": "Github Theme",
"name": "GitHub Theme",
"author": "Pyae Sone Aung",
"themes": [
getTheme({ themeKey: 'light', name: "Github Light", type: 'light' }),
getTheme({ themeKey: 'light_colorblind', name: "Github Light Colorblind", type: 'light' }),
getTheme({ themeKey: 'light_high_contrast', name: "Github Light High Contrast", type: 'light' }),
getTheme({ themeKey: 'light_tritanopia', name: "Github Light Tritanopia", type: 'light' }),
getTheme({ themeKey: 'dark', name: "Github Dark", type: 'dark' }),
getTheme({ themeKey: 'dark_colorblind', name: "Github Dark Colorblind", type: 'dark' }),
getTheme({ themeKey: 'dark_high_contrast', name: "Github Dark High Contrast", type: 'dark' }),
getTheme({ themeKey: 'dark_tritanopia', name: "Github Dark Tritanopia", type: 'dark' }),
getTheme({ themeKey: 'dark_dimmed', name: "Github Dark Dimmed", type: 'dark' }),
getTheme({ themeKey: 'light', name: "GitHub Light", type: 'light' }),
getTheme({ themeKey: 'light_colorblind', name: "GitHub Light Colorblind", type: 'light' }),
getTheme({ themeKey: 'light_high_contrast', name: "GitHub Light High Contrast", type: 'light' }),
getTheme({ themeKey: 'light_tritanopia', name: "GitHub Light Tritanopia", type: 'light' }),
getTheme({ themeKey: 'dark', name: "GitHub Dark", type: 'dark' }),
getTheme({ themeKey: 'dark_colorblind', name: "GitHub Dark Colorblind", type: 'dark' }),
getTheme({ themeKey: 'dark_high_contrast', name: "GitHub Dark High Contrast", type: 'dark' }),
getTheme({ themeKey: 'dark_tritanopia', name: "GitHub Dark Tritanopia", type: 'dark' }),
getTheme({ themeKey: 'dark_dimmed', name: "GitHub Dark Dimmed", type: 'dark' }),
]
}

Expand Down
22 changes: 11 additions & 11 deletions themes/github_theme.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "https://zed.dev/schema/themes/v0.1.0.json",
"name": "Github Theme",
"name": "GitHub Theme",
"author": "Pyae Sone Aung",
"themes": [
{
"appearance": "light",
"name": "Github Light",
"name": "GitHub Light",
"style": {
"background": "#ffffffff",
"border": "#d1d9e0ff",
Expand Down Expand Up @@ -389,7 +389,7 @@
},
{
"appearance": "light",
"name": "Github Light Colorblind",
"name": "GitHub Light Colorblind",
"style": {
"background": "#ffffffff",
"border": "#d1d9e0ff",
Expand Down Expand Up @@ -773,7 +773,7 @@
},
{
"appearance": "light",
"name": "Github Light High Contrast",
"name": "GitHub Light High Contrast",
"style": {
"background": "#ffffffff",
"border": "#454c54ff",
Expand Down Expand Up @@ -1157,7 +1157,7 @@
},
{
"appearance": "light",
"name": "Github Light Tritanopia",
"name": "GitHub Light Tritanopia",
"style": {
"background": "#ffffffff",
"border": "#d1d9e0ff",
Expand Down Expand Up @@ -1541,7 +1541,7 @@
},
{
"appearance": "dark",
"name": "Github Dark",
"name": "GitHub Dark",
"style": {
"background": "#0d1117ff",
"border": "#3d444dff",
Expand Down Expand Up @@ -1925,7 +1925,7 @@
},
{
"appearance": "dark",
"name": "Github Dark Colorblind",
"name": "GitHub Dark Colorblind",
"style": {
"background": "#0d1117ff",
"border": "#3d444dff",
Expand Down Expand Up @@ -2309,7 +2309,7 @@
},
{
"appearance": "dark",
"name": "Github Dark High Contrast",
"name": "GitHub Dark High Contrast",
"style": {
"background": "#010409ff",
"border": "#b7bdc8ff",
Expand Down Expand Up @@ -2693,7 +2693,7 @@
},
{
"appearance": "dark",
"name": "Github Dark Tritanopia",
"name": "GitHub Dark Tritanopia",
"style": {
"background": "#0d1117ff",
"border": "#3d444dff",
Expand Down Expand Up @@ -3077,7 +3077,7 @@
},
{
"appearance": "dark",
"name": "Github Dark Dimmed",
"name": "GitHub Dark Dimmed",
"style": {
"background": "#212830ff",
"border": "#3d444dff",
Expand Down Expand Up @@ -3460,4 +3460,4 @@
}
}
]
}
}