Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(style): applied styles to the links and icon-btns in the Composible Footer for HCM #4333

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions .changeset/fresh-schools-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Added styles for text links and icon-buttons for Composible Footer in HCM.
19 changes: 19 additions & 0 deletions packages/styles/src/components/globals/post-footer.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@use '../../variables/color';
@use '../../mixins/media';
@use '../../mixins/list';
@use '../../mixins/utilities';

post-footer {
// mobile
Expand Down Expand Up @@ -37,6 +38,24 @@ post-footer {
&:not(.btn-icon, .app-store-badge) {
display: block;
text-decoration: none;

&:hover {
@include utilities.high-contrast-mode() {
text-decoration: underline;
}
}
}

&.btn-icon {
@include utilities.high-contrast-mode() {
color: CanvasText !important;
}

&:hover {
@include utilities.high-contrast-mode() {
color: LinkText !important;
}
}
}
}

Expand Down
Loading