diff --git a/src/assets/main.css b/src/assets/main.css index fa090aae..095d46fc 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -10,29 +10,30 @@ @layer components { .card, .collapse { - background-color: var(--fallback-b1, oklch(var(--b1))); + background-color: var(--fallback-b1, oklch(var(--b1) / var(--tw-bg-opacity, 1))); @apply rounded-xl shadow-md; } } @for $i from 0 to 100 { .custom-background.custom-background-$(i) { + .bg-base-100, + .bg-base-200, .card, .collapse, - .bg-base-100, - .table { - background-color: var(--fallback-b1, oklch(var(--b1) / calc($(i) / 100))); + .table, + .drawer-side, + .tabs, + .table tbody tr { + --tw-bg-opacity: calc($(i) / 100); } - .drawer-content.bg-base-200\/40 { - background-color: transparent; + .table tbody tr { + border-bottom-width: 0px; } - .drawer-side, - .tabs, - .bg-base-200, - .table tbody tr:nth-child(even) { - background-color: var(--fallback-b2, oklch(var(--b2) / calc($(i) / 100))); + .drawer-content.bg-base-200\/40 { + background-color: transparent; } } } diff --git a/src/components/connections/ConnectionTable.vue b/src/components/connections/ConnectionTable.vue index 8281bd05..d97c519b 100644 --- a/src/components/connections/ConnectionTable.vue +++ b/src/components/connections/ConnectionTable.vue @@ -1,13 +1,13 @@