Skip to content

Commit

Permalink
Merge pull request #218 from BouyguesTelecom/fix/table-style
Browse files Browse the repository at this point in the history
Change border color Table
  • Loading branch information
JulienMora authored Dec 16, 2024
2 parents fa78424 + 9645be5 commit c1d587c
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions packages/styles/framework/src/elements/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

td,
th {
border: 1px solid getColor('neutral-fade');
border: var(--border);
border-width: 0;
padding: 20px;
vertical-align: top;
Expand Down Expand Up @@ -71,7 +71,7 @@
}

td {
border-bottom: 1px solid getColor('neutral-fade');
border-bottom: var(--border);

> p {
margin: 0;
Expand All @@ -89,7 +89,6 @@

td,
th {
border-color: currentColor;
color: currentColor;
}
}
Expand Down Expand Up @@ -154,29 +153,29 @@
}

&.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);
}
}
}

&.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);
}
}
}
Expand Down Expand Up @@ -216,7 +215,7 @@

tr:not(:first-child) {
td {
border-top: 1px solid getColor('neutral');
border-top: var(--border);
}
}

Expand Down

0 comments on commit c1d587c

Please sign in to comment.