Skip to content

Commit

Permalink
feat(stepper): implementa definições do AnimaliaDS
Browse files Browse the repository at this point in the history
Implementa definições de estilo e acessibilidade definidos pelo AnimaliaDS

Fixes DTHFUI-7810
  • Loading branch information
anabye committed Sep 18, 2024
1 parent f6ff050 commit 6bad39f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/css/components/po-stepper/po-stepper.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,22 @@
position: relative;
}

.po-stepper-horizontal .po-stepper-step {
margin-right: 1rem;
}

.po-stepper-step:not(.po-stepper-step-disabled):focus-visible {
outline-color: var(--outline-color-focused);
outline-width: var(--outline-width);
outline-style: solid;
outline-offset: 2px;
margin-right: 1em;
z-index: 1000;
}

.po-stepper-horizontal .po-stepper-step:not(.po-stepper-step-disabled):focus-visible {
margin-right: 1rem;
}

.po-stepper-step-container {
height: 100%;
position: relative;
Expand Down
2 changes: 2 additions & 0 deletions src/css/themes/po-theme-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -1308,6 +1308,8 @@ po-stepper {
--font-size-circle: var(--font-size-sm);
--color-next: var(--color-action-disabled);
--text-color-next: var(--color-neutral-light-30);

--outline-color-focused: var(--color-action-focus);
}

:root {
Expand Down

0 comments on commit 6bad39f

Please sign in to comment.