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

feat(styles): implement v2 styles for checkbox, radio-button & switch using tokens #3965

Open
wants to merge 127 commits into
base: main
Choose a base branch
from

Conversation

schaertim
Copy link
Contributor

No description provided.

schaertim and others added 30 commits September 10, 2024 15:22
commit 8825864
Author: Tim Schär <[email protected]>
Date:   Tue Sep 10 15:22:04 2024 +0200

    fix(setup): build tokens before styles is started
…-for-focus-ring-styling' into 3275-component-switch
…-for-focus-ring-styling' of https://github.com/swisspost/design-system into 3587-extend-focus-style-mixin-by-adding-optional-params-for-focus-ring-styling
…-for-focus-ring-styling' into 3275-component-switch
@schaertim
Copy link
Contributor Author

E2E test for the card-control currently fail. The issue is that some tests use a fixture file which needs to load the styles file and the fonts. The fonts however are not able to be loaded due to proxy problems. After discussing this with philipp we decided to postpone finding a solution for this so the PR can be reviewed and merged.

Some of the spacing styles of the radio-button and the checkbox within fieldsets is not looking like the design right now. This is due to some styling having to be done in the fieldset styles instead of the checkbox/radio styles. A ticket to do this has been created.

@schaertim schaertim self-assigned this Nov 12, 2024
@schaertim schaertim marked this pull request as ready for review November 12, 2024 15:52
@schaertim schaertim requested review from a team as code owners November 12, 2024 15:52
.changeset/chatty-kiwis-travel.md Outdated Show resolved Hide resolved
.changeset/slimy-singers-wonder.md Outdated Show resolved Hide resolved
.changeset/dull-zoos-whisper.md Outdated Show resolved Hide resolved
packages/styles/src/components/checkbox.scss Show resolved Hide resolved
packages/styles/src/components/checkbox.scss Show resolved Hide resolved
packages/styles/src/components/checkbox.scss Show resolved Hide resolved
packages/styles/src/components/radio-button.scss Outdated Show resolved Hide resolved
packages/styles/src/components/switch.scss Outdated Show resolved Hide resolved
packages/styles/src/elements/reset.scss Show resolved Hide resolved
packages/styles/src/components/_form-check.scss Outdated Show resolved Hide resolved
Copy link

socket-security bot commented Nov 14, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] Transitive: environment, filesystem, shell, unsafe +30 1.76 MB simenb

View full report↗︎

Copy link

sonarcloud bot commented Nov 14, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[component]: Radio Button (rework) [component]: Switch [component]: Radio button [component]: Checkbox
4 participants