Repository navigation
feat(tokens): Dropdown, Modal and Toast on the design tokens - #256
Merged
Merged
Conversation
…wn_text_only_variant_support
…upport' into feat/design-tokens-batch-9
Dropdown's button takes Button's box and colors and its menu items Select's options; variant is VariantV2 (solid defaults to primary, textOnly to neutral). Modal takes AlertModal's surface. Toast takes the soft fill on the raised surface with elevation-3, a 24px icon on the title line and VariantV2 (useToast returns a function per variant); its close button no longer shrinks. Compare screens with baselines, Figma notes for the three new pages.
…tch-9 # Conflicts: # docs/figma/README.md
Contributor
|
Claude finished @aktasmehmet's task in 18s —— View job Review of PR #256 (Dropdown, Modal and Toast tokens)I found no new blocking issues. I read the diff and the rules in Checks
Non-blocking notes
|
aktasmehmet
requested a deployment
to
development
November 26, 2026 13:59 — with
GitHub Actions
Waiting
|
Size Change: +263 B (+0.09%) Total Size: 284 kB 📦 View Changed
ℹ️ View Unchanged
|
3 of 11 tasks
hatesalp
reviewed
Nov 27, 2026
…tch-9 # Conflicts: # docs/figma/README.md # stylelint.config.mjs
- Dropdown: a disabled button takes no pointer, so hover and active colors never reach it; drop the repeated textOnly disabled background - Toast: the icon takes its variant color from Icon; drop the repeated rule - Toast: new "toast" overlay layer above modal and anchored, so a toast is never behind a modal's backdrop - Toast test: variants typed as VariantV2[]
aktasmehmet
requested a deployment
to
development
November 30, 2026 11:37 — with
GitHub Actions
Waiting
hatesalp
previously approved these changes
Nov 30, 2026
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 9 of the design token migration: Dropdown, Modal and Toast, each migrated in place with its old styles kept as a compare baseline. It also brings in #250 (textOnly variant support for Dropdown) and moves it onto the tokens.
What this PR does
docs/figma/*.md.Dropdown
varianttakesVariantV2. The default isprimaryforshape="solid"andneutralforshape="textOnly"; atextOnlyDropdown with a variant takes that variant's text color (fix(Dropdown): variant support for textOnly shape #250).text-{size}stronger,sizing/icon/{size}, Button's solid and textonly fills, its disabled look and its focus ring. It keeps its own markup.surface-raised,border-default,radius-md,elevation-2; the items are Select's options (text-stronger, hoverneutral-soft, aborder-softdivider), the headertext-softerstrong, disabledtext-disabled. The callout caret keeps its geometry.Modal
surface-raised,radius-lg,elevation-4, backdropcolor/backdrop,z-layer("modal").heading-h4text-strong, subtitlebody-lgtext-soft, contenttext-default;border-softdividers; widthssizing-320 · 480 · 720 · 960.white,blackand#f1f1f1are gone; the scrollbar usesscrollbar-colorwith the border tokens.Toast
ToastVariantisVariantV2, souseToast()returnsneutral,primary,secondary,accent,info,success,warninganddanger.surface-raised(it is translucent and the toast floats over the page),elevation-3, radiusradius-md; titlelabel-xlstronger, contentbody-md; padding 10 / 16.flex-shrink: 0; IconButton clips its icon).💥 BREAKING CHANGE: Dropdown and Toast
secondaryis the theme's second color, no longer the light gray. Useneutralfor the gray look (variant="neutral",toast.neutral()).Visible changes (in the change notes)
Type of Change
Screenshots / Preview
Token compare screens (Today · Legacy Light · Legacy Dark · Basic Light):
Dropdown
Modal
Toast
Checklist
How to Test
npm run storybook: Token Compare → Dropdown, Modal and Toast.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