diff --git a/docs/index.md b/docs/index.md index 9c2b4c568..94cb90068 100644 --- a/docs/index.md +++ b/docs/index.md @@ -151,6 +151,9 @@ layout: page height: 2rem; width: 2rem; } + & h3 { + font-size: 1rem; + } } footer { display: flex; @@ -173,14 +176,74 @@ layout: page } & wa-button { --wa-form-control-height-m: 1.5rem; - --background-color: var(--wa-color-neutral-fill-quiet); - --background-color-hover: color-mix(in oklab, var(--background-color), transparent 20%); - --label-color: var(--wa-color-neutral-on-quiet); display: inline-flex; font-size: 0.75rem; } } } + .alpha-notice { + display: flex; + flex-wrap: wrap; + gap: 1rem; + & > * { + flex-basis: calc(((30ch * 2 + 1rem) - 100%) * 999); + } + & > * { + flex-grow: 2; + } + & > * + * { + flex-grow: 1; + } + & wa-callout::part(base), + & wa-button::part(base) { + height: 100%; + width: 100%; + } + } + wa-button.tile::part(base) { + border-color: var(--wa-color-surface-border); + border-radius: 0.75rem; + color: var(--wa-color-text-normal); + display: block; + height: 100%; + line-height: var(--wa-line-height-normal); + padding: 1.25rem; + text-align: left; + white-space: wrap; + } + wa-button.tile::part(suffix) { + display: none; + } + wa-button.tile { + width: 100%; + height: 100%; + & h3 { + font-size: 1rem; + } + & .icon-heading + wa-icon { + color: var(--wa-color-text-quiet); + } + & p { + font-size: 0.875rem; + font-weight: var(--wa-font-weight-normal); + } + &::part(label) { + width: 100%; + } + } + wa-callout { + --spacing: 1.25rem; + height: 100%; + + & .icon-heading wa-icon { + background-color: var(--wa-color-warning-fill-normal); + color: var(--wa-color-warning-on-normal); + } + + & p { + font-size: 0.875rem; + } + }
What you see may not be perfect (we're only humans!) and is subject to change. We encourage you to report bugs or ask for help!
+Check out our installation guide to start building with Web Awesome.
+Web Awesome is the biggest open-source library of meticulously designed, highly customizable, and framework-agnostic UI components.
@@ -273,12 +360,12 @@ layout: page