applyKeyframesToTheme() — tailwindcss Function Reference
Architecture documentation for the applyKeyframesToTheme() function in apply-keyframes-to-theme.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 15c35223_4bac_dcb1_403b_78f4fe4852da["applyKeyframesToTheme()"] 0f8ac574_990e_8595_a6ed_11422b8a8ec4["upgradeToFullPluginSupport()"] 0f8ac574_990e_8595_a6ed_11422b8a8ec4 -->|calls| 15c35223_4bac_dcb1_403b_78f4fe4852da 9fbfbf7d_7486_16f1_14be_06acdc92b2cb["keyframesToRules()"] 15c35223_4bac_dcb1_403b_78f4fe4852da -->|calls| 9fbfbf7d_7486_16f1_14be_06acdc92b2cb style 15c35223_4bac_dcb1_403b_78f4fe4852da fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/tailwindcss/src/compat/apply-keyframes-to-theme.ts lines 6–13
export function applyKeyframesToTheme(
designSystem: DesignSystem,
resolvedConfig: Pick<ResolvedConfig, 'theme'>,
) {
for (let rule of keyframesToRules(resolvedConfig)) {
designSystem.theme.addKeyframes(rule)
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does applyKeyframesToTheme() do?
applyKeyframesToTheme() is a function in the tailwindcss codebase.
What does applyKeyframesToTheme() call?
applyKeyframesToTheme() calls 1 function(s): keyframesToRules.
What calls applyKeyframesToTheme()?
applyKeyframesToTheme() is called by 1 function(s): upgradeToFullPluginSupport.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free