v0.1.0
Live

Friendly, chunky, tidy.

One small stylesheet for every Bona Vulpes app, site and extension. Thick outlines, hard shadows, cream by day and navy by night. Plain CSS, no JavaScript framework, no dependencies.

<link rel="stylesheet" href="https://ui.bonavulpes.com/v1/bv.css">
<script src="https://ui.bonavulpes.com/v1/bv.js"></script> <!-- optional theme toggle -->

Tokens

Everything is a --bv-* custom property. Colours use light-dark(), so the theme follows the system, or force one with data-theme="light|dark" on <html>. Layers: reset, tokens, base, components, utilities, so your own unlayered CSS always wins.

Buttons

Hover lifts, press sinks into the shadow. Sizes --sm, default, --lg.

Button group

Forms

Bare input, textarea, select, checkboxes and radios are styled automatically; the classes just add structure.

As it appears on your card.
That does not look like an email.

Checkbox, radio, switch, range

Surfaces

Cards

Cards are container-query aware: .bv-card--wide puts the media beside the text once the card is wide enough.

News

A plain card

Panel surface, 2px outline, hard shadow.

Live

An interactive card

It is a link: lift on hover, sink on press.

Tinted

Derived from the accent with color-mix.

Info blue

Works in both themes.

Wide card

Resize the window: below 30rem this stacks, above it the media moves to the side.

containerqueries

Window

Sumo Duel

Sumo Duel

Live

A reaction duel for two. Wait for it... wait for it... PUSH!

browsermultiplayerreflexes

Toolbar, tabs, header

The overview panel. Tabs are plain buttons with aria-selected.

Feedback

Badges and tags

LiveNewBetaInfoOffline browserlink tag

Alerts and toasts

Heads upThe new version is ready to install.
SavedYour den is safe.
CarefulThis cannot be undone.
FailedThe chicken coop is locked.

Dialog

The native <dialog> element, so focus trapping and Esc come free.

Delete this den?

Everything inside goes away. The foxes will be sad.

Progress and spinner

Data

Stat cards

Visitors12,480+8.2% this week
Secrets found17 / 25+3 today
Error rate0.4%-0.1% vs last week

List and menu

Table

AppKindPlayersStatus
Sumo DuelGame1,204Live
FightGridPWA86Beta
BicharadaAndroid12Offline

Layout helpers

bv-container, bv-stack, bv-cluster, bv-grid (auto-fit, set --bv-min), bv-split. Gap via --bv-gap.

bv-split
clusteroftags
grid
auto
fit
cells

Bare HTML

Headings, links, code and Ctrl+K

Plain elements already look right without any class. Highlights too.

Quotes get an orange rule.
  • Unordered lists
  • Just work