UNPKG

@spectrum-web-components/styles

Version:

Spectrum Web Components are a [`LitElement`](https://lit-element.polymer-project.org) powered web component library of patterns built ontop of the [Spectrum CSS](https://opensource.adobe.com/spectrum-css) specification. Styles for these components are mad

1 lines 10 kB
{"version":3,"file":"spectrum-heading.css.js","sourceRoot":"","sources":["spectrum-heading.css.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AACF,OAAO,EAAE,GAAG,EAAE,MAAM,+BAA+B,CAAC;AACpD,MAAM,MAAM,GAAG,GAAG,CAAA;;CAEjB,CAAC;AACF,eAAe,MAAM,CAAC","sourcesContent":["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n.spectrum-Heading--sizeXXXL{font-size:var(--spectrum-heading-xxxl-text-size,var(--spectrum-alias-heading-xxxl-text-size));font-weight:var(--spectrum-heading-xxxl-text-font-weight,var(--spectrum-alias-heading-text-font-weight-regular));line-height:var(--spectrum-heading-xxxl-text-line-height,var(--spectrum-alias-heading-text-line-height));font-style:var(--spectrum-heading-xxxl-text-font-style,var(--spectrum-global-font-style-regular));letter-spacing:var(--spectrum-heading-xxxl-text-letter-spacing,var(--spectrum-global-font-letter-spacing-none));text-transform:var(--spectrum-heading-xxxl-text-transform,none);margin-top:0;margin-bottom:0}.spectrum-Heading--sizeXXL{font-size:var(--spectrum-heading-xxl-text-size,var(--spectrum-alias-heading-xxl-text-size));font-weight:var(--spectrum-heading-xxl-text-font-weight,var(--spectrum-alias-heading-text-font-weight-regular));line-height:var(--spectrum-heading-xxl-text-line-height,var(--spectrum-alias-heading-text-line-height));font-style:var(--spectrum-heading-xxl-text-font-style,var(--spectrum-global-font-style-regular));letter-spacing:var(--spectrum-heading-xxl-text-letter-spacing,var(--spectrum-global-font-letter-spacing-none));text-transform:var(--spectrum-heading-xxl-text-transform,none);margin-top:0;margin-bottom:0}.spectrum-Heading--sizeXL{font-size:var(--spectrum-heading-xl-text-size,var(--spectrum-alias-heading-xl-text-size));font-weight:var(--spectrum-heading-xl-text-font-weight,var(--spectrum-alias-heading-text-font-weight-regular));line-height:var(--spectrum-heading-xl-text-line-height,var(--spectrum-alias-heading-text-line-height));font-style:var(--spectrum-heading-xl-text-font-style,var(--spectrum-global-font-style-regular));letter-spacing:var(--spectrum-heading-xl-text-letter-spacing,var(--spectrum-global-font-letter-spacing-none));text-transform:var(--spectrum-heading-xl-text-transform,none);margin-top:0;margin-bottom:0}.spectrum-Heading--sizeL{font-size:var(--spectrum-heading-l-text-size,var(--spectrum-alias-heading-l-text-size));font-weight:var(--spectrum-heading-l-text-font-weight,var(--spectrum-alias-heading-text-font-weight-regular));line-height:var(--spectrum-heading-l-text-line-height,var(--spectrum-alias-heading-text-line-height));font-style:var(--spectrum-heading-l-text-font-style,var(--spectrum-global-font-style-regular));letter-spacing:var(--spectrum-heading-l-text-letter-spacing,var(--spectrum-global-font-letter-spacing-none));text-transform:var(--spectrum-heading-l-text-transform,none);margin-top:0;margin-bottom:0}.spectrum-Heading--sizeM{font-size:var(--spectrum-heading-m-text-size,var(--spectrum-alias-heading-m-text-size));font-weight:var(--spectrum-heading-m-text-font-weight,var(--spectrum-alias-heading-text-font-weight-regular));line-height:var(--spectrum-heading-m-text-line-height,var(--spectrum-alias-heading-text-line-height));font-style:var(--spectrum-heading-m-text-font-style,var(--spectrum-global-font-style-regular));letter-spacing:var(--spectrum-heading-m-text-letter-spacing,var(--spectrum-global-font-letter-spacing-none));text-transform:var(--spectrum-heading-m-text-transform,none);margin-top:0;margin-bottom:0}.spectrum-Heading--sizeS{font-size:var(--spectrum-heading-s-text-size,var(--spectrum-alias-heading-s-text-size));font-weight:var(--spectrum-heading-s-text-font-weight,var(--spectrum-alias-heading-text-font-weight-regular));line-height:var(--spectrum-heading-s-text-line-height,var(--spectrum-alias-heading-text-line-height));font-style:var(--spectrum-heading-s-text-font-style,var(--spectrum-global-font-style-regular));letter-spacing:var(--spectrum-heading-s-text-letter-spacing,var(--spectrum-global-font-letter-spacing-none));text-transform:var(--spectrum-heading-s-text-transform,none);margin-top:0;margin-bottom:0}.spectrum-Heading--sizeXS{font-size:var(--spectrum-heading-xs-text-size,var(--spectrum-alias-heading-xs-text-size));font-weight:var(--spectrum-heading-xs-text-font-weight,var(--spectrum-alias-heading-text-font-weight-regular));line-height:var(--spectrum-heading-xs-text-line-height,var(--spectrum-alias-heading-text-line-height));font-style:var(--spectrum-heading-xs-text-font-style,var(--spectrum-global-font-style-regular));letter-spacing:var(--spectrum-heading-xs-text-letter-spacing,var(--spectrum-global-font-letter-spacing-none));text-transform:var(--spectrum-heading-xs-text-transform,none);margin-top:0;margin-bottom:0}.spectrum-Heading--sizeXXS{font-size:var(--spectrum-heading-xxs-text-size,var(--spectrum-alias-heading-xxs-text-size));font-weight:var(--spectrum-heading-xxs-text-font-weight,var(--spectrum-alias-heading-text-font-weight-regular));line-height:var(--spectrum-heading-xxs-text-line-height,var(--spectrum-alias-heading-text-line-height));font-style:var(--spectrum-heading-xxs-text-font-style,var(--spectrum-global-font-style-regular));letter-spacing:var(--spectrum-heading-xxs-text-letter-spacing,var(--spectrum-global-font-letter-spacing-none));text-transform:var(--spectrum-heading-xxs-text-transform,none);margin-top:0;margin-bottom:0}.spectrum-Heading{font-family:var(--spectrum-heading-m-text-font-family,var(--spectrum-alias-body-text-font-family));font-weight:var(--spectrum-heading-m-text-font-weight,var(--spectrum-alias-heading-text-font-weight-regular))}.spectrum-Heading-emphasis,em{font-style:var(--spectrum-heading-m-emphasis-text-font-style,var(--spectrum-global-font-style-italic))}.spectrum-Heading-strong,strong{font-weight:var(--spectrum-heading-m-strong-text-font-weight,var(--spectrum-global-font-weight-black))}.spectrum-Heading--serif{font-family:var(--spectrum-body-serif-m-text-font-family,var(--spectrum-alias-serif-text-font-family))}.spectrum-Heading--heavy{font-weight:var(--spectrum-heading-heavy-m-text-font-weight,var(--spectrum-global-font-weight-black))}.spectrum-Heading--heavy .spectrum-Heading-emphasis,.spectrum-Heading--heavy em{font-style:var(--spectrum-heading-heavy-m-emphasis-text-font-style,var(--spectrum-global-font-style-italic))}.spectrum-Heading--heavy .spectrum-Heading-strong,.spectrum-Heading--heavy strong{font-weight:var(--spectrum-heading-heavy-m-strong-text-font-weight,var(--spectrum-global-font-weight-black))}.spectrum-Heading--light{font-weight:var(--spectrum-heading-light-m-emphasis-text-font-weight,var(--spectrum-global-font-weight-light))}.spectrum-Heading--light .spectrum-Heading-emphasis,.spectrum-Heading--light em{font-style:var(--spectrum-heading-light-m-emphasis-text-font-style,var(--spectrum-global-font-style-italic))}.spectrum-Heading--light .spectrum-Heading-strong,.spectrum-Heading--light strong{font-weight:var(--spectrum-heading-light-m-strong-text-font-weight,var(--spectrum-global-font-weight-bold))}.spectrum-Heading--sizeXXXL{color:var(--spectrum-heading-xxxl-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading--sizeXXL{color:var(--spectrum-heading-xxl-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading--sizeXL{color:var(--spectrum-heading-xl-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading--sizeL{color:var(--spectrum-heading-l-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading--sizeM{color:var(--spectrum-heading-m-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading--sizeS{color:var(--spectrum-heading-s-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading--sizeXS{color:var(--spectrum-heading-xs-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading--sizeXXS{color:var(--spectrum-heading-xxs-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading-sizeXXXL--light{color:var(--spectrum-heading-light-xxxl-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading-sizeXXL--light{color:var(--spectrum-heading-light-xxl-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading-sizeXL--light{color:var(--spectrum-heading-light-xl-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading-sizeL--light{color:var(--spectrum-heading-light-l-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading-sizeXXXL--heavy{color:var(--spectrum-heading-heavy-xxxl-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading-sizeXXL--heavy{color:var(--spectrum-heading-heavy-xxl-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading-sizeXL--heavy{color:var(--spectrum-heading-heavy-xl-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading-sizeL--heavy{color:var(--spectrum-heading-heavy-l-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading-sizeXXXL--heading{color:var(--spectrum-heading-xxxl-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading-sizeXXL--heading{color:var(--spectrum-heading-xxl-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading-sizeXL--heading{color:var(--spectrum-heading-xl-text-color,var(--spectrum-alias-heading-text-color))}.spectrum-Heading-sizeL--heading{color:var(--spectrum-heading-l-text-color,var(--spectrum-alias-heading-text-color))}\n`;\nexport default styles;"]}