feat: update for Blockbench 5, add accent variants#5
Open
WalkQuackBack wants to merge 10 commits intocatppuccin:mainfrom
Open
feat: update for Blockbench 5, add accent variants#5WalkQuackBack wants to merge 10 commits intocatppuccin:mainfrom
WalkQuackBack wants to merge 10 commits intocatppuccin:mainfrom
Conversation
WalkQuackBack
commented
Oct 12, 2025
Adds new colours like close, confirm, error and warning, XYZW and others. Changes the Bright UI elements to always point to a deterministic flavor. Adds a prefix selector to the theme_id to match duplicate theme names.
Member
|
okay sick |
uncenter
reviewed
Mar 10, 2026
Comment on lines
+102
to
+141
| {%- set_global colors = flavor.colors %} | ||
| --color-ui: {{ colors.base.hex }}; | ||
| --color-back: {{ colors.mantle.hex }}; | ||
| --color-dark: {{ colors.crust.hex }}; | ||
| --color-border: {{ colors.overlay0.hex }}; | ||
| --color-selected: {{ colors.surface1.hex }}; | ||
| --color-elevated: {{ colors.surface0.hex }}; | ||
| --color-button: {{ colors.surface0.hex }}; | ||
| --color-bright_ui: {{ brightui.base.hex }}; | ||
| --color-frame: {{ colors.mantle.hex }}; | ||
| --color-text: {{ colors.subtext1.hex }}; | ||
| --color-light: {{ colors.text.hex }}; | ||
| --color-accent_text: {{ colors.base.hex }}; | ||
| --color-bright_ui_text: {{ brightui.text.hex }}; | ||
| --color-subtle_text: {{ colors.subtext0.hex }}; | ||
| --color-grid: {{ colors.subtext0.hex }}; | ||
| --color-wireframe: {{ colors.subtext0.hex }}; | ||
| --color-checkerboard: {{ colors.surface1.hex }}; | ||
|
|
||
| --color-menu_separator: {{ colors.overlay0.hex }}; | ||
| --color-guidelines: {{ colors.subtext0 | mod(opacity=0.7) | get(key="hex") }}; | ||
|
|
||
| --color-close: {{ colors.red.hex }}; | ||
| --color-confirm: {{ colors.green.hex }}; | ||
| --color-error: {{ colors.red.hex }}; | ||
| --color-warning: {{ colors.yellow.hex }}; | ||
|
|
||
| --color-stream: {{ colors.lavender.hex }}; | ||
|
|
||
| --color-axis-x: {{ colors.red.hex }}; | ||
| --color-axis-y: {{ colors.green.hex }}; | ||
| --color-axis-z: {{ colors.blue.hex }}; | ||
| --color-axis-w: {{ colors.yellow.hex }}; | ||
|
|
||
| --color-axis-u: {{ colors.sky.hex }}; | ||
| --color-axis-v: {{ colors.pink.hex }}; | ||
|
|
||
| --color-spline-handle-mirrored: {{ colors.red.hex }}; | ||
| --color-spline-handle-aligned: {{ colors.yellow.hex }}; | ||
| --color-spline-handle-free: {{ colors.green.hex }}; |
Member
There was a problem hiding this comment.
You don't need to set colors here, the colors like red and base are available at the top level. With this however, I think it would be worth putting this inside a mixin so you can reuse the same variables for the theme-flavor=... and the default body.
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.
Updates the theme for Blockbench 5, and adds accent variants.
Merge after Blockbench Web App has deployed version 5.0.