From 43cbdbffedaa4f60947f76dc06728466a93d261d Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 27 Sep 2020 14:12:37 -0700 Subject: Add striped table columns --- scss/_tables.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scss/_tables.scss b/scss/_tables.scss index 47ffde166..a6b2b2f69 100644 --- a/scss/_tables.scss +++ b/scss/_tables.scss @@ -104,6 +104,13 @@ } } +.table-striped-cols { + > tbody > td:nth-of-type(#{$table-striped-order}) { + --bs-table-accent-bg: var(--bs-table-striped-bg); + color: var(--bs-table-striped-color); + } +} + // Active table // // The `.table-active` class can be added to highlight rows or cells -- cgit v1.2.3