Skip to content

Commit

Permalink
Feat(web): Switch Dropdown component to v3 design tokens #DS-1450
Browse files Browse the repository at this point in the history
  • Loading branch information
crishpeen committed Sep 3, 2024
1 parent 6ea40ff commit 7c9ab21
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@use '../../tools/breakpoint';
@use '../../tools/dictionaries';
@use '../../tools/placement';
@use 'theme' as theme;
@use 'theme';

.DropdownPopover {
@include placement.child();
Expand Down
15 changes: 8 additions & 7 deletions packages/web/src/scss/components/Dropdown/_theme.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
@use '@tokens' as tokens;
@use '@global' as global-tokens;
@use '../../settings/dictionaries';
@use '../../settings/globals';

$breakpoints: tokens.$breakpoints;
$offset: tokens.$space-400;
$padding: tokens.$space-600;
$border-radius: tokens.$radius-200;
$background: tokens.$background-basic;
$shadow: tokens.$shadow-200;
$breakpoints: global-tokens.$breakpoints;
$offset: global-tokens.$space-500;
$padding: global-tokens.$space-700;
$border-radius: global-tokens.$radius-300;
$background: var(--#{globals.$prefix}color-background-primary);
$shadow: global-tokens.$shadow-200;
$placement-dictionary: dictionaries.$placement;
2 changes: 1 addition & 1 deletion packages/web/src/scss/components/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
@forward 'Collapse';
@forward 'Container';
@forward 'Divider';
@forward 'Dropdown';

// @forward 'Dropdown';
// @forward 'FieldGroup';
// @forward 'FileUploader';
@forward 'Flex';
Expand Down

0 comments on commit 7c9ab21

Please sign in to comment.