UNPKG

@synergy-design-system/components

Version:

This package provides the base of the Synergy Design System as native web components. It uses [lit](https://www.lit.dev) and parts of [shoelace](https://shoelace.style/). Synergy officially supports the latest two versions of all major browsers (as define

66 lines (56 loc) 1.4 kB
// src/components/card/card.custom.styles.ts import { css } from "lit"; var card_custom_styles_default = css` :host { --border-color: var(--syn-panel-border-color); --border-width: var(--syn-border-width-small); --border-radius: var(--syn-border-radius-medium); } .card { box-shadow: none; } /** #1107: Add shadow property to card */ .card--shadow { box-shadow: var(--syn-shadow-small); } /** * Header adjustments */ .card__header { border: none; color: var(--syn-typography-color-text); font: var(--syn-heading-large); line-height: var(--syn-line-height-normal); } /** * Card body */ .card__body { color: var(--syn-typography-color-text); font: var(--syn-body-medium-regular); } /** * Card Footer */ .card--has-footer .card__footer { border-top: none; padding: var(--syn-spacing-x-small) var(--syn-spacing-large) var(--syn-spacing-large); } /** * Cards that are sharp do not receive a border radius */ .card--sharp { border-radius: var(--syn-border-radius-none); } /** * Do not apply border radius to sharp card images */ .card--sharp .card__image { border-top-left-radius: var(--syn-border-radius-none); border-top-right-radius: var(--syn-border-radius-none); } `; export { card_custom_styles_default }; //# sourceMappingURL=chunk.O655X4YP.js.map