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