Home / Function/ applyKeyframesToTheme() — tailwindcss Function Reference

applyKeyframesToTheme() — tailwindcss Function Reference

Architecture documentation for the applyKeyframesToTheme() function in apply-keyframes-to-theme.ts from the tailwindcss codebase.

Function typescript OxideCore Scanner calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  30ad0416_ebef_28e3_eff4_e5d85df47b9a["applyKeyframesToTheme()"]
  9056089b_151f_3027_844b_242ce55294db["upgradeToFullPluginSupport()"]
  9056089b_151f_3027_844b_242ce55294db -->|calls| 30ad0416_ebef_28e3_eff4_e5d85df47b9a
  e43d1196_de1e_f940_0b19_7c0502d434bd["keyframesToRules()"]
  30ad0416_ebef_28e3_eff4_e5d85df47b9a -->|calls| e43d1196_de1e_f940_0b19_7c0502d434bd
  style 30ad0416_ebef_28e3_eff4_e5d85df47b9a 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

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