Quick little theme API adjustment
Hey! ICYMI we released support for themes a few hours ago. Before they get too widely adopted, we’re making one small breaking API change to the names of keys.:
insert_bg -> insert_code_bg
delete_bg -> delete_code_bg
This is what it looks like in code:
:::jsonc
{
// ...
"diff_insert_fg": "#629657",
"diff_insert_code_bg": "#2d3431",
"diff_insert_gutter_bg": "#282d2c",
"diff_delete_fg": "#a45c59",
"diff_delete_code_bg": "#33272d",
"diff_delete_gutter_bg": "#2a232a",
// ...
}
See ya! Charm 🎸
Changelog
Other stuff
- 56abdfa7f1fa2cbe1e073f553bc10b06598046f9: themes: prefix diff theme keys with diff_ (@meowgorithm)
- a88b5735ff056b52eee8d30121b85c8a8ca79601: themes: small adjustments to the key names in the theme API (@meowgorithm)
Verifying the artifacts
First, download the [`checksums.txt` file](https://github.com/charmbracelet/crush/releases/download/v0.96.1/checksums.txt) and the [`checksums.txt.sigstore.json` file](https://github.com/charmbracelet/crush/releases/download/v0.96.1/checksums.txt.sigstore.json) files, for example, with `wget`: :::bash wget 'https://github.com/charmbracelet/crush/releases/download/v0.96.1/checksums.txt' wget 'https://github.com/charmbracelet/crush/releases/download/v0.96.1/checksums.txt.sigstore.json' Then, verify it using [`cosign`](https://github.com/sigstore/cosign): :::bash cosign verify-blob \ --certificate-identity 'https://github.com/charmbracelet/meta/.github/workflows/goreleaser.yml@refs/heads/main' \ --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \ --bundle 'checksums.txt.sigstore.json' \ ./checksums.txt If the output is `Verified OK`, you can safely use it to verify the checksums of other artifacts you downloaded from the release using `sha256sum`: :::bash sha256sum --ignore-missing -c checksums.txt Done! You artifacts are now verified!Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.
