Introduction
Infima is the styling layer of @docusaurus/theme-classic: a CSS framework for content-driven websites, with styles for common UI components (grid, buttons, navbar, menuโฆ) and dark mode support.
Infima is themed with CSS variables. Sites customize it by overriding the --ifm-* CSS variables, and third-party components can read them to match the site style.
The Infima source code comes from the upstream Infima repository.
Why the name "Infima"?โ
In mathematics, the infimum (abbreviated inf; plural infima) of a subset S of a partially ordered set T is the greatest element in T that is less than or equal to all elements of S, if such an element exists.
Infima provides websites with the minimal CSS needed to build a modern and responsive website. If T is the set of things needed to build a website, and S the components needed, the infimum of a website is its styling.