@@ -6,7 +6,7 @@ $theme: $material;
66:host {
77 display : grid ;
88 width : 100% ;
9- border-block-end : rem ( 1 px ) solid var-get ($theme , ' row-border-color' );
9+ border-block-end : var-get ( $theme , ' row-border-width ' ) var-get ( $theme , ' row-border-style ' ) var-get ($theme , ' row-border-color' );
1010 background : var-get ($theme , ' content-background' );
1111 color : var-get ($theme , ' row-odd-text-color' );
1212 z-index : var (--z-index-base );
@@ -20,14 +20,26 @@ $theme: $material;
2020:host (:nth-of-type (odd )) {
2121 background : var-get ($theme , ' row-odd-background' );
2222 color : var-get ($theme , ' row-odd-text-color' );
23+
24+ & ::part (cell ) {
25+ border-inline-end-color : var-get ($theme , ' body-column-border-color-odd' );
26+ }
2327}
2428
2529:host (:nth-of-type (even )) {
2630 background : var-get ($theme , ' row-even-background' );
2731 color : var-get ($theme , ' row-even-text-color' );
32+
33+ & ::part (cell ) {
34+ border-inline-end-color : var-get ($theme , ' body-column-border-color-even' );
35+ }
2836}
2937
3038:host (:hover ) {
3139 background : var-get ($theme , ' row-hover-background' );
3240 color : var-get ($theme , ' row-hover-text-color' );
41+
42+ & ::part (cell ) {
43+ border-inline-end-color : var-get ($theme , ' body-column-hover-border-color' );
44+ }
3345}
0 commit comments