Fixed active border colors

pull/5507/head
Cagatay Civici 2024-02-17 01:45:34 +03:00
parent 20a81d6fab
commit cf76c80bf6
2 changed files with 12 additions and 8 deletions

View File

@ -22,7 +22,8 @@ export default {
textColorHover: '{surface.800}'
},
bodyCell: {
borderColor: '{surface.200}'
borderColor: '{surface.200}',
borderColorSelected: '{highlight.backgroundFocus}'
},
footerCell: {
background: '{surface.0}',
@ -68,7 +69,8 @@ export default {
textColorHover: '{surface.0}'
},
bodyCell: {
borderColor: '{surface.800}'
borderColor: '{surface.800}',
borderColorSelected: '{highlight.backgroundFocus}'
},
footerCell: {
background: '{surface.900}',
@ -458,11 +460,11 @@ export default {
}
.p-datatable-tbody > tr:has(+ .p-highlight) > td {
border-bottom-color: var(--p-highlight-background);
border-bottom-color: var(--p-datatable-body-cell-border-color-selected);
}
.p-datatable-tbody > tr.p-highlight > td {
border-bottom-color: var(--p-highlight-background);
border-bottom-color: var(--p-datatable-body-cell-border-color-selected);
}
.p-datatable-tbody > tr:focus-visible {

View File

@ -22,7 +22,8 @@ export default {
textColorHover: '{surface.800}'
},
bodyCell: {
borderColor: '{surface.200}'
borderColor: '{surface.200}',
borderColorSelected: '{highlight.backgroundFocus}'
},
footerCell: {
background: '{surface.0}',
@ -70,7 +71,8 @@ export default {
textColorHover: '{surface.0}'
},
bodyCell: {
borderColor: '{surface.800}'
borderColor: '{surface.800}',
borderColorSelected: '{highlight.backgroundFocus}'
},
footerCell: {
background: '{surface.900}',
@ -371,11 +373,11 @@ export default {
}
.p-treetable-tbody > tr:has(+ .p-highlight) > td {
border-bottom-color: var(--p-highlight-background);
border-bottom-color: var(--p-treetable-body-cell-border-color-selected);
}
.p-treetable-tbody > tr.p-highlight > td {
border-bottom-color: var(--p-highlight-background);
border-bottom-color: var(--p-treetable-body-cell-border-color-selected);
}
.p-treetable-tbody > tr:focus-visible {