UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

31 lines 1.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getTableRowStyles = void 0; const variants_1 = require("./variants"); const getTableRowStyles = (COLORS) => { return { [variants_1.TableRowVariantTypeV2.HEADER_ROW_DEFAULT]: { container: { display: 'table-row', }, }, [variants_1.TableRowVariantTypeV2.BODY_ROW_DEFAULT]: { container: { display: 'table-row', }, hoveredCellContainer: { // TODO When specified - update tokens color: 'black', background_color: COLORS.NEUTRAL.color_neutral_bg_200, cursor: 'pointer', }, activeCellContainer: { // TODO When specified - update tokens color: 'white', background_color: COLORS.SECONDARY.color_secondary_bg_100, }, }, }; }; exports.getTableRowStyles = getTableRowStyles; //# sourceMappingURL=styles.js.map