UNPKG

@brizy/ui

Version:
12 lines (11 loc) 476 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getArrowHoverColor = void 0; const colors_1 = require("../utils/colors"); const constants_1 = require("../constants"); const getArrowHoverColor = (value, theme) => { return value ? { [`--${constants_1.BRZ_PREFIX}-rich-text-arrow-hover`]: (0, colors_1.getHexByColorType)(theme === "dark" ? "white" : "gray-mid") } : {}; }; exports.getArrowHoverColor = getArrowHoverColor;