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