diff --git a/.github/workflows/check-tokens.yml b/.github/workflows/check-tokens.yml new file mode 100644 index 0000000..ffd2a81 --- /dev/null +++ b/.github/workflows/check-tokens.yml @@ -0,0 +1,36 @@ +name: Check Version 14 tokens + +on: + push: + pull_request: + schedule: + - cron: "17 6 * * 1" + workflow_dispatch: + +permissions: + contents: read + +jobs: + check-tokens: + runs-on: ubuntu-latest + steps: + - name: Check out this theme + uses: actions/checkout@v4 + with: + path: repos/${{ github.event.repository.name }} + + - name: Check out shared tokens + uses: actions/checkout@v4 + with: + repository: version14/tokens + ref: main + path: tokens + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.x" + + - name: Verify generated files + run: python tokens/generate.py --themes-root repos --check + diff --git a/README.md b/README.md index 5e5ab7d..365dafa 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ A colorscheme for Vim 8+, ported from the [version14 Zed theme](https://github.com/version14/zed-theme). Dark and Light variants built around a violet accent (`#B7A2FF` dark, `#5F3BBB` light). +## Palette source + +The shared semantic colors are maintained in [version14/tokens](https://github.com/version14/tokens). This repository keeps Vim-native generated files. + > The violet accent is a placeholder, standing in for a retired lime green accent while a permanent replacement is chosen. It will change again in a future release. > > This repo covers plain Vim 8+ only. Neovim users should use [`version14/nvim-theme`](https://github.com/version14/nvim-theme) instead, a separate Lua based implementation with fuller plugin support.