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 on top of the [Spectrum CSS](https://opensource.adobe.com/spectrum-css) specification. Styles for these components are ma

46 lines (45 loc) 1.25 kB
"use strict"; import { html } from "@spectrum-web-components/base"; export default { title: "Styles" }; export const dividers = () => html` <style> .app-dividers { display: grid; position: absolute; inset: 0; grid-template-areas: 'header header header' 'toolbar main properties'; grid-template-columns: 50px 1fr 250px; grid-template-rows: 50px 1fr; gap: var(--spectrum-global-alias-appframe-border-size); background: var(--spectrum-alias-background-color-tertiary); } header, aside { background: var(--spectrum-alias-background-color-secondary); } header { grid-area: header; } header + aside { grid-area: toolbar; } main { grid-area: main; background: var(--spectrum-alias-background-color-primary); } main + aside { grid-area: properties; } </style> <div class="app-dividers"> <header></header> <aside></aside> <main></main> <aside></aside> </div> `; //# sourceMappingURL=styles.stories.js.map