@@ -956,6 +956,34 @@ export const localized_TestOnly = (): string => html`<calcite-table
956
956
</ calcite-table-row >
957
957
</ calcite-table > `;
958
958
959
+ export const tableCellCssBackgroundVariable_TestOnly = ( ) : string =>
960
+ html `< calcite-table zebra caption ="Simple-zebra table " dir ="rtl " selection-mode ="multiple ">
961
+ < calcite-table-row slot ="table-header ">
962
+ < calcite-table-header heading ="Heading " description ="Description "> </ calcite-table-header >
963
+ < calcite-table-header heading ="Heading " description ="Description "> </ calcite-table-header >
964
+ < calcite-table-header heading ="Heading " description ="Description "> </ calcite-table-header >
965
+ < calcite-table-header heading ="Heading " description ="Description "> </ calcite-table-header >
966
+ </ calcite-table-row >
967
+ < calcite-table-row >
968
+ < calcite-table-cell style ="--calcite-table-cell-background: rgba(20, 200, 50, 0.15) "> cell</ calcite-table-cell >
969
+ < calcite-table-cell > cell</ calcite-table-cell >
970
+ < calcite-table-cell > cell</ calcite-table-cell >
971
+ < calcite-table-cell > cell</ calcite-table-cell >
972
+ </ calcite-table-row >
973
+ < calcite-table-row >
974
+ < calcite-table-cell style ="--calcite-table-cell-background: rgba(200, 50, 20, 0.15) "> cell</ calcite-table-cell >
975
+ < calcite-table-cell > cell</ calcite-table-cell >
976
+ < calcite-table-cell style ="--calcite-table-cell-background: rgba(20, 200, 50, 0.15) "> cell</ calcite-table-cell >
977
+ < calcite-table-cell > cell</ calcite-table-cell >
978
+ </ calcite-table-row >
979
+ < calcite-table-row >
980
+ < calcite-table-cell > cell</ calcite-table-cell >
981
+ < calcite-table-cell > cell</ calcite-table-cell >
982
+ < calcite-table-cell style ="--calcite-table-cell-background: rgba(200, 50, 20, 0.15) "> cell</ calcite-table-cell >
983
+ < calcite-table-cell > cell</ calcite-table-cell >
984
+ </ calcite-table-row >
985
+ </ calcite-table > ` ;
986
+
959
987
export const darkModeRTL_TestOnly = ( ) : string =>
960
988
html `< calcite-table zebra caption ="Simple-zebra table " dir ="rtl ">
961
989
< calcite-table-row slot ="table-header ">
0 commit comments