diff --git a/packages/documentation/src/stories/components/forms/switch/switch.stories.ts b/packages/documentation/src/stories/components/forms/switch/switch.stories.ts index 2ebde7a6ce..7448501bb7 100644 --- a/packages/documentation/src/stories/components/forms/switch/switch.stories.ts +++ b/packages/documentation/src/stories/components/forms/switch/switch.stories.ts @@ -18,7 +18,7 @@ const meta: MetaComponent = { }, }, args: { - labelPosition: 'before', + labelPosition: 'after', label: 'Notifications', hiddenLabel: false, checked: false, diff --git a/packages/styles/src/components/form-check.scss b/packages/styles/src/components/form-check.scss index f546bae0a9..f9e7a20494 100644 --- a/packages/styles/src/components/form-check.scss +++ b/packages/styles/src/components/form-check.scss @@ -223,7 +223,15 @@ $switch-handle-icon-disabled: url("data:image/svg+xml, input[aria-label])) { + border-radius: tokens.get('switch', 'focus-border-radius'); + } + + &:has(> input[aria-label]) { + border-radius: tokens.get('switch', 'border-radius-round'); + } } .form-check-input { @@ -288,7 +296,7 @@ $switch-handle-icon-disabled: url("data:image/svg+xml,