From d8e9fa75d01eccfd895dc717d982aebc9966c836 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 1 Jul 2024 14:30:47 +0300 Subject: [PATCH] Fixed tokens --- apps/showcase/doc/badge/SeverityDoc.vue | 8 ++++---- packages/primevue/src/treetable/style/TreeTableStyle.js | 6 +++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/apps/showcase/doc/badge/SeverityDoc.vue b/apps/showcase/doc/badge/SeverityDoc.vue index 294143a6c..f1e8b9801 100644 --- a/apps/showcase/doc/badge/SeverityDoc.vue +++ b/apps/showcase/doc/badge/SeverityDoc.vue @@ -7,7 +7,7 @@ - + @@ -24,7 +24,7 @@ export default { - + `, @@ -35,7 +35,7 @@ export default { - + @@ -51,7 +51,7 @@ export default { - + diff --git a/packages/primevue/src/treetable/style/TreeTableStyle.js b/packages/primevue/src/treetable/style/TreeTableStyle.js index d39fba4c9..c39513c0e 100644 --- a/packages/primevue/src/treetable/style/TreeTableStyle.js +++ b/packages/primevue/src/treetable/style/TreeTableStyle.js @@ -386,6 +386,10 @@ p-treetable-gridlines .p-treetable-tbody > tr:last-child > td { gap: ${dt('treetable.body.cell.gap')}; } +.p-treetable-tbody > tr.p-treetable-row-selected .p-treetable-node-toggle-button { + color: inherit; +} + .p-treetable-node-toggle-button { display: inline-flex; align-items: center; @@ -412,7 +416,7 @@ p-treetable-gridlines .p-treetable-tbody > tr:last-child > td { .p-treetable-tbody > tr.p-treetable-row-selected .p-treetable-node-toggle-button:hover { background: ${dt('treetable.node.toggle.button.selected.hover.background')}; - ${dt('treetable.node.toggle.button.selected.hover.color')}; + color: ${dt('treetable.node.toggle.button.selected.hover.color')}; } .p-treetable-node-toggle-button:focus-visible {