diff --git a/docs/styles/lightdom.css b/docs/styles/lightdom.css index bc1a5ffd02..573ef7bbf0 100644 --- a/docs/styles/lightdom.css +++ b/docs/styles/lightdom.css @@ -1,4 +1,4 @@ -@layer masthead, sidenav, code-block, permalink, repo-status-list, footer; +@layer masthead, sidenav, permalink, repo-status-list, footer, code-block; @import url('/assets/packages/@uxdot/elements/uxdot-masthead-lightdom.css') layer(masthead); @import url('/assets/packages/@uxdot/elements/uxdot-sidenav-lightdom.css') layer(sidenav); diff --git a/docs/theming/color-palettes.css b/docs/theming/color-palettes.css index d198bd4419..bfdebd9ecd 100644 --- a/docs/theming/color-palettes.css +++ b/docs/theming/color-palettes.css @@ -13,22 +13,33 @@ } .surface-grid, -.tile-grid { +.color-palette-grid { display: grid; padding: 0; list-style-type: none; gap: var(--rh-space-sm); grid-template-columns: 1fr 1fr 1fr; + text-align: center; } .surface-grid { grid-template-columns: 1fr 1fr; + + ::part(header) { + margin-block-end: 1rem; + } } .icon-card { --rh-icon-size: var(--rh-size-icon-07); } +.color-palette-grid rh-surface { + padding: 2rem; + border-radius: var(--rh-border-radius-default); + border: var(--rh-border-width-sm) solid var(--rh-color-border-subtle); +} + .pullquote-card { min-width: 360px; margin: var(--rh-space-2xl); diff --git a/docs/theming/color-palettes.md b/docs/theming/color-palettes.md index f75d95b41b..90468903ce 100644 --- a/docs/theming/color-palettes.md +++ b/docs/theming/color-palettes.md @@ -104,13 +104,13 @@ creating themeable, responsive graphics. **Providers** define the **color palette** for themselves and their child elements. There are six color palettes in RHDS: -
    -
  1. Lightest
  2. -
  3. Lighter
  4. -
  5. Light
  6. -
  7. Dark
  8. -
  9. Darker
  10. -
  11. Darkest
  12. +
      +
    1. Lightest
    2. +
    3. Lighter
    4. +
    5. Light
    6. +
    7. Dark
    8. +
    9. Darker
    10. +
    11. Darkest
    Context providers typically use the `lightest` color palette as the default. @@ -143,7 +143,7 @@ the color palette of it's containing surface. There are two backgrounds in RHDS:
  13. - + Dark
  14. diff --git a/eleventy.config.ts b/eleventy.config.ts index 894ac4105b..a03fda6478 100644 --- a/eleventy.config.ts +++ b/eleventy.config.ts @@ -77,7 +77,7 @@ export default async function(eleventyConfig: UserConfig) { eleventyConfig.addPassthroughCopy('docs/robots.txt'); eleventyConfig.addPassthroughCopy('docs/assets/**/*'); eleventyConfig.addPassthroughCopy('docs/styles/**/*'); - eleventyConfig.addPassthroughCopy('docs/foundations/**/*.{css,js}'); + eleventyConfig.addPassthroughCopy('docs/**/*.{css,js}'); if (isLocal) { eleventyConfig.addPassthroughCopy({