module() — tailwindcss Function Reference
Architecture documentation for the module() function in index.js from the tailwindcss codebase.
Entity Profile
Relationship Graph
Source Code
packages/internal-example-plugin/index.js lines 1–4
module.exports = function ({ addVariant }) {
addVariant('inverted', '@media (inverted-colors: inverted)')
addVariant('hocus', ['&:focus', '&:hover'])
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free