"use strict";var React=require("react"),core=require("@gem-sdk/core");const useGetColorContent=e=>{let[t,o]=React.useState(!0),{typography:r,placeholderColor:c,defaultOption:s}=e??{},u=core.composeTypographyStyle(e?.typo,r),n=()=>{t&&o(!1)};return{handleOnChange:n,getTextColor:{...u,...t&&!Number(s)&&{"--c":c}}}};exports.useGetColorContent=useGetColorContent;
