{"version":3,"file":"index.mjs","sources":["../../../../packages/theme/document-head-contents/index.tsx"],"sourcesContent":["import { FC } from 'react'\nimport { Fonts } from './element-fonts.js'\nimport { initGlobalColors, StyleThemeColors } from './element-theme-colors.js'\nimport {\n  initGlobalCookieTheme,\n  ScriptThemeValue,\n} from './element-theme-script.js'\nexport { Fonts } from './element-fonts.js'\n\nexport const initColors = () => {\n  initGlobalColors()\n  initGlobalCookieTheme()\n}\n\nexport const LidoUIHead: FC<{\n  cssStyleVars?: boolean\n  jsStyleScript?: boolean\n  cssFont?: boolean\n}> = ({ cssStyleVars = true, cssFont = false, jsStyleScript = true }) => (\n  <>\n    {cssStyleVars ? <StyleThemeColors /> : null}\n    {jsStyleScript ? <ScriptThemeValue /> : null}\n    {cssFont ? <Fonts /> : null}\n  </>\n)\n"],"names":["initColors","initGlobalColors","initGlobalCookieTheme","LidoUIHead","_ref","cssStyleVars","cssFont","jsStyleScript","_jsxs","_Fragment","children","_jsx","StyleThemeColors","ScriptThemeValue","Fonts"],"mappings":";;;;;AASaA,MAAAA,UAAU,GAAGA,MAAM;AAC9BC,EAAAA,gBAAgB,EAAE,CAAA;AAClBC,EAAAA,qBAAqB,EAAE,CAAA;AACzB,EAAC;AAEM,MAAMC,UAIX,GAAGC,IAAA,IAAA;EAAA,IAAC;AAAEC,IAAAA,YAAY,GAAG,IAAI;AAAEC,IAAAA,OAAO,GAAG,KAAK;AAAEC,IAAAA,aAAa,GAAG,IAAA;AAAK,GAAC,GAAAH,IAAA,CAAA;EAAA,oBAClEI,IAAA,CAAAC,QAAA,EAAA;AAAAC,IAAAA,QAAA,EACGL,CAAAA,YAAY,gBAAGM,GAAA,CAACC,gBAAgB,EAAE,EAAA,CAAC,GAAG,IAAI,EAC1CL,aAAa,gBAAGI,GAAA,CAACE,gBAAgB,EAAE,EAAA,CAAC,GAAG,IAAI,EAC3CP,OAAO,gBAAGK,GAAA,CAACG,KAAK,EAAE,EAAA,CAAC,GAAG,IAAI,CAAA;AAAA,GAC3B,CAAC,CAAA;AAAA;;;;"}