Skip to content

feat: update for Blockbench 5, add accent variants#5

Open
WalkQuackBack wants to merge 10 commits intocatppuccin:mainfrom
WalkQuackBack:feat/bb-4.5
Open

feat: update for Blockbench 5, add accent variants#5
WalkQuackBack wants to merge 10 commits intocatppuccin:mainfrom
WalkQuackBack:feat/bb-4.5

Conversation

@WalkQuackBack
Copy link
Copy Markdown
Member

@WalkQuackBack WalkQuackBack commented Oct 12, 2025

Updates the theme for Blockbench 5, and adds accent variants.

Merge after Blockbench Web App has deployed version 5.0.

@WalkQuackBack WalkQuackBack changed the title feat: update for Blockbench 4.5, add accent variants feat: update for Blockbench 5, add accent variants Oct 12, 2025
Comment thread whiskers-x86_64-unknown-linux-gnu Outdated
Comment thread catwalk-x86_64-unknown-linux-gnu Outdated
@sgoudham sgoudham linked an issue Oct 12, 2025 that may be closed by this pull request
sgoudham and others added 7 commits October 12, 2025 23:59
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.
@Tnixc
Copy link
Copy Markdown
Member

Tnixc commented Dec 29, 2025

okay sick

Comment thread blockbench.tera
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 }};
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update for Blockbench 5.0

4 participants