Skip to content
This repository was archived by the owner on Aug 2, 2026. It is now read-only.

v0.3.8

Choose a tag to compare

@l7aromeo l7aromeo released this 28 Sep 19:07

MeoNode UI v0.3.8 – Theme-Aware Styling Functions

Release Date: 2025-09-29

What's New

  • Styling: Added support for theme-aware functions for css props.
    • Enables more dynamic styling, such as:
      padding: 'theme.spacing.md',
      backgroundColor: theme => tinycolor(theme.system.primary.default).setAlpha(0.8).toString(),
      css: {
        color: theme => theme.system.primary.default,
      }

Refactors

  • Core:
    • Refactored style resolution logic (resolveObjWithTheme and StyledRenderer) to selectively process the css prop.
    • Ensures other props (like children) are not processed, maintaining compatibility with Next.js Server Components.

Version Update

  • Incremented version to 0.3.8.

Changelog & Commits