import{useState as e}from"react";import{composeTypographyStyle as t}from"@gem-sdk/core";let useGetColorContent=o=>{let[r,m]=e(!0),{typography:l,placeholderColor:n,defaultOption:C}=o??{},p=t(o?.typo,l),u=()=>{r&&m(!1)};return{handleOnChange:u,getTextColor:{...p,...r&&!Number(C)&&{"--c":n}}}};export{useGetColorContent};
