Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
docs(ui): specify xs layout preset tabs
joshistoast77d35e275aa9
diff --git a/docs/superpowers/specs/2026-08-10-xs-layout-preset-tabs-design.md b/docs/superpowers/specs/2026-08-10-xs-layout-preset-tabs-design.mdnew file mode 100644index 0000000000..2742817e9e--- /dev/null+++ b/docs/superpowers/specs/2026-08-10-xs-layout-preset-tabs-design.md@@ -0,0 +1,23 @@+# XS Layout Preset Tabs++## Context++The top-bar controls now use Chakra's `xs` size, which is 32px tall. Chakra's built-in Tabs recipe starts at `sm`, so the layout-preset tabs remain 36px tall and no longer align with their neighbours.++## Design++- Extend the shared Tabs slot recipe with a reusable `xs` size.+- Match the existing `Button size="xs"` metrics: a `sizes.8` (32px) control height, `xs` text, and compact `2.5` horizontal padding.+- Extend the local Tabs wrapper's `size` prop to accept `xs`, because Chakra's packaged Tabs types only list its built-in sizes.+- Change only the layout-preset strip from `size="sm"` to `size="xs"`. Existing Tabs consumers retain their current sizing.++## Verification++- Add a browser test that renders an `xs` tab beside an `xs` button and verifies both compute to 32px tall.+- Keep the existing Tabs interaction and accessibility coverage green.+- Run focused browser tests, TypeScript validation, formatting, and the relevant full verification suite.++## Non-goals++- Do not change Chakra's existing `sm`, `md`, or `lg` Tabs behavior.+- Do not modify other top-bar controls or opt other Tabs consumers into `xs`.