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

coreui / coreui-pro / 33750110143
96%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v6-dev
DEFAULT BRANCH: main
Ran 03 Sep 2026 11:32AM UTC
Jobs 1
Files 68
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

03 Sep 2026 11:31AM UTC coverage: 93.226%. Remained the same
33750110143

push

github

web-flow
refactor(colors): one colour model — oklch palette, owned by the palette, emitted in the `colors` layer (#1068)

* fix(colors): emit the palette in the `colors` cascade layer

The palette was merged into `$root-tokens`, so every colour token landed in
`@layer root` even though the layer declaration advertises a `colors` layer
below it. An override written where the docs point — `@layer colors { :root {
--cui-blue-500: … } }` — lost to `root` and did nothing.

The palette now gets its own `:root, :host` block in `@layer colors`, built
from a new overridable `$color-tokens` map, so an override in that layer wins
by source order. Token names and values are unchanged in all three bundles
that carry them; the extra rule costs 43 bytes uncompressed.

`$color-tokens` is assembled straight into a private map instead of through a
`color-tokens()` function and a same-named mixin that only wrapped it; the
scale generator stays a function because _theme.scss calls it per theme colour.

* refactor(colors): the palette owns the theme colours

`_theme.scss` read Sass palette values and generated a 100–900 scale per theme
colour, so it had to `@use "colors"`. That put the palette in every bundle
loading the theme for its maps — `coreui-grid.css` grew by 117 tokens and
7.6 kB when the `:root` block sat next to the map — and left two scale
generators in the tree.

`$primary`, `$success`, `$info`, `$warning` and `$danger` are palette colours
now, so their scales come from the one generator in `_colors.scss` and the
theme keeps only its slots. `secondary` and `inverse` are built from the grays,
so they stay with the theme and lose a 100–900 scale nothing read: 18 tokens
off the output. Slot values that were Sass literals (`contrast`, `$link-color`,
the border- and shadow-colour utilities) now read the colour's token, so an
override at run time reaches them.

The `:root` block moves next to the palette it emits. Selectors are unchanged,
and every other token keeps its nam... (continued)

4830 of 5430 branches covered (88.95%)

Branch coverage included in aggregate %.

9263 of 9687 relevant lines covered (95.62%)

399.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33750110143.1 03 Sep 2026 11:32AM UTC 68
93.23
GitHub Action Run
Source Files on build 33750110143
  • Tree
  • List 68
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33750110143
  • c4ad40e3 on github
  • Prev Build on v6-dev (#33738111178)
  • Next Build on v6-dev (#33751401282)
  • 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