{"version":3,"file":"CJTheme.DIDz26Y6.mjs","names":["p"],"sources":["https:/framerusercontent.com/modules/7ELnsMHuMkY7BBnGuZnJ/dZ93mWfihuNcmbDPHSsh/CJTheme.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/*  CATE JARRETT — THEME OVERRIDE. Renders nothing visible.\n    Re-colours, re-types and re-scales the whole site from outside, so\n    none of Ty's page components had to be rewritten.\n\n    WHY: the palette, the typefaces and the display sizes are all\n    hardcoded inside each component's CSS rather than exposed as fields.\n    That includes the brick red #8E4636 on the big numerals, project\n    numbers, Voice/Eye tags and schedule labels.\n\n    Drop one instance on every page. Delete them to revert exactly. */export default function CJTheme(props){const p=props;const css=`\n@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Archivo:wdth,wght@75..125,300..700&display=swap');\n\n.cj, .cjnav, .cjft {\n  --bone: ${p.bone} !important;\n  --sand: ${p.sand} !important;\n  --shell: ${p.shell} !important;\n  --sage: ${p.sage} !important;\n  --deep: ${p.deep} !important;\n  --deep2: ${p.deep2} !important;\n  --ink: ${p.ink} !important;\n  --ink-soft: ${p.inkSoft} !important;\n  --clay: ${p.accent} !important;\n  --clay-deep: ${p.accentDeep} !important;\n  --clay-btn: ${p.accent} !important;\n  --clay-mist: ${p.accentMist} !important;\n  --olive: ${p.second} !important;\n  --olive-deep: ${p.secondDeep} !important;\n  --olive-mist: ${p.secondMist} !important;\n  --rule: ${p.rule} !important;\n  --rule-dark: ${p.ruleDark} !important;\n  --serif: ${p.displayFont} !important;\n  --sans: ${p.bodyFont} !important;\n}\n\n/* Display type. A grotesque needs more weight and tighter tracking than\n   the serif it replaced, or it reads wide and thin at these sizes. */\n.cj h1, .cj h2, .cj h3,\n.cj .d1, .cj .d2, .cj .d3,\n.cj .figno, .cj .rate-p, .cj .wi-no,\n.cj .tl-y, .cj .step-n,\n.cjnav .name, .cjft .wm, .cjft .word span {\n  font-family: ${p.displayFont} !important;\n  font-weight: ${p.displayWeight} !important;\n  letter-spacing: ${p.displayTracking} !important;\n}\n\n/* Display sizes. Each still scales with the viewport, these set the\n   ceiling on a big screen. */\n.cj .d1 { font-size: clamp(34px, 5.2vw, ${p.h1Max}px) !important; line-height: ${p.h1Leading} !important; }\n.cj .d2 { font-size: clamp(27px, 3.6vw, ${p.h2Max}px) !important; }\n.cj .d3 { font-size: clamp(20px, 2.1vw, ${p.h3Max}px) !important; }\n.cj .lede { font-size: clamp(16px, 1.2vw, ${p.ledeMax}px) !important; }\n\n/* The No.1 / No.2 labels that introduce sections. Off by default: the\n   titles carry themselves. */\n.cj .figno { display: ${p.showSectionNumerals?\"block\":\"none\"} !important; }\n\n/* The 01 / 02 / 03 numbers on individual work items. */\n.cj .wi-no { display: ${p.showItemNumbers?\"block\":\"none\"} !important; }\n\n/* Places Ty set the serif in italic. A grotesque has no true italic, so\n   these go upright with a little air instead of faking a slant. */\n.cj .cover-sub, .cj .ah-sub, .cj .attr, .cj .quote blockquote {\n  font-style: normal !important;\n}\n.cj .cover-sub, .cj .ah-sub {\n  letter-spacing: -0.01em !important;\n}\n.cj .attr {\n  font-family: ${p.bodyFont} !important;\n  font-weight: 400 !important;\n  letter-spacing: 0.01em !important;\n}\n\n/* The accent is light, so anything filled with it needs dark text\n   rather than the white Ty's CSS hardcodes. */\n.cj .btn.clay,\n.cjnav .cta,\n.cjnav .sheet .scta,\n.cjft .cta,\n.cj .choice input:checked + label {\n  color: ${p.onAccent} !important;\n}\n.cj .btn.clay:hover,\n.cjnav .cta:hover,\n.cjft .cta:hover {\n  background: ${p.accentHover} !important;\n  border-color: ${p.accentHover} !important;\n  color: ${p.onAccent} !important;\n}\n`;return /*#__PURE__*/_jsx(\"div\",{style:{display:\"none\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}})});}CJTheme.defaultProps={width:1,height:1};addPropertyControls(CJTheme,{showSectionNumerals:{type:ControlType.Boolean,title:\"Show No.1 / No.2 labels\",defaultValue:false},showItemNumbers:{type:ControlType.Boolean,title:\"Show 01 / 02 item numbers\",defaultValue:true},h1Max:{type:ControlType.Number,title:\"H1 size\",min:34,max:120,step:1,unit:\"px\",defaultValue:64},h1Leading:{type:ControlType.Number,title:\"H1 line height\",min:.85,max:1.3,step:.01,defaultValue:1},h2Max:{type:ControlType.Number,title:\"H2 size\",min:27,max:90,step:1,unit:\"px\",defaultValue:48},h3Max:{type:ControlType.Number,title:\"H3 size\",min:20,max:48,step:1,unit:\"px\",defaultValue:28},ledeMax:{type:ControlType.Number,title:\"Lede size\",min:15,max:26,step:1,unit:\"px\",defaultValue:19},displayFont:{type:ControlType.String,title:\"Display font\",defaultValue:`\"Instrument Sans\", \"Helvetica Neue\", Arial, sans-serif`},bodyFont:{type:ControlType.String,title:\"Body font\",defaultValue:`\"Instrument Sans\", \"Helvetica Neue\", Arial, sans-serif`},displayWeight:{type:ControlType.String,title:\"Display weight\",defaultValue:\"500\"},displayTracking:{type:ControlType.String,title:\"Display tracking\",defaultValue:\"-0.032em\"},bone:{type:ControlType.Color,title:\"Ground base\",defaultValue:\"#FAFAF8\"},sand:{type:ControlType.Color,title:\"Ground second\",defaultValue:\"#EFEFEC\"},shell:{type:ControlType.Color,title:\"Ground third\",defaultValue:\"#DEDED9\"},sage:{type:ControlType.Color,title:\"Hero panel\",defaultValue:\"#B9BFAD\"},deep:{type:ControlType.Color,title:\"Ground dark\",defaultValue:\"#111214\"},deep2:{type:ControlType.Color,title:\"Ground dark lift\",defaultValue:\"#1C1D22\"},ink:{type:ControlType.Color,title:\"Text ink\",defaultValue:\"#111214\"},inkSoft:{type:ControlType.Color,title:\"Text soft\",defaultValue:\"#35383F\"},accent:{type:ControlType.Color,title:\"Accent voice\",defaultValue:\"#C3D14A\"},accentDeep:{type:ControlType.Color,title:\"Accent voice, text safe\",defaultValue:\"#7E8C1E\"},accentMist:{type:ControlType.Color,title:\"Accent voice, on dark\",defaultValue:\"#E4EBB8\"},accentHover:{type:ControlType.Color,title:\"Accent button hover\",defaultValue:\"#AEBC3A\"},onAccent:{type:ControlType.Color,title:\"Text on accent\",defaultValue:\"#111214\"},second:{type:ControlType.Color,title:\"Accent eye\",defaultValue:\"#7E8F4E\"},secondDeep:{type:ControlType.Color,title:\"Accent eye, text safe\",defaultValue:\"#5C6A36\"},secondMist:{type:ControlType.Color,title:\"Accent eye, on dark\",defaultValue:\"#DDE2C9\"},rule:{type:ControlType.Color,title:\"Hairline on light\",defaultValue:\"rgba(17,18,20,0.12)\"},ruleDark:{type:ControlType.Color,title:\"Hairline on dark\",defaultValue:\"rgba(250,250,248,0.18)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CJTheme\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CJTheme.map"],"mappings":"4JASsE,SAAwB,EAAQ,EAAM,CAAC,IAAMA,EAAE,EAiFnH,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,MAAM,EAAE,cAAc,OAAO,SAAsB,EAAK,QAAQ,CAAC,wBAAwB,CAAC,OAAO;;;;YA7EtIA,EAAE,KAAK;YACPA,EAAE,KAAK;aACNA,EAAE,MAAM;YACTA,EAAE,KAAK;YACPA,EAAE,KAAK;aACNA,EAAE,MAAM;WACVA,EAAE,IAAI;gBACDA,EAAE,QAAQ;YACdA,EAAE,OAAO;iBACJA,EAAE,WAAW;gBACdA,EAAE,OAAO;iBACRA,EAAE,WAAW;aACjBA,EAAE,OAAO;kBACJA,EAAE,WAAW;kBACbA,EAAE,WAAW;YACnBA,EAAE,KAAK;iBACFA,EAAE,SAAS;aACfA,EAAE,YAAY;YACfA,EAAE,SAAS;;;;;;;;;;iBAUNA,EAAE,YAAY;iBACdA,EAAE,cAAc;oBACbA,EAAE,gBAAgB;;;;;0CAKIA,EAAE,MAA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