OnePassApps Stylesheet Analysis: 403 Custom Properties, Container Queries and Forced Colours
A team member at OnePassApps, which runs app.onepassapps.com, published a byte-level breakdown of the CSS its live site serves. The home page links a 3 KB pre-JavaScript fallback stylesheet and a 242 KB main stylesheet with long-lived caching. The main file defines 403 named custom properties grouped into families such as brand colours, ink scales, control sizes, motion timings and layout containers. Its 14 font-face blocks for Inter Variable are served from the same host as the CSS, with no third-party font requests and no font preloading. The author also notes that the stylesheet contains no prefers-color-scheme rules, so theme selection is handled in application JavaScript, and that it includes accessibility media queries for forced colours, contrast and reduced motion.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in