• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / mcp / 44616441978
98%

Build:
DEFAULT BRANCH: main
Ran 19 Nov 2026 09:15PM UTC
Jobs 1
Files 49
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Nov 2026 09:12PM UTC coverage: 98.141%. Remained the same
44616441978

push

github

web-flow
refactor(mcp-ui): co-locate component CSS so views ship only what they import (#576)

Stacked on #573

## What kind of change does this PR introduce?

Refactor (no intended change to rendered output; see Verification).

## What is the current behavior?

Every view imports one shared stylesheet (`src/shared/styles.css`), so
each view's single-file HTML ships CSS for every component whether or
not it renders that component. That does not scale as views are added.

Related issues: none linked.

## What is the new behavior?

- `src/shared/styles.css` is split into `src/shared/base.css` (the
global core: layer order statement, tokens, native element styles,
`.sr-only`) plus one CSS file per component. Each component file owns
one class in the `components` layer and is imported by the TSX component
that renders it. A view now ships `base.css` plus the CSS of the
components it imports. Rules were moved verbatim; the authoring model
(plain CSS, cascade layers, specificity caps, `:where()`,
`data-slot`/`data-state`/`data-tone`) is unchanged.
- The layer order statement lives only in `base.css`, which must be the
first import in every view's `main.tsx`.
- Component custom properties are renamed from `--sb-local-*` to
`--sb-component-<component>-*`, namespaced by the component's file (for
example `--sb-component-progress-card-radius`). A component reads its
own properties without a fallback. A component reading another
component's properties must provide a fallback, because its file can
ship without the other's. `ready-actions.css` does this for the
`progress-card` properties it reads. `--sb-view-<view>-*` is reserved
for a view's `view.css`.
- `scripts/check-css.mjs` (`pnpm lint:css`) now checks every CSS file
under `src/` and enforces: one block per layer per file; which layers
each kind of file may contain; a component class styled in only one
file; the layer statement only in `base.css`, and `base.css` first in
each `main.tsx`; and the custom property namesp... (continued)

1321 of 1369 branches covered (96.49%)

Branch coverage included in aggregate %.

6230 of 6325 relevant lines covered (98.5%)

294.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44616441978.1 19 Nov 2026 09:15PM UTC 49
98.14
GitHub Action Run
Source Files on build 44616441978
  • Tree
  • List 49
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44616441978
  • 43fc508e on github
  • Prev Build on main (#44615957696)
  • Next Build on main (#44744630036)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc