diff --git a/docs/assets/styles/docs.css b/docs/assets/styles/docs.css
index 635a70e2d..f57fa3d15 100644
--- a/docs/assets/styles/docs.css
+++ b/docs/assets/styles/docs.css
@@ -131,3 +131,16 @@ wa-page > main {
background-color: var(--wa-color-warning-fill-normal);
}
}
+
+/* Swatches */
+
+.swatch {
+ background-color: var(--wa-color-surface-default);
+ border-color: var(--wa-color-neutral-border-normal);
+ border-style: var(--wa-border-style);
+ border-width: var(--wa-border-width-s);
+ border-radius: var(--wa-border-radius-s);
+ line-height: 2.5;
+ height: 2.5em;
+ padding-inline: var(--wa-space-xs);
+}
diff --git a/docs/docs/theming/borders.md b/docs/docs/theming/borders.md
index 642aee270..557e17bd9 100644
--- a/docs/docs/theming/borders.md
+++ b/docs/docs/theming/borders.md
@@ -4,25 +4,13 @@ description: Change the edges and corners of your components with Web Awesome's
layout: page.njk
---
-
-
## Style
Border style controls the line shape of borders throughout Web Awesome.
| Custom Property | Default Value | Preview |
| ----------------------------- | - | ------------------------------- |
-| `--wa-border-style` | solid |
solid | |
## Width
@@ -32,9 +20,9 @@ Each border width value uses a `calc()` function with `--wa-border-width-multipl
| Custom Property | Default Value | Preview |
| ----------------------------- | - | ------------------------------- |
-| `--wa-border-width-s` | 0.0625rem (1px) | |
-| `--wa-border-width-m` | 0.125rem (2px) | |
-| `--wa-border-width-l` | 0.1875rem (3px) | |
+| `--wa-border-width-s` | 0.0625rem (1px) | |
+| `--wa-border-width-m` | 0.125rem (2px) | |
+| `--wa-border-width-l` | 0.1875rem (3px) | |
## Radius
@@ -42,9 +30,9 @@ Common border radius properties allow you to achieve specific shapes.
| Custom Property | Default Value | Preview |
| ----------------------------- | - | ------------------------------- |
-| `--wa-border-radius-pill` | 9999px | |
-| `--wa-border-radius-circle` | 50% | |
-| `--wa-border-radius-square` | 0rem | |
+| `--wa-border-radius-pill` | 9999px | |
+| `--wa-border-radius-circle` | 50% | |
+| `--wa-border-radius-square` | 0rem | |
Size-based border radius properties allow you to customize the overall roundness of Web Awesome components. These use `rem` units in order to scale proportionately with the root font size.
@@ -52,7 +40,7 @@ Each border radius value uses a `calc()` function with `--wa-border-radius-multi
| Custom Property | Default Value | Preview |
| ----------------------------- | - | ------------------------------- |
-| `--wa-border-radius-xs` | 0.1875rem (3px) | |
-| `--wa-border-radius-s` | 0.375rem (6px) | |
-| `--wa-border-radius-m` | 0.75rem (12px) | |
-| `--wa-border-radius-l` | 1.125rem (18px) | |
+| `--wa-border-radius-xs` | 0.1875rem (3px) | |
+| `--wa-border-radius-s` | 0.375rem (6px) | |
+| `--wa-border-radius-m` | 0.75rem (12px) | |
+| `--wa-border-radius-l` | 1.125rem (18px) | |
diff --git a/docs/docs/theming/color.md b/docs/docs/theming/color.md
index 2087e7289..9bb3620b4 100644
--- a/docs/docs/theming/color.md
+++ b/docs/docs/theming/color.md
@@ -21,14 +21,8 @@ layout: page.njk
.color-preview {
flex: 1 1 auto;
}
- .color-swatch {
- border-radius: var(--wa-border-radius-s);
- line-height: 2;
- height: 2em;
- padding-inline: var(--wa-space-xs);
- }
- .color-swatch.text-only {
- padding-inline: 0;
+ .swatch {
+ border: none;
}
@@ -56,47 +50,47 @@ Web Awesome defines seven literal colors each with 11 lightness values using the
brand | success | neutral | warning | danger |
| ----------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
-| `--wa-color-*-fill-quiet` | | | | | |
-| `--wa-color-*-fill-normal` | | | | | |
-| `--wa-color-*-fill-loud` | | | | | |
-| `--wa-color-*-border-quiet` | | | | | |
-| `--wa-color-*-border-normal` | | | | | |
-| `--wa-color-*-border-loud` | | | | | |
-| `--wa-color-*-on-quiet` |