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

coreui / coreui-pro / 32432557987
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: feat/date-picker-time-parts
DEFAULT BRANCH: main
Ran 21 Aug 2026 12:25AM UTC
Jobs 1
Files 66
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

21 Aug 2026 12:24AM UTC coverage: 93.272%. Remained the same
32432557987

push

github

web-flow
fix(CloseButton): drop .btn-close-white and collapse the size surface (#811)

The icon has been a mask painted with the element's own color since the
SVGs moved off background-image, so .btn-close-white only ever restated
what the inherited color already gives you. Measured on a .text-bg-dark
toast, a .text-bg-primary surface and a .bg-body.text-body section under
data-coreui-theme="dark", the button renders identically with and without
it. Deprecated since v5.0.0; removed now.

The dark-mode rule behind it goes too. It forced the glyph white on every
descendant of [data-coreui-theme=dark], which made the close button the
one element in a bare color-mode section that looked right while the text
beside it stayed unreadable - a section flips the tokens but paints
nothing, so a plain <span> there keeps the outer page's ink. It also got
the mirror case wrong: a light section inside a dark page inherited the
forced white and drew a white icon on white. Without the rule every case
measures correctly, including that one.

Five size variables described one square: width, height and a padding per
axis, with height and padding-y already defined as copies of their
siblings. They collapse into --cui-btn-close-icon-size and
--cui-btn-close-padding. The rendered box is unchanged - 1em of glyph
inside .25em of padding, so the pointer target stays 24px at the default
font size, which is the WCAG 2.2 minimum. Upstream went further and
dropped the padding entirely; that leaves a 20px target, so we keep ours.

--cui-btn-close-bg becomes --cui-btn-close-icon: it stopped being a
background when the glyph moved to a mask, and the old name sent anyone
customizing it looking for the wrong property.

The docs page still described the filter-and-background-image
implementation, so it gets rewritten with a CSS variables section, and the
three pages that paired .btn-close with .btn-close-white drop the class.

4537 of 5095 branches covered (89.05%)

Branch coverage included in aggregate %.

8661 of 9055 relevant lines covered (95.65%)

399.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32432557987.1 21 Aug 2026 12:25AM UTC 66
93.27
GitHub Action Run
Source Files on build 32432557987
  • Tree
  • List 66
  • 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 #32432557987
  • ff36d603 on github
  • Prev Build on v6-dev (#32432535902)
  • Next Build on v6-dev (#32466866916)
  • 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