Repository navigation
feat(themes): add Minecraft (Claude) taskbar theme - #215
Open
Amineharrabi wants to merge 1 commit into
Open
Amineharrabi wants to merge 1 commit into
Amineharrabi wants to merge 1 commit into
Conversation
Add an editable bundled theme for Claude, alongside the Codex Minecraft theme: hearts show the weekly limit left and a hunger bar below shows the session (5-hour) limit left, with both reset countdowns beside them. - Both bars are ten icons that move in half-icon (5%) steps and drain from the right. The last half icon only disappears at 100% used. - Sprites are 9x9 with an 8-column stride, drawn 16px tall (142x16 strips) using a symmetric 1-2px column pattern, so they stay crisp at 100% scaling and every icon is identical. The widget is 196x44. - Empty hearts are outlines with a transparent fill. - Reset text switches between light and dark with system.dark. Bundled editable themes previously shared one install marker, so a theme added in a later release never reached existing installs. Each bundled theme now has its own marker; a deleted bundled theme stays deleted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
halves * 7 + 2, and onlyclaude.{weekly,session}.percentageare used.system.darkto switch between light and dark text..minecraft-theme-installedmarker, so a bundled theme added in a later release would never reach existing installs. Each entry inBUNDLED_EDITABLE_THEME_SOURCESnow has its own marker (.minecraft-claude-theme-installedfor this one). A bundled theme the user deleted still stays deleted, and existing installs keep their current Codex theme state.Testing
%APPDATA%\ClaudeCodeUsageMonitor\themesof an installed v2.23.0 on Windows 11 (100% scaling) and selected it in Settings → Appearance → Active theme. It docks next to the tray, and the bars match live usage (33% weekly → 7 hearts, 19% session → 8½ drumsticks).bundled_minecraft_claude_bars_snap_to_half_iconschecks clip widths at several usage levels, using different weekly and session values so a swap between the bars would fail.bundled_minecraft_claude_theme_reaches_existing_installschecks the per-theme marker behaviour.cargo fmt --check,cargo testandcargo build. I don't have the Rust/MSVC toolchain on this machine, so the Rust changes haven't been compiled. Please run CI or the checks locally before merging.Checklist
🤖 Generated with Claude Code