Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
185 commits
Select commit Hold shift + click to select a range
c34a764
test
alionazherdetska Sep 12, 2025
f920ece
fix(icons): implement `meta-load.css`
alionazherdetska Sep 13, 2025
332e304
substituted the `post-icon` mixin
alionazherdetska Sep 13, 2025
a313b8a
removed redundant code
alionazherdetska Sep 13, 2025
c81bc8b
removed redundant devDependency
alionazherdetska Sep 13, 2025
9e65eca
removed devDependency
alionazherdetska Sep 13, 2025
4795422
removed devDependency
alionazherdetska Sep 13, 2025
951cc74
restored package.json
alionazherdetska Sep 13, 2025
3119d61
removed redundant code
alionazherdetska Sep 15, 2025
7e6b400
removed redundant code
alionazherdetska Sep 15, 2025
bf3bf55
removed redundant code
alionazherdetska Sep 15, 2025
06f8b9a
added missing code
alionazherdetska Sep 15, 2025
1726168
fixed linting
alionazherdetska Sep 15, 2025
01beedf
fixed linting
alionazherdetska Sep 15, 2025
7dc733d
chore(components, styles): replace `post-icons` with `ui-icons` in st…
alionazherdetska Sep 15, 2025
4a0a957
added missing code
alionazherdetska Sep 15, 2025
0afcce0
simplified code
alionazherdetska Sep 15, 2025
8129fa2
updated footer
alionazherdetska Sep 15, 2025
3ddd10f
fixed formatting
alionazherdetska Sep 16, 2025
a0df6d7
added width of `post-footer`
alionazherdetska Sep 16, 2025
c310837
updated icons for badge and banner
alionazherdetska Sep 16, 2025
d67779c
substitited icons
alionazherdetska Sep 16, 2025
b75b18b
chenged the docs
alionazherdetska Sep 16, 2025
f54ec08
reverted redundant files
alionazherdetska Sep 16, 2025
b6e8ef0
added temp files
alionazherdetska Sep 17, 2025
62a7b79
removed redundant dependency
alionazherdetska Sep 17, 2025
eb1db46
remove redundant dependencies
alionazherdetska Sep 17, 2025
82e4072
remove redundant dependencies
alionazherdetska Sep 17, 2025
36190ac
updated lock file
alionazherdetska Sep 17, 2025
4e1e032
fixed the gulp task
alionazherdetska Sep 17, 2025
8188364
small changes
alionazherdetska Sep 17, 2025
6d8dbbb
Merge branch 'main' into chore/icon-mixin-fix
alionazherdetska Sep 17, 2025
bbb8d73
reverted changes
alionazherdetska Sep 17, 2025
e8bd400
changes to pnpm-lock.yaml
alionazherdetska Sep 17, 2025
df89c40
changed the name of mixin
alionazherdetska Sep 17, 2025
8bd4253
small refactor
alionazherdetska Sep 17, 2025
f70e2d4
added a changeset
alionazherdetska Sep 17, 2025
38e5f0c
small changes
alionazherdetska Sep 17, 2025
e10aac4
changed the name of the mixin
alionazherdetska Sep 17, 2025
7430f8a
removed deprecated mixin
alionazherdetska Sep 17, 2025
3361856
removed redundant icon
alionazherdetska Sep 17, 2025
f3abd88
small fixes
alionazherdetska Sep 18, 2025
fbf12c6
fix linting
alionazherdetska Sep 18, 2025
d355e66
fix linting
alionazherdetska Sep 18, 2025
72c8fd4
Merge branch 'chore/icon-mixin-fix' into replace-post-icons-with-ui-i…
alionazherdetska Sep 18, 2025
fa087b7
temporary fix
alionazherdetska Sep 18, 2025
867065e
Merge branch 'main' into replace-post-icons-with-ui-icons
alionazherdetska Sep 18, 2025
aa764b4
changed the icons
alionazherdetska Sep 18, 2025
dacf108
changed the icons
alionazherdetska Sep 18, 2025
0426182
chenged to the ui-icon
alionazherdetska Sep 18, 2025
728da1b
fixed the test
alionazherdetska Sep 18, 2025
294f4fe
fixed linting
alionazherdetska Sep 18, 2025
17dda88
small test fixes
alionazherdetska Sep 19, 2025
dd73d8b
reverted changes for the test
alionazherdetska Sep 19, 2025
12f70f1
reverted changes for the test
alionazherdetska Sep 19, 2025
8cd6052
remove redundant test
alionazherdetska Sep 19, 2025
588156f
Merge branch 'main' into replace-post-icons-with-ui-icons
alionazherdetska Sep 19, 2025
01e57e1
reverted changes
alionazherdetska Sep 19, 2025
cdb4971
Merge branch 'replace-post-icons-with-ui-icons' of https://github.com…
alionazherdetska Sep 19, 2025
8425371
fixed linting
alionazherdetska Sep 19, 2025
94623dd
fixed unit-test
alionazherdetska Sep 19, 2025
cd260ea
reverted redundant changes
alionazherdetska Sep 19, 2025
b8c726f
removed legacy code
alionazherdetska Sep 19, 2025
46f894f
Merge branch 'main' into replace-post-icons-with-ui-icons
alionazherdetska Sep 19, 2025
2925ec4
fixed the checked lists
alionazherdetska Sep 22, 2025
26c9181
Merge branch 'main' into replace-post-icons-with-ui-icons
alionazherdetska Sep 22, 2025
15dd510
added a changeset
alionazherdetska Sep 22, 2025
8b9f193
Merge branch 'replace-post-icons-with-ui-icons' of https://github.com…
alionazherdetska Sep 22, 2025
11a2030
adjusted the changeset
alionazherdetska Sep 22, 2025
8d1dfa4
adjusted the changeset
alionazherdetska Sep 22, 2025
458821d
Merge branch 'main' into replace-post-icons-with-ui-icons
alionazherdetska Sep 24, 2025
afe3227
chore(docs): replace post-icons with ui-icons in docs (#6226)
alionazherdetska Sep 24, 2025
5991c2c
Merge branch 'main' into replace-post-icons-with-ui-icons
alionazherdetska Sep 25, 2025
d62b5ce
Delete packages/styles/tests/index_core.test.scss as legacy code
alionazherdetska Sep 26, 2025
d8f001e
Delete packages/styles/tests/core.test.scss as legacy code
alionazherdetska Sep 26, 2025
0ac82e0
chore(styles): remove `post-icon` mixin from styles package
alionazherdetska Oct 6, 2025
7f94103
replaced the `post-icon` with `icon` mixin
alionazherdetska Oct 6, 2025
3a5855d
replaced the `post-icon` with `icon` mixin
alionazherdetska Oct 6, 2025
de4c7b9
removed `post-icon`
alionazherdetska Oct 6, 2025
90c7bea
fixed code repetition
alionazherdetska Oct 6, 2025
482760e
removed redundant code
alionazherdetska Oct 6, 2025
5ca5577
reverted redundant changes
alionazherdetska Oct 6, 2025
e0392f9
removed repetition
alionazherdetska Oct 6, 2025
94506d9
removed many selectors
alionazherdetska Oct 6, 2025
e3e2e56
removed redundant comment
alionazherdetska Oct 6, 2025
9e2e642
fixed typo
alionazherdetska Oct 6, 2025
79da765
Merge branch 'main' into 5960-remove-post-icon-mixin-from-styles-package
alionazherdetska Oct 6, 2025
dda2f57
fixed the sample
alionazherdetska Oct 6, 2025
da332aa
Merge branch '5960-remove-post-icon-mixin-from-styles-package' of htt…
alionazherdetska Oct 6, 2025
bd1d069
fixed linting
alionazherdetska Oct 6, 2025
83daa75
fixed linting
alionazherdetska Oct 6, 2025
387845d
fixed linting
alionazherdetska Oct 6, 2025
a53aa32
fixed linting
alionazherdetska Oct 6, 2025
ffa243e
changed the sample
alionazherdetska Oct 6, 2025
b9a9d6f
added a comment
alionazherdetska Oct 6, 2025
bc23198
fixed comment
alionazherdetska Oct 7, 2025
5177e37
small fixes
alionazherdetska Oct 7, 2025
e05d308
color fixes
alionazherdetska Oct 7, 2025
c2195c1
added a changeset
alionazherdetska Oct 7, 2025
28b200f
added a changeset
alionazherdetska Oct 7, 2025
68f2ab6
added a changeset
alionazherdetska Oct 7, 2025
f5d64e4
refactored the changeset
alionazherdetska Oct 7, 2025
8e2aec9
adjusted the changeset
alionazherdetska Oct 7, 2025
5452a59
changed the mixin sample
alionazherdetska Oct 7, 2025
5b40c62
small changes to styles
alionazherdetska Oct 7, 2025
e5858a8
fixed the wrong token value
alionazherdetska Oct 7, 2025
8e8eda1
fixed linting
alionazherdetska Oct 7, 2025
7195bfa
Merge branch 'main' into 5960-remove-post-icon-mixin-from-styles-package
alionazherdetska Oct 7, 2025
6f35921
fixed linting
alionazherdetska Oct 7, 2025
8ffcac4
Merge branch '5960-remove-post-icon-mixin-from-styles-package' of htt…
alionazherdetska Oct 7, 2025
b510d8d
fixed linting
alionazherdetska Oct 7, 2025
ce0a0af
Merge branch 'main' into 5960-remove-post-icon-mixin-from-styles-package
alionazherdetska Oct 8, 2025
d470dfe
test
alionazherdetska Oct 8, 2025
7ba292f
slight changes
alionazherdetska Oct 9, 2025
18b4ea9
fixed the coloring
alionazherdetska Oct 9, 2025
29527a0
small refactors
alionazherdetska Oct 9, 2025
820ee7c
small fix
alionazherdetska Oct 9, 2025
755baf7
small change
alionazherdetska Oct 9, 2025
c34507f
small change
alionazherdetska Oct 9, 2025
db153f5
fixed litning
alionazherdetska Oct 9, 2025
d32e767
fix
alionazherdetska Oct 9, 2025
c18e4e8
fixed mainnaviagtion
alionazherdetska Oct 9, 2025
6392127
changes comment
alionazherdetska Oct 9, 2025
e0c37fd
added icons
alionazherdetska Oct 9, 2025
b60df82
fixed naming
alionazherdetska Oct 9, 2025
a7aa64f
removed redundant property
alionazherdetska Oct 9, 2025
f47e925
unified naming
alionazherdetska Oct 9, 2025
d588993
Update .changeset/giant-clocks-chew.md
alionazherdetska Oct 14, 2025
fc88ab5
Apply suggestion from @alizedebray
alionazherdetska Oct 14, 2025
48acac6
Update comment on color style rule
alionazherdetska Oct 14, 2025
0ade463
fixed the position of the mixin
alionazherdetska Oct 14, 2025
81a5c88
Merge branch '5960-remove-post-icon-mixin-from-styles-package' of htt…
alionazherdetska Oct 14, 2025
a94dbf4
refactored custom-property mixin
alionazherdetska Oct 15, 2025
5368617
refactored custom-property mixin
alionazherdetska Oct 15, 2025
602ef13
Merge branch 'main' into 5960-remove-post-icon-mixin-from-styles-package
alionazherdetska Oct 15, 2025
495a2ad
Apply suggestion from @alizedebray
alionazherdetska Oct 15, 2025
09e5c37
Merge branch 'main' into 5960-remove-post-icon-mixin-from-styles-package
alionazherdetska Oct 15, 2025
906ee14
Merge branch '5960-remove-post-icon-mixin-from-styles-package' of htt…
alionazherdetska Oct 15, 2025
a3012ac
simplified the code
alionazherdetska Oct 15, 2025
22d4fd2
refactoring
alionazherdetska Oct 15, 2025
23df6ad
small improvements
alionazherdetska Oct 15, 2025
c16054d
fixed the changeset
alionazherdetska Oct 15, 2025
e5d5962
moved the mixin to the initial placement
alionazherdetska Oct 15, 2025
eedd20a
refactoring
alionazherdetska Oct 15, 2025
0124a8e
Merge branch 'main' into replace-post-icons-with-ui-icons
alionazherdetska Oct 20, 2025
e082f6f
removed deprecated code
alionazherdetska Oct 20, 2025
d0afdfc
updated the styles files to use `icon` mixin
alionazherdetska Oct 21, 2025
436c2b7
changed the examples
alionazherdetska Oct 21, 2025
cfa617d
slight changes
alionazherdetska Oct 21, 2025
8d25971
removed redundant code
alionazherdetska Oct 21, 2025
da544f8
fixed linting
alionazherdetska Oct 21, 2025
f3d1d47
added the missing properties
alionazherdetska Oct 21, 2025
036ea59
added the missing properties
alionazherdetska Oct 21, 2025
7aa4b87
removed repetition
alionazherdetska Oct 21, 2025
cec2015
removed redundant code
alionazherdetska Oct 22, 2025
d36d5e4
Merge branch 'main' into 5960-remove-post-icon-mixin-from-styles-package
alionazherdetska Oct 22, 2025
f2480c9
renamed the `post-icon` mixin to `icon`
alionazherdetska Oct 27, 2025
8103a23
fixed linting
alionazherdetska Oct 27, 2025
688d619
added the path to the mixin
alionazherdetska Oct 27, 2025
4500cda
fixed the calling icon
alionazherdetska Oct 27, 2025
4801c93
fixed the linting
alionazherdetska Oct 27, 2025
57ee024
fixed the linting
alionazherdetska Oct 27, 2025
0749824
fixed the mixin call
alionazherdetska Oct 27, 2025
c5e949d
refactored the changeset
alionazherdetska Oct 27, 2025
a85b509
refactored the changeset
alionazherdetska Oct 27, 2025
e0d3338
refactored the changeset
alionazherdetska Oct 27, 2025
3f0b8fb
fixed linting
alionazherdetska Oct 27, 2025
f63b6ae
removed redundant code
alionazherdetska Oct 27, 2025
a2bb466
Merge branch '5960-remove-post-icon-mixin-from-styles-package' into r…
alionazherdetska Oct 27, 2025
f498287
Merge branch 'main' into replace-post-icons-with-ui-icons
alionazherdetska Oct 27, 2025
c64798d
changed post-icons with ui icons
alionazherdetska Oct 27, 2025
84c2b5e
changed the icon in the stepper
alionazherdetska Oct 27, 2025
d69808b
changed the icon in the stepper and list-check
alionazherdetska Oct 27, 2025
cc543aa
changed the icon in the card
alionazherdetska Oct 27, 2025
12ab3b0
changed the icon in the list-check
alionazherdetska Oct 27, 2025
156f628
removed the extra spaces
alionazherdetska Oct 27, 2025
7454f39
updated the icons in the primeng package
alionazherdetska Oct 27, 2025
4102f57
fixed the linting
alionazherdetska Oct 27, 2025
74e4db6
Merge branch 'main' into replace-post-icons-with-ui-icons
alionazherdetska Oct 27, 2025
19e3c53
Merge branch 'main' into replace-post-icons-with-ui-icons
alionazherdetska Oct 27, 2025
4bf9fb0
updated the icons to ui icons
alionazherdetska Oct 27, 2025
11b7785
Merge branch 'replace-post-icons-with-ui-icons' of https://github.com…
alionazherdetska Oct 27, 2025
cc9450b
updated the icons to ui icons
alionazherdetska Oct 27, 2025
ca6da82
fixed the mixin
alionazherdetska Oct 27, 2025
ec75eee
reset the redundant changes
alionazherdetska Oct 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/gentle-doors-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-components': patch
'@swisspost/design-system-styles': patch
---

Replaced `Post Icons` with their corresponding `UI Icon` equivalents across the package to align icon usage with the current design guidelines.
2 changes: 1 addition & 1 deletion packages/components/cypress/e2e/accordion.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('accordion', () => {
cy.get('@collapsibles').each(($item) => {
cy.wrap($item)
.shadow()
.find('post-icon[name="2051"]')
.find('post-icon[name="chevrondown"]')
.should('exist');
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class PostAccordionItem {
<slot name="logo" onSlotchange={this.onSlotLogoChange.bind(this)}></slot>
</span>
<slot name="header" />
<post-icon name="2051"></post-icon>
<post-icon name="chevrondown"></post-icon>
</button>
</HeadingTag>
</post-collapsible-trigger>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class PostBackToTop {
tabindex={this.belowFold ? '0' : '-1'}
onClick={this.scrollToTop}
>
<post-icon aria-hidden="true" name="3026"></post-icon>
<post-icon aria-hidden="true" name="arrowup"></post-icon>
<span class="visually-hidden">{this.label}</span>
</button>
</Host>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class PostBreadcrumbItem {

return (
<Host data-version={version}>
<post-icon name="2111" class="breadcrumb-item-icon" />
<post-icon name="chevronright" class="breadcrumb-item-icon" />
<BreadcrumbTag
class="breadcrumb-item"
{...(this.validUrl ? { href: this.validUrl } : {})}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class PostBreadcrumbs {
}
}}
>
<post-icon name="2111" class="breadcrumb-item-icon" />
<post-icon name="chevronright" class="breadcrumb-item-icon" />
<div class="actual-menu">
<post-menu-trigger for="breadcrumb-menu" tabIndex={0}>
<button class="btn test" tabIndex={-1}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@use '@swisspost/design-system-styles/variables/elevation';
@use '@swisspost/design-system-styles/variables/color';

@include icons.custom-property('2113');
@include icons.custom-property('chevrondown');

post-mainnavigation {
// reset links and buttons
Expand Down Expand Up @@ -49,7 +49,7 @@ post-mainnavigation {
post-megadropdown-trigger button {
&::after {
content: '';
@include icons.mask-image(2113);
@include icons.mask-image('chevrondown');
height: 24px;
width: 24px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ export class PostRating {
onMouseEnter={e => this.hoverHandler(i, e)}
onMouseLeave={e => this.hoverHandler(i, e)}
>
<post-icon name="2062" class="stroke"></post-icon>
<post-icon name="2574" class="fill"></post-icon>
<post-icon name="favoritestar" class="stroke"></post-icon>
<post-icon name="favoritestar-solid" class="fill"></post-icon>
</div>
))}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,19 @@

// Load all icon CSS files used in this component
@include post.custom-property(
('2040', '2015', '2113', '2060', '2127', '2112', '3026', '3022', '3035', '2043', '2070')
(
'plus',
'trash',
'chevrondown',
'filter',
'updown',
'chevronup',
'arrowup',
'arrowdown',
'checkmark',
'closex',
'burger'
)
);

@mixin custom-icon($icon) {
Expand All @@ -18,49 +30,49 @@
}

plusicon {
@include custom-icon(2040);
@include custom-icon('plus');
}

trashicon {
@include custom-icon(2015);
@include custom-icon('trash');
}

chevrondownicon {
@include custom-icon(2113);
@include custom-icon('chevrondown');
}

filtericon {
@include custom-icon(2060);
@include custom-icon('filter');
}

sortalticon {
@include custom-icon(2127);
@include custom-icon('updown');
}

sortamountupalticon {
@include custom-icon(2112);
@include custom-icon('chevronup');
}

sortamountdownicon {
@include custom-icon(2113);
@include custom-icon('chevrondown');
}

arrowupicon {
@include custom-icon(3026);
@include custom-icon('arrowup');
}

arrowdownicon {
@include custom-icon(3022);
@include custom-icon('arrowdown');
}

checkicon {
@include custom-icon(3035);
@include custom-icon('checkmark');
}

timesicon {
@include custom-icon(2043);
@include custom-icon('closex');
}

.p-datatable-reorderablerow-handle {
@include custom-icon(2070);
@include custom-icon('burger');
}
4 changes: 2 additions & 2 deletions packages/styles/src/components/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

tokens.$default-map: components.$post-cards;

@include icons-mx.custom-property(3020);
@include icons-mx.custom-property('arrowright');

.card {
display: flex;
Expand Down Expand Up @@ -104,7 +104,7 @@ tokens.$default-map: components.$post-cards;
-ms-flex-align: center;

&::before {
@include icons-mx.mask-image(3020);
@include icons-mx.mask-image('arrowright');
content: '';
display: inline-block;
width: icons.$icon-size-default;
Expand Down
4 changes: 2 additions & 2 deletions packages/styles/src/components/list-check.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

tokens.$default-map: components.$post-listcheck;

@include icons-mx.custom-property('3035');
@include icons-mx.custom-property('checkmark');

ul.list-check {
@include utilities.reset-list;
Expand Down Expand Up @@ -70,7 +70,7 @@ ul.list-check {
width: tokens.get('list-check-sizing-icon');
height: tokens.get('list-check-sizing-icon');
content: '';
@include icons-mx.mask-image('3035');
@include icons-mx.mask-image('checkmark');
color: tokens.get('list-check-color-icon-fg');

@include media.max(sm) {
Expand Down
4 changes: 2 additions & 2 deletions packages/styles/src/components/stepper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

tokens.$default-map: utilities.$post-spacing;

@include icons-mx.custom-property(2105);
@include icons-mx.custom-property('checkmark');

// for backward compatibility
.stepper-container {
Expand Down Expand Up @@ -174,7 +174,7 @@ tokens.$default-map: utilities.$post-spacing;

// check icon
.stepper-link::after {
@include icons-mx.mask-image(2105);
@include icons-mx.mask-image('checkmark');
display: block;
position: absolute;
top: calc((stepper.$stepper-indicator-size - stepper.$stepper-indicator-check-icon-size) / 2);
Expand Down
16 changes: 0 additions & 16 deletions packages/styles/src/mixins/_animation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,3 @@
}
}
}

// DEPRECATED
@mixin hover-animation-svg-icon($color, $icon-name, $stroke-width: null) {
&:not(:disabled):not(.disabled) > span {
&::after {
@if ($stroke-width == null) {
$icon: icons.get-colored-svg-url($icon-name, $color);
background-image: url('#{$icon}');
} @else {
$icon: icons.get-colored-svg-url($icon-name, $color);
$icon: icons.add-stroke-color($icon, $color, $stroke-width);
background-image: url('#{$icon}');
}
}
}
}
7 changes: 1 addition & 6 deletions packages/styles/src/variables/components/_stepper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
@use './../color';
@use './../animation';

@use './../../functions/icons' as icon-fn;

@use '../../tokens/utilities';
@use '../../functions/tokens';

Expand All @@ -19,7 +17,7 @@ $stepper-indicator-border-color: rgb(var(--post-bg-rgb, 255 255 255));
$stepper-indicator-font-weight: type.$font-weight-bold;
$stepper-indicator-bg: color.$yellow;
$stepper-indicator-color: color.$black;
$stepper-indicator-check-size: tokens.get('utility-gap-24');
$stepper-indicator-check-icon-size: tokens.get('utility-gap-24');
$stepper-indicator-transition:
color animation.$transition-base-timing,
background-color animation.$transition-base-timing;
Expand All @@ -29,9 +27,6 @@ $stepper-indicator-hover-bg: color.$black;

$stepper-indicator-future-bg: color.$gray-60;
$stepper-indicator-future-color: color.$white;
$_stepper-indicator-check-icon: icon-fn.get-colored-svg-url('2105', $stepper-indicator-color);
$stepper-indicator-check-icon: url('#{$_stepper-indicator-check-icon}');
$stepper-indicator-check-icon-size: $stepper-indicator-check-size;

$stepper-link-line-height: type.$line-height-sm;
$stepper-link-gap: tokens.get('utility-gap-8');
Expand Down
14 changes: 0 additions & 14 deletions packages/styles/tests/core.test.scss

This file was deleted.

8 changes: 0 additions & 8 deletions packages/styles/tests/functions/icons.test.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ $expected-add-fill-color-output: "data:image/svg+xml,%3Csvg xmlns='http://www.w3
$expected-add-fill-color-output
);

$expected-add-stroke-color-output: "data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-width='2px' stroke='%23ffffff' opacity='1' fill='%23000000' d='M32 14 19.8 1.7l-.4-.4-18 18 .4.4L6 24H0v5.3h11.3L10 28H1.3v-2.7h6L14 32l2.6-2.6H32V24H22zM18.5 4.1l.3 13.2c0 .4-.1.7-.4 1s-.6.4-1 .4h-.1l-13.2-.2zM14.9 20h2.4c1.5 0 2.8-1.3 2.7-2.9l-.1-3 9.5.3-14.2 14.5zm14.5-6.7-9.4-.4-.2-9.3zM13.6 20l.3 10.1L3.7 19.8zm17.1 5.4V28H18l2.7-2.7h10z'/%3E%3C/svg%3E";

// add-stroke-color
@include jest.equal(
icons.add-stroke-color(icons.get-colored-svg-url('1000', #000), #fff, 2px),
$expected-add-stroke-color-output
);

// get-colored-svg-url
.test {
@each $name, $path in icon-vars.$svg-icon-map {
Expand Down
6 changes: 0 additions & 6 deletions packages/styles/tests/index_core.test.scss

This file was deleted.

1 change: 0 additions & 1 deletion packages/styles/tests/mixins/animation.test.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@

body {
@include animation.hover-animation(10px, 500px, 500px);
@include animation.hover-animation-svg-icon(red, 2021);
}
1 change: 0 additions & 1 deletion packages/styles/tests/mixins/index.test.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

body {
@include mixins.hover-animation(10px, 500px, 500px);
@include mixins.hover-animation-svg-icon(red, 2021);
@include mixins.focus-outline();

@include mixins.font-smoothing();
Expand Down
Loading