Skip to content

Commit

Permalink
feat(theme): adicionado melhoria no tema para diferentes acessibilidades
Browse files Browse the repository at this point in the history
Adicionado possibilidade de passar mais de uma opção de tema de acessibilidade como exemplo: ‘AA’ e ‘AAA’.

Fixes DTHFUI-9037
  • Loading branch information
bruno-severino authored and jcorrea97 committed Dec 9, 2024
1 parent 537f9a2 commit e3284d0
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/po-theme-custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,10 @@ po-breadcrumb {
--color: var(--color-action-default);
}

po-button-group {
--button-group-container-margin: -2px;
}

po-button-group .po-button {
--font-family: var(--font-family-theme);
--font-size: var(--font-size-default);
Expand Down Expand Up @@ -734,6 +738,7 @@ po-decimal,
po-number,
po-datepicker,
po-datepicker-range,
po-datepicker-range .po-input,
div.po-lookup-filter-content input.po-input,
input.po-input {
--font-family: var(--font-family-theme);
Expand Down Expand Up @@ -1286,6 +1291,10 @@ po-radio {
--color-checked-disabled: var(--color-neutral-dark-70);
}

po-rich-text .po-button {
--border-width: var(--border-width-md);
}

:root {
/*------------------------------------*\
RICH TEXT
Expand All @@ -1297,7 +1306,7 @@ po-radio {
--color-rich-text-body-border-error: var(--color-feedback-negative-base);
--color-rich-text-body-text-selected-color: var(--color-brand-01-lighter);

--color-rich-text-toolbar-background-color: var(--color-rich-text-body-background-color);
--color-rich-text-toolbar-background-color: var(--color-transparent);
}

/*------------------------------------*\
Expand Down Expand Up @@ -1332,7 +1341,7 @@ po-search {

--background-select: var(--background);
--background-select-hover: var(--background-hover);
--background-select-disabled: var(background-disabled);
--background-select-disabled: var(--background-disabled);
}

/*------------------------------------*\
Expand Down Expand Up @@ -1449,6 +1458,10 @@ po-tab-button {
--margin-tabs-container-right: -16px;
}

po-tabs po-tab-dropdown po-button {
--background-hover: var(--color-brand-01-lightest);
}

/*------------------------------------*\
TABLE
\*------------------------------------*/
Expand Down

0 comments on commit e3284d0

Please sign in to comment.