Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(styles): update border-block-end to use $border-subtle-01 #17548

Merged
merged 9 commits into from
Oct 21, 2024
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -1615,6 +1615,15 @@
"code",
"doc"
]
},
{
"login": "ziyadzulfikar",
"name": "ziyadzulfikar",
"avatar_url": "https://avatars.githubusercontent.com/u/56788667?v=4",
"profile": "https://github.com/ziyadzulfikar",
"contributions": [
"code"
]
}
],
"commitConvention": "none"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md) and our
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/pamrulla"><img src="https://avatars.githubusercontent.com/u/4942741?v=4?s=100" width="100px;" alt="Patan Amrulla Khan"/><br /><sub><b>Patan Amrulla Khan</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=pamrulla" title="Code">💻</a> <a href="https://github.com/carbon-design-system/carbon/commits?author=pamrulla" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/ziyadzulfikar"><img src="https://avatars.githubusercontent.com/u/56788667?v=4?s=100" width="100px;" alt="ziyadzulfikar"/><br /><sub><b>ziyadzulfikar</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=ziyadzulfikar" title="Code">💻</a></td>
</tr>
</tbody>
</table>
Expand Down
12 changes: 11 additions & 1 deletion packages/styles/scss/components/data-table/_data-table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@

.#{$prefix}--data-table td,
.#{$prefix}--data-table tbody th {
border-block-end: 1px solid $border-subtle;
border-block-end: 1px solid $border-subtle-01;
tay1orjones marked this conversation as resolved.
Show resolved Hide resolved
border-block-start: 1px solid $layer;
color: $text-secondary;
padding-inline: $spacing-05 $spacing-05;
Expand All @@ -215,6 +215,16 @@
}
}

.#{$prefix}--layer-two .#{$prefix}--data-table td,
.#{$prefix}--layer-two .#{$prefix}--data-table tbody th {
border-block-end: 1px solid $border-subtle-02;
}

.#{$prefix}--layer-three .#{$prefix}--data-table td,
.#{$prefix}--layer-three .#{$prefix}--data-table tbody th {
border-block-end: 1px solid $border-subtle-03;
}

@supports (-moz-appearance: none) {
.#{$prefix}--data-table td {
// Fix to show borders in ff
Expand Down