Skip to content
Viewership Inquire
Astro UI

The foundation.

One stylesheet. Every color, radius, shadow and easing the components read. 55 tokens.

.md
  1. Import it once

    Save it as src/styles/foundation.css. Paper or ink follows the OS.

    Layout.astro
    ---
    // src/layouts/Layout.astro
    import "../styles/foundation.css";
    ---
  2. Scope a mode or theme

    Any element can force paper or ink, or the neutral theme.

    Page.astro
    <!-- force a mode or theme on any element -->
    <section data-vs-mode="dark">…</section>
    <section data-vs-theme="neutral" data-vs-mode="light">…</section>

On paper.

Surfaces

  • page #f2ece4
  • canvas #e8e0d5
  • surface #fbf8f3
  • inset #f6f1ea
  • field #ede6dc
  • hover #f0e9e0
  • hover-2 #e5dccf

Ink

  • ink #0d0809
  • ink-2 #5a4f50
  • ink-3 #7a6f6e
  • ink-inverse #f2ece4

Lines

  • line #e3dbd0
  • line-strong #d2c7ba
  • line-soft #ece5db
  • elev-ring #e3dbd0
  • elev-ring-strong #d2c7ba
  • grid-line mix

Accent

  • accent #e1232a
  • accent-ink #b81a20
  • accent-tint #f8dde5
  • on-accent #ffffff

Semantic

  • green #357045
  • green-tint #dfe8da
  • orange #9e5812
  • orange-tint #f3e2c8
  • red #b0341b
  • red-tint #f4d9cc

Tooltip

  • tooltip-bg #0d0809
  • tooltip-fg #f2ece4
  • tooltip-muted #a99e97
  • tooltip-border #2b2023

On ink.

Surfaces

  • page #0d0809
  • canvas #120b0d
  • surface #1a1214
  • inset #150e10
  • field #231a1c
  • hover #221a1c
  • hover-2 #2c2225

Ink

  • ink #f2ece4
  • ink-2 #b5aba3
  • ink-3 #8a7f7a
  • ink-inverse #0d0809

Lines

  • line #2a2023
  • line-strong #3a2e31
  • line-soft #211819
  • elev-ring rgb(242 236 228 / 0.09)
  • elev-ring-strong rgb(242 236 228 / 0.13)
  • grid-line mix

Accent

  • accent #e8272a
  • accent-ink #f7a9b8
  • accent-tint rgb(232 39 42 / 0.18)
  • on-accent #ffffff

Semantic

  • green #7fbf8e
  • green-tint rgb(127 191 142 / 0.14)
  • orange #e2a35c
  • orange-tint rgb(226 163 92 / 0.14)
  • red #f08a6b
  • red-tint rgb(240 138 107 / 0.14)

Tooltip

  • tooltip-bg #2a1f22
  • tooltip-fg #f2ece4
  • tooltip-muted #a99e97
  • tooltip-border #3a2e31

Type

  • Weekly report is ready 16 / 600
  • Approve 3 campaign briefs 14 / 500
  • Sessions up 12% week over week, led by organic search. 13 / 400
  • Updated 4 min ago · 1,284 rows 12 / 400
  • const report = await weekly({ site }); Code only

Archivo at normal width. Numbers use tabular figures.

Radii

  • chip 4px
  • control 6px
  • card 8px
  • window 12px
  • pill

Elevation

  • hairline
  • btn
  • card
  • raised
  • overlay

Motion

  • ease-out
  • ease-in-out
  • ease-link

Hover to play. Reduced motion skips every transition.

Two themes.

  • #214Spring Search Live
  • #215Trail Test video In review
  • #216Gear Guide email Needs approval
  • #217Reddit AMA post Rejected
  • #218Summer promo Queued

Marketing automations

Auto-send weekly reportEmail the GA4 and Ads summary every Monday.
Alert on new AI citationsPost in Slack when ChatGPT cites a page.
Brand voice checkManaged by the content lead.
AI citations

412cites 27 new across 9 topics

Engine

Viewership ships as the default. Neutral is the original Beautiful UI look, in the same file.

Source

Third-party notices
# Third-party notices

Viewership UI ports components and design tokens from the projects below. Their
licenses require this notice to accompany copies of the software.

## Beautiful UI

https://www.beautifului.dev · https://github.com/slev12397/beautiful-ui

MIT License

Copyright (c) 2026 Shane Levine

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

## shadcn/ui

https://ui.shadcn.com · https://github.com/shadcn-ui/ui

MIT License

Copyright (c) 2023 shadcn

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.