@postenbring/hedwig-css 0.0.46 → 0.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all-in-one.css +1 -1
- package/dist/all-in-one.css.map +1 -1
- package/dist/classnames.d.ts +5 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/scoped.css +1 -1
- package/dist/skeleton.css +1 -0
- package/dist/skeleton.css.map +1 -0
- package/dist/styled-html.css +1 -1
- package/dist/styled-html.css.map +1 -1
- package/package.json +1 -1
package/dist/styled-html.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":null,"mappings":"AAEA,
|
|
1
|
+
{"version":3,"sourceRoot":null,"mappings":"AAEA,iDAQE,2CAIA,6CAOA,0DAIE,yBAAkB,2DAJpB,0DAIE,yBAAkB,2DAKpB,2DAGE,yBAAkB,2DAKpB,2DAIE,yBAAkB,4DAJpB,2DAIE,yBAAkB,4DAtCtB,kUAQE,2KAME,sHANF,4KAME,uHASF,sOAKE,6HAAA,8HAMA,sNAUF,kGAIA,0FAIA,wJAME,qPAQF,qIAIE,uJAAA,wJAOF,mIAQE,qJAAA,mIARF,0HAQE,qJAAA,mIApCF,yDAGE,yBAAkB,2DAMpB,4DAIE,yBAAkB,6DAJpB,gEAIE,yBAAkB,iEAKpB,6DAGE,yBAAkB,6DAKpB,6DAIE,yBAAkB,8DAJpB,6DAIE,yBAAkB,8DAMpB,8DAKA,uGAzFF,6IAWE,4GAGE,yGAKF,oGAAA,kFAIA,iGAAA,+EAKA,sGAAA,oFAOA,4GAIE,+FAQF,6IAKA,uFAAA,wGAKA,qIAME,yIA0BF,8FAzFF,oIAWE,mGAGE,gGAKF,oGAAA,kFAIA,iGAAA,+EAKA,sGAAA,oFAOA,4GAIE,+FAQF,6IAKA,uFAAA,wGAKA,qIAME,yIAiCF,+DAQE,yCAAA,0CAAA,0CAAA,0CAAA,0CAAA,0CAAA,0CAUA,wDAMF,yDAAA,8DAUA,8EAGE,gFAAA,iFAAA,gFAMA,gFAIA,sFAAA,2FAOF,sDAOE,4DAAA,4DAAA,4DAAA,4DAAA,4DAAA,4DAvIF,oNAKE,2GAAA,4GAMA","sources":["home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/styled-html/styled-html.css","home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/styled-html/../_custom-media.css"],"sourcesContent":["@import url(\"../_custom-media.css\");\n\n.hds-styled-html {\n font: var(--hds-typography-body);\n\n /**\n * Avoid top margin on first element and bottom margin on last element\n * The consumer should set their own spacing to of the styled html relative to the rest of the page\n * This component only cares about internal spacing\n */\n & > :first-child {\n margin-top: 0;\n }\n\n & > :last-child {\n margin-bottom: 0;\n }\n\n /* Headings\n * h1-h6 gets styled globally in `body.css` \n */\n & h1,\n & h2 {\n margin-top: var(--hds-spacing-large-1);\n\n @media (--large) {\n margin-top: var(--hds-spacing-large-2);\n }\n }\n\n & h3 {\n margin-top: var(--hds-spacing-medium-4);\n\n @media (--large) {\n margin-top: var(--hds-spacing-large-1);\n }\n }\n\n & h4,\n & h5 {\n margin-top: var(--hds-spacing-medium-3);\n\n @media (--large) {\n margin-top: var(--hds-spacing-medium-4);\n }\n }\n\n /* Link */\n a:where(:not(.hds-button)) {\n @extend url(\"./src/link/link.css:hds-link\");\n }\n\n /* Paragraphs */\n & p {\n margin-top: var(--hds-spacing-small-4);\n\n @media (--large) {\n margin-top: var(--hds-spacing-medium-2);\n }\n }\n\n /* Combinations */\n & p + h2,\n & p + figure {\n margin-top: var(--hds-spacing-large-1);\n\n @media (--large) {\n margin-top: var(--hds-spacing-large-2);\n }\n }\n\n & p + h3 {\n margin-top: var(--hds-spacing-medium-4);\n\n @media (--large) {\n margin-top: var(--hds-spacing-large-1);\n }\n }\n\n & p + h4,\n & p + h5 {\n margin-top: var(--hds-spacing-medium-3);\n\n @media (--large) {\n margin-top: var(--hds-spacing-medium-4);\n }\n }\n\n /* Divider */\n & hr {\n margin-bottom: var(--hds-spacing-medium-2);\n }\n\n /* List */\n & :is(ul, ol):where(:not(.hds-accordion)) {\n @extend url(\"./src/list/list.css:hds-list\");\n\n margin-top: var(--hds-spacing-small-4);\n }\n\n /* Image */\n & figure {\n /* TODO: @extend .hw-figure; */\n\n margin-top: var(--hds-spacing-medium-3);\n }\n\n /* Table */\n & table {\n & p,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n margin-bottom: 0;\n }\n\n & a {\n border-bottom: none;\n color: unset;\n }\n }\n\n b,\n strong {\n font: var(--hds-typography-body-title);\n }\n\n /**\n * Modifiers\n */\n\n /* Small version */\n &.hds-styled-html--small {\n font: var(--hds-typography-body-small);\n\n & p,\n & li,\n & a {\n font: var(--hds-typography-body-small);\n }\n\n & p {\n margin-top: var(--hds-spacing-small-3);\n }\n\n & b,\n & strong {\n font: var(--hds-typography-body-small-title);\n }\n }\n\n /* 🚧 Dark mode */\n &.hds-styled-html--darkmode {\n /* TODO: Do we want the background to be set? */\n\n /* background-color: var(--hds-dark-mode-colors-obsidian); */\n\n color: #ccc;\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n color: #fafafa;\n }\n\n & a {\n @extend url(\"./src/link/link.css:hds-link--inverted\");\n }\n }\n}\n","/**\n * Reusable media queries using the hedwig breakpoint\n *\n * As of writing custom-media queries are not yet supported in browsers\n * but lightningcss transpiles them to the standard media query syntax.\n *\n * https://www.w3.org/TR/mediaqueries-5/#custom-mq\n */\n\n/* Mobile first */\n@custom-media --small (width >= 460px);\n@custom-media --medium (width >= 720px);\n@custom-media --large (width >= 940px);\n@custom-media --xlarge (width >= 1200px);\n\n/* Desktop first */\n@custom-media --before-small (width < 460px);\n@custom-media --before-medium (width < 720px);\n@custom-media --before-large (width < 940px);\n@custom-media --before-xlarge (width < 1200px);\n"],"names":[]}
|