sync-theme
/sync-theme
Dopasowuje motyw edytora Claude Code i Codex do wyglądu macOS, jasnego lub ciemnego, na żądanie.
- Autor
- IvanLutsenko ↗
- Repozytorium
- awac-claude-code-plugins ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 23.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 23.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Dopasowuje motyw edytora Claude Code i Codex do wyglądu macOS, jasnego lub ciemnego, na żądanie.
Oryginalny opis (EN)
Manually sync the editor theme to the current macOS appearance (light/dark). Use when the user switched macOS appearance and wants Claude Code and/or Codex themes refreshed now, or asks to fix/resync the theme. Light → gruvbox-light, dark → sunset-drive.
Jak działa
- Automatic switching (one-time setup)
Podgląd SKILL.md
---
name: sync-theme
description: Manually sync the editor theme to the current macOS appearance (light/dark). Use when the user switched macOS appearance and wants Claude Code and/or Codex themes refreshed now, or asks to fix/resync the theme. Light → gruvbox-light, dark → sunset-drive.
version: 0.1.0
---
# Auto Theme — manual sync
This plugin keeps editor themes in step with the macOS system appearance
(light/dark). Switching is normally automatic via a `UserPromptSubmit` hook;
this skill is the on-demand trigger.
Run the bundled script. It detects the macOS appearance and sets both editors:
- Claude Code — `~/.claude/settings.json` `theme` (light → `custom:gruvbox-light`, dark → `custom:sunset-drive`)
- Codex — `~/.codex/config.toml` `[tui] theme` (light → `gruvbox-light`, dark → `sunset-drive`)
It also installs the bundled themes on first run (`~/.claude/themes/`,
`~/.codex/themes/`) if absent.
### Execution & Communication Rules:
1. First, check if the host OS is Darwin (macOS). If not, refuse to run and output: `Error: Host environment is not macOS.`
2. Run the bash command. Ensure you capture stderr.
3. Run the script and surface any `WARN:` lines from stderr exactly as emitted.
4. Treat `WARN: <path> malformed, skipped` and `WARN: <path> not writable` as script-reported configuration problems; do not invent different error text.
5. Response Format: Output a 2-line bulleted summary detailing: Line 1: Detected OS appearance, Line 2: The exact themes written to both files. Do not include conversational filler.
```bash
bash "${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT}}/sync-theme.sh"
```
## Automatic switching (one-time setup)
Codex plugins cannot declare hooks in their manifest, so register the hook once
in `~/.codex/hooks.json` (then trust it via `~/.codex/config.toml [hooks.state]`):
```json
{
"hooks": {
"UserPromptSubmit": [
{ "hooks": [ { "type": "command", "command": "bash '<plugin-root>/sync-theme.sh'", "timeout": 10 } ] }
]
}
}
```
Wersje
W bazie nie ma innych skilli o nazwie sync-theme.
Migawka bazy z 13.11.2026 · wersja paczki bc99de7aa7b4 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 95theme-elements
Instaluje z rejestru Elements komponenty przełączania motywu: przyciski trybu ciemnego i jasnego oraz listy rozwijane motywów. - 100desktop-skin
Tworzy własny motyw kolorystyczny dla aplikacji Claude na macOS z palety lub marki oraz odznakę z imieniem nad promptem Claude Code. - 95light-dark-mode
Pilnuje obsługi trybu jasnego i ciemnego, przełączania motywów i prefers-color-scheme oraz sprawdza kontrast kolorów w obu motywach, bez sztywno wpisanych kolorów. - 100pptx-dark-vs-light-themes
Wybiera ciemne albo jasne tło prezentacji zależnie od oświetlenia sali, sprzętu wyświetlającego i kontekstu zarządu. - 100fused-render-theming
Dopasowuje widok fused-render do jasnego i ciemnego motywu aplikacji oraz naprawia wygląd widoku w przeciwnym motywie. - 100theme-factory
Tworzy motywy interfejsu AiderDesk: definiuje zmienne kolorów SCSS, rejestruje typy motywów i nazwy w tłumaczeniach.