R001 no-invalid-theme-custom-property-scope
Disallow declaring Docusaurus theme custom properties outside global theme scopes.
R002 require-ifm-color-primary-scale
Require the full recommended Infima primary color scale when overriding --ifm-color-primary.
R003 prefer-data-theme-color-mode
Prefer Docusaurus data-theme selectors over legacy .theme-dark and .theme-light classes.
R004 no-mobile-navbar-backdrop-filter
Disallow unsafe navbar backdrop filters that bleed into the Docusaurus mobile sidebar.
R005 prefer-data-theme-docsearch-overrides
Prefer explicit site data-theme selectors over .navbar--dark when overriding DocSearch styles.
R006 no-unstable-docusaurus-generated-class-selectors
Disallow exact selectors that target Docusaurus theme CSS-module class names with unstable hash suffixes.
R007 prefer-stable-docusaurus-theme-class-names
Prefer documented stable Docusaurus theme class names over attribute-selector fallbacks for known theme components.
R008 no-mobile-navbar-stacking-context-traps
Disallow containing-block and stacking-context properties on Docusaurus navbar selectors unless they are guarded behind the desktop breakpoint.
R009 no-unwrapped-global-theme-selectors-in-css-modules
Disallow unwrapped Docusaurus and Infima runtime theme selectors inside CSS Modules.
R010 no-unscoped-content-element-overrides
Disallow broad content-element overrides that are not scoped to a Docusaurus content wrapper or component-local selector.
R011 no-unanchored-infima-subcomponent-selectors
Disallow unanchored Infima subcomponent selectors in global Docusaurus stylesheets.
R012 no-subtree-data-theme-selectors
Disallow subtree-scoped data-theme selectors that do not start from the Docusaurus root color-mode attribute.
R013 no-navbar-breakpoint-desync
Disallow custom CSS breakpoints for Docusaurus mobile navbar/sidebar surfaces that can desync from the built-in JS breakpoint.
R014 require-ifm-color-primary-scale-per-color-mode
Require matching Infima primary color-scale overrides for each Docusaurus color mode you customize.
R015 require-docsearch-color-mode-pairs
Require paired light and dark DocSearch token override blocks when customizing DocSearch by color mode.
R016 prefer-infima-theme-tokens-over-structural-overrides
Prefer curated Infima theme tokens over hard-coded structural overrides on common Docusaurus theme surfaces.
R017 no-unsafe-theme-internal-selectors
Disallow curated unsafe Docusaurus internal selector fallbacks that have no documented stable CSS contract.
R018 require-html-prefix-for-docusaurus-data-attribute-selectors
Require an html prefix for bare Docusaurus root data-attribute selectors that target global theme surfaces.
R019 no-docusaurus-layer-name-collisions
Disallow author-defined cascade layer names that collide with reserved Docusaurus-managed layer prefixes.
R020 no-revert-layer-outside-isolation-subtrees
Disallow revert-layer usage outside explicitly isolated local subtrees.
R021 no-direct-theme-token-consumption-in-css-modules
Disallow direct --ifm- and --docsearch- token consumption in CSS Modules declarations.
R022 prefer-data-theme-over-prefers-color-scheme
Prefer Docusaurus data-theme selector scopes over prefers-color-scheme media queries when styling Docusaurus theme tokens or global theme surfaces.
R023 require-local-anchor-for-global-theme-overrides-in-css-modules
Require a local selector anchor when overriding Docusaurus global theme surfaces inside CSS Modules.
R024 prefer-docsearch-theme-tokens-over-structural-overrides
Prefer curated DocSearch theme tokens over hard-coded structural overrides on common DocSearch UI surfaces.
R025 no-broad-all-resets-outside-isolation-subtrees
Disallow broad all revert, and all: unset resets outside explicitly isolated local subtrees.
R026 require-docsearch-root-scope-for-docsearch-token-overrides
Require DocSearch token overrides to live on the .DocSearch root scope instead of descendant or non-DocSearch selectors.
R027 require-reduced-motion-override-for-interactive-transitions
Require a @media (prefers-reduced-motion) override when interactive selectors declare transition or animation.
R028 no-hardcoded-docusaurus-breakpoint-values
Disallow hardcoded pixel values in @media queries that match Docusaurus/Infima documented breakpoints.
R029 require-font-display-on-font-face
Require a font-display declaration in every @font-face block.
R030 require-font-face-local-src-before-remote
Require local() sources to appear before url() sources in @font-face src declarations.
R031 no-direct-project-token-consumption-in-css-modules
Disallow direct project-scoped CSS custom property token consumption in CSS Modules declarations.
R032 no-color-scheme-on-docusaurus-html-root
Disallow color-scheme declarations on Docusaurus root selectors managed by the framework.
R033 no-important-on-infima-or-docusaurus-selector-overrides
Disallow !important on declarations inside rules that target Infima or Docusaurus class selectors.