The Design Tokens That Hold a Growing Stylesheet Together
Every stylesheet starts clean. The colours are consistent, the spacing is deliberate, the type scale makes sense. Then the project grows, contributors come and…
Open source · Node.js
StyleStats parses any HTML or CSS document and produces a small set of metrics — selectors, colors, font sizes, cohesion, !important usage — that act as an early warning system for stylesheet complexity.
Sample reports we keep on file — pick one to see the metrics.
Count selectors, unique colors, font sizes, and float properties — the signals that drift first.
Average and lowest cohesion scores reveal selectors that try to do too much at once.
!important driftSpot specificity wars before they become impossible to untangle.
Articles on CSS, design systems, and front-end craft.
Every stylesheet starts clean. The colours are consistent, the spacing is deliberate, the type scale makes sense. Then the project grows, contributors come and…
Almost every frustrating CSS bug — the style that refuses to apply, the colour that will not change, the layout that ignores your careful rule — traces back to…
Artificial intelligence has stopped being a feature companies announce and started being the substrate they build on. The shift happened faster than almost any…
The home screen of an online casino is one of the hardest interface problems in consumer software, and almost nobody talks about it that way. A typical lobby h…
If you have noticed that you post less than you used to — that the things you once would have shared with everyone now go to a group chat, a close-friends list…
Place two images side by side. The first: a room on the first floor of a Venetian palazzo, around 1770. Three Murano chandeliers throw light off a wall of mirr…