{"version":3,"sourceRoot":null,"mappings":"AAMA,6JASA,8KAgBA,iCAIA,iCAIA,iCASA,+CASA,wDAQA,kJASA","sources":["home/runner/work/hedwig-design-system/hedwig-design-system/packages/css/src/body.css"],"sourcesContent":["/*\n * All element selector, and general global styles should be defined in this file\n *\n * Based on hedwig global css\n * https://github.com/bring/hedwig/blob/master/src/shared/base/body.css\n */\n:root {\n  box-sizing: border-box;\n  font: var(--hds-typography-body);\n  line-height: 1.4;\n  cursor: auto;\n  -moz-osx-font-smoothing: grayscale;\n  -webkit-font-smoothing: antialiased;\n}\n\nbody {\n  background: var(--hds-colors-neutral-bg-default);\n  fill: var(--hds-colors-neutral-text-default);\n  color: var(--hds-colors-neutral-text-default);\n\n  /* Get specificity on the same level as the font decleration in the \n   * legacy Hedwig CSS, making it possible to override by ordering */\n  font: var(--hds-typography-body);\n}\n\n/**\n * Default typography for headings\n *\n * Since hedwig legacy sets default font-family\n * we need to override it to get the correct `Posten Sans`\n */\nh1 {\n  font: var(--hds-typography-h1);\n}\n\nh2 {\n  font: var(--hds-typography-h2);\n}\n\nh3 {\n  font: var(--hds-typography-h3);\n}\n\n/*\n * Uncommon to use these levels,\n * but default to body-title.\n * The consumer should override to whatever fit's their need\n */\nh4,\nh5,\nh6 {\n  font: var(--hds-typography-body-title);\n}\n\n/**\n * Reset spacing but with a lower specificity\n */\n:where(p, a, button, h1, h2, h3, h4, h5, h6) {\n  padding: 0;\n  margin: 0;\n}\n\n/**\n * Override hedwig legacy font-family\n */\ninput,\ntextarea,\nselect,\nbutton {\n  font-family: var(--hds-fonts-posten-sans);\n  font-size: var(--hds-font-size-body);\n  line-height: var(--hds-line-height-body);\n}\n\nb,\nstrong {\n  font-family: var(--hds-fonts-posten-sans);\n  font-weight: 500;\n}\n"],"names":[]}