Skip to content

Commit

Permalink
Feat(web): Switch Breadcrumbs component to v3 design tokens #DS-1450
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkudrna committed Aug 29, 2024
1 parent e4b2f63 commit 6da6c02
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions packages/web/src/scss/components/Breadcrumbs/_theme.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@use 'sass:map';
@use '@tokens' as tokens;
@use '@global' as global-tokens;
@use '../../settings/globals';

$breakpoints: tokens.$breakpoints;
$breakpoints: global-tokens.$breakpoints;

$typography: tokens.$body-small-text-regular;
$color: tokens.$text-secondary-default;
$typography: global-tokens.$body-4-regular;
$color: var(--#{globals.$prefix}color-text-secondary);

$gap-mobile-up: tokens.$space-300;
$gap-tablet-up: tokens.$space-400;
$gap-mobile-up: global-tokens.$space-300;
$gap-tablet-up: global-tokens.$space-500;
3 changes: 2 additions & 1 deletion packages/web/src/scss/components/index.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// This code is commented out until we switch it to the new token system
// @forward 'Accordion';
// @forward 'Alert';
// @forward 'Breadcrumbs';
@forward 'Breadcrumbs';

// @forward 'Button';
// @forward 'Checkbox';
@forward 'Collapse';
Expand Down
1 change: 0 additions & 1 deletion tests/e2e/demo-components-compare.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { formatPackageName, getServerUrl, takeScreenshot, waitForPageLoad } from
const IGNORED_TESTS: string[] = [
'Accordion',
'Alert',
'Breadcrumbs',
'Button',
'ButtonLink',
'Checkbox',
Expand Down

0 comments on commit 6da6c02

Please sign in to comment.