From 9645be5a6f3d35d11fb0fa88858124dc69dd9b36 Mon Sep 17 00:00:00 2001 From: norddinh Date: Mon, 16 Dec 2024 11:33:15 +0100 Subject: [PATCH] Change border color Table --- .../styles/framework/src/elements/_table.scss | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/packages/styles/framework/src/elements/_table.scss b/packages/styles/framework/src/elements/_table.scss index 3588d350..58e0db0a 100644 --- a/packages/styles/framework/src/elements/_table.scss +++ b/packages/styles/framework/src/elements/_table.scss @@ -26,7 +26,7 @@ td, th { - border: 1px solid getColor('neutral-fade'); + border: var(--border); border-width: 0; padding: 20px; vertical-align: top; @@ -71,7 +71,7 @@ } td { - border-bottom: 1px solid getColor('neutral-fade'); + border-bottom: var(--border); > p { margin: 0; @@ -89,7 +89,6 @@ td, th { - border-color: currentColor; color: currentColor; } } @@ -154,15 +153,15 @@ } &.has-border-all { - border: 1px solid getColor('neutral-fade'); + border: var(--border); th { - border-right: 1px solid getColor('neutral-fade'); + border-right: var(--border); } td { &:not(:last-child) { - border-right: 1px solid getColor('neutral-fade'); + border-right: var(--border); } } } @@ -170,13 +169,13 @@ &.has-border-inner { th { &:not(:last-child) { - border-right: 1px solid getColor('neutral-fade'); + border-right: var(--border); } } td { &:not(:last-child) { - border-right: 1px solid getColor('neutral-fade'); + border-right: var(--border); } } } @@ -216,7 +215,7 @@ tr:not(:first-child) { td { - border-top: 1px solid getColor('neutral'); + border-top: var(--border); } }