Created
February 9, 2024 09:34
-
-
Save tonioloewald/24219988d256535cdf568b0ce574fb77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the xinjs blueprint-example minified