Repository navigation
feat(tokens): Tab and Carousel on the design tokens - #257
Merged
Merged
Conversation
Tab: underline and solid on the tokens (text-soft rail, primary selected tab, neutral-soft solid tabs of one height), Button's focus ring. Carousel: theme is replaced by colorScheme, the content's color, which sets data-mtf-mode on the root; controls are IconButton strong and centered; new contentBackdrop puts a translucent surface behind the text, the controls and each indicator. The token generator adds a light mode rule so a subtree can force light. Compare screens with baselines, Figma notes for the two new pages. BREAKING CHANGE: Carousel theme is removed; use colorScheme (theme="dark" -> colorScheme="light").
…tch-10 # Conflicts: # docs/figma/README.md
Contributor
|
Claude finished @aktasmehmet's task in 34s —— View job Review of #257: Tab and Carousel on the design tokensI applied
No blocking issues.
Nit (inline on
Visible changes to confirm for the change notes (design-tokens.md §9)
|
aktasmehmet
requested a deployment
to
development
November 27, 2026 08:25 — with
GitHub Actions
Waiting
|
Size Change: -248 B (-0.09%) Total Size: 283 kB 📦 View Changed
ℹ️ View Unchanged
|
hatesalp
reviewed
Nov 27, 2026
- Tab: the title takes the label-lg role (Tab has no size prop), same look - Carousel: the controls' round radius is set once, the md radius only on the title and subtitle - Carousel tests: default comments, the dot indicator default, backdrop test name
aktasmehmet
requested a deployment
to
development
November 30, 2026 11:37 — with
GitHub Actions
Waiting
…tch-10 # Conflicts: # docs/figma/README.md
hatesalp
approved these changes
Nov 30, 2026
This branch was successfully deployed
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.
Description
Batch 10 of the design token migration: Tab and Carousel, each migrated in place with its old styles kept as a compare baseline. Carousel's
themeis replaced bycolorSchemeand gains acontentBackdropprop.What this PR does
[data-mtf-mode="light"] { color-scheme: light; }, so a subtree can force the light mode inside a dark page (Carousel uses it; additive only).docs/figma/*.md.Tab
text-softon a 2pxborder-softline, hovertext-strongonborder-strong, the selected tabprimary-textonprimary-solid.neutral-soft(hoverneutral-soft-hover), the selected tabprimary-solidwithon-primary; the selected tab keeps the others' height (it lost its 2px line before).text-mdstronger, disabledtext-disabled, Button's 2px focus ring (inset).Carousel
colorScheme: "dark" | "light"(defaultdark) is the color of the content: dark text, controls and indicators for a bright image, light ones for a dark image. It setsdata-mtf-modeon the root, so it holds in every page mode.strongand vertically centered; titleheading-h5text-strong, subtitlebody-mdtext-soft; indicatorstext-softer, hovertext-soft, activetext-strong.contentBackdrop(new, defaultfalse): the page surface at 80% behind the title (2 × 10), the subtitle (0 × 6), the controls (round, 2) and a 2px ring around each indicator.💥 BREAKING CHANGE: Carousel
themeis removed; usecolorScheme.theme="light"→ drop the prop;theme="dark"→colorScheme="light".Visible changes (in the change notes)
Type of Change
Screenshots / Preview
Token compare screens (Today · Legacy Light · Legacy Dark · Basic Light):
Tab
Carousel
Checklist
How to Test
npm run storybook: Token Compare → Tab and Carousel.colorScheme.npm test: all suites pass.npm run lint,npm run check:type,npm run check:scss,npm run check:mtf-tokens: no errors.Closes #EDKUI-1252