Skip to content

Instantly share code, notes, and snippets.

@tonioloewald
Created February 9, 2024 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonioloewald/24219988d256535cdf568b0ce574fb77 to your computer and use it in GitHub Desktop.
Save tonioloewald/24219988d256535cdf568b0ce574fb77 to your computer and use it in GitHub Desktop.
var z=(y,{Component:b,elements:c,vars:w,varDefault:i,Color:A})=>{const{h3:j,p:k,slot:q}=c;class d extends b{constructor(){super(...arguments)}static styleSpec={":host":{color:w.blueprintColor,background:i.blueprintBg("radial-gradient(circle, rgba(0,105,198,1) 0%, rgba(2,67,131,1) 100%)"),padding:i.blueprintPadding("16px")},"::slotted(*)":{boxShadow:`inset 0 0 0 2px ${w.blueprintColor}`,padding:i.blueprintPadding("16px")}};content=[j({style:{marginTop:0}},"Blueprint Example"),k("This was made from a blueprint!"),q()]}return{type:d,creator:d.elementCreator({tag:y,styleSpec:{":root":{_blueprintColor:"#defd"}}})}},G=z;export{G as default};
@tonioloewald
Copy link
Author

This is the xinjs blueprint-example minified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment