diff --git a/README.md b/README.md index 82c1830..02bea74 100644 --- a/README.md +++ b/README.md @@ -8,18 +8,15 @@ Project inspired on [GitHub's VS Code theme](https://github.com/primer/github-vs ## Installation -Download [github-theme.json](https://raw.githubusercontent.com/PyaeSoneAungRgn/github-zed-theme/main/github-theme.json) - -Copy `github-theme.json` file to `~/.config/zed/themes` folder -```bash -cp github-theme.json ~/.config/zed/themes/github-theme.json -``` +1. Open `Command Palette` +2. Select `zed: extensions` +3. Search `GitHub Theme` ## Activate Theme 1. Open `Command Palette` 2. Select `theme selector: toggle` -3. Search `Github Light` or `Github Dark` +3. Search `GitHub Light` or `GitHub Dark` ## Contributing diff --git a/extension.json b/extension.json new file mode 100644 index 0000000..5ff756c --- /dev/null +++ b/extension.json @@ -0,0 +1,9 @@ +{ + "name": "GitHub Theme", + "version": "0.0.1", + "authors": [ + "PyaeSoneAungRgn " + ], + "description": "GitHub theme for Zed", + "repository": "https://github.com/PyaeSoneAungRgn/github-zed-theme" +} diff --git a/github-theme.json b/themes/github_theme.json similarity index 99% rename from github-theme.json rename to themes/github_theme.json index ac305b1..753ff51 100644 --- a/github-theme.json +++ b/themes/github_theme.json @@ -1,4 +1,5 @@ { + "$schema": "https://zed.dev/schema/themes/v0.1.0.json", "name": "Github Theme", "author": "Pyae Sone Aung", "themes": [