ROU-12875: Align Dropdown, DatePicker and Animated Label with Figma - #1197
Merged
Conversation
- Add --osui-dropdown-tag-color CSS API property (text-subtlest) - Use icon-subtlest for tag clear button and search clear icon, darkening to icon-default on hover (replaces opacity-based states) - Use bg-neutral-subtlest-hover for focused options (including selected) - Adjust tag horizontal padding to space tokens - Fix Service Studio dropdown preview padding and vertical alignment - Storybook: mirror platform mode class (osui-dropdown-search/tags) on the widget root
Remove the tablet/phone top offset on .animated-label-text, restoring the default floating label position on mobile.
The border.subtle token fix (neutral.100 -> neutral.300) is upstream in outsystems-design-tokens PR #99. Once released and the dependency is bumped, this alias resolves to the intended neutral-300; until then the token still resolves to neutral-100.
Regenerated with npm run docs:css-api. Picks up the new --osui-dropdown-tag-color property, the --osui-border-subtle default, and catches up the Badge/IconBadge entries from ROU-12877 that were missing from the generated docs.
… better alignment with Figma
|
BenOsodrac
approved these changes
Aug 5, 2026
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.



This PR is for aligning the Dropdown (search/tags), DatePicker calendar, and Animated Label visuals with the Figma spec, and for routing remaining hardcoded values through design tokens.
What was happening
--color-textwith opacity-based hover states, diverging from the Figma spec (subtlest icon/text colors with a darkened hover state)#91999e) and the search placeholder used--color-textat 50% opacity--color-border-subtleas background, and focused+selected options had no visual feedback--color-borderinstead of matching the disabled input border, and the disabled-state rules were nested under the search/tags mode classes only, tinting the whole toggle button instead of just the value text--osui-border-subtle--osui-border-subtlepointed directly at$token-primitives-neutral-300as a workaround while theborder.subtletoken was wrong upstream (neutral.100); the fix is now upstream in outsystems-design-tokens PR 99What was done
--osui-dropdown-tag-colorCSS API property defaulting to$token-text-subtlest$token-icon-subtlest, darkening to$token-icon-defaulton hover (replaces the opacity-based states)$token-scale-700, horizontal padding adjusted to space tokens (0 $token-space-200 0 $token-space-300), and the "toggle all" checkbox moved to the end of the search bar--color-text-subtlest; clear icon hex replaced with$token-icon-subtlest--color-text-subtlest(placeholder state), switches to--color-texton hover, and stays--color-textwhenever the dropdown has a value$token-bg-neutral-subtlest-hover--color-border-inputto match disabled inputs; disabled-state styles consolidated at the widget root classes (osui-dropdown/osui-dropdown-search/osui-dropdown-tags), with the disabled text color scoped to the value element--color-text-subtle; hovered/focused day cells use$token-bg-neutral-subtle-defaultbackground with--color-borderand--color-text; "Today" button separator uses--color-border$token-border-radius-200), padding ($token-space-400), text color ($token-text-subtlest), and vertical centeringosui-dropdown-search/osui-dropdown-tags) on the widget root.animated-label-text--osui-border-subtlenow aliases$token-border-subtle(resolves to the intended neutral-300 once the upstream token fix ships and the dependency is bumped)Test Steps
npm run dev -- --target ODCand open the Storybook/dev page with a Dropdown in tags modeScreenshots
(prefer animated gif)
Checklist