Skip to content

refactor(core): rename $theme parameter for $tokens in `emit-cust… #884

refactor(core): rename $theme parameter for $tokens in `emit-cust…

refactor(core): rename $theme parameter for $tokens in `emit-cust… #884

GitHub Actions / JEST Tests succeeded Jul 25, 2024 in 0s

18 passed, 0 failed and 0 skipped

Tests passed successfully

✅ junit.xml

18 tests were completed in 1s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
core 18✅ 1s

✅ core

core color-theme() Should return custom theme declarations.
  ✅ core color-theme() Should return custom theme declarations.
core shape-theme() Should return custom theme declarations.
  ✅ core shape-theme() Should return custom theme declarations.
theme functions create-name() Should return theme property name.
  ✅ theme functions create-name() Should return theme property name.
theme functions validation() Should return validated theme tokens.
  ✅ theme functions validation() Should return validated theme tokens.
theme functions create-theme-vars() Should return a map of tokens with custom properties.
  ✅ theme functions create-theme-vars() Should return a map of tokens with custom properties.
theme functions create-theme-vars() Should return a map of tokens with custom properties without component name prefix.
  ✅ theme functions create-theme-vars() Should return a map of tokens with custom properties without component name prefix.
theme functions emit-variable() Should return theme CSS variable.
  ✅ theme functions emit-variable() Should return theme CSS variable.
theme functions emit-variable() Should return validated theme tokens with fallback.
  ✅ theme functions emit-variable() Should return validated theme tokens with fallback.
theme mixins emit-custom-props() Should return theme custom properties declarations.
  ✅ theme mixins emit-custom-props() Should return theme custom properties declarations.
theme mixins emit-custom-props() Should return theme custom properties declarations without prefix.
  ✅ theme mixins emit-custom-props() Should return theme custom properties declarations without prefix.
theme mixins emit-theme-vars() Should return custom theme declarations.
  ✅ theme mixins emit-theme-vars() Should return custom theme declarations.
theme mixins emit-theme-vars() Should return custom theme declarations without null.
  ✅ theme mixins emit-theme-vars() Should return custom theme declarations without null.
theme mixins emit-color-scheme() Should return the CSS declarations for light color theme.
  ✅ theme mixins emit-color-scheme() Should return the CSS declarations for light color theme.
theme mixins emit-color-scheme() Should return the CSS declarations for dark color theme.
  ✅ theme mixins emit-color-scheme() Should return the CSS declarations for dark color theme.
color config() Should return theme custom properties declarations.
  ✅ color config() Should return theme custom properties declarations.
color theme() Should return custom theme declarations.
  ✅ color theme() Should return custom theme declarations.
shape config() Should return theme custom properties declarations.
  ✅ shape config() Should return theme custom properties declarations.
shape theme() Should return custom theme declarations.
  ✅ shape theme() Should return custom theme declarations.