Skip to content

Add shadow color and opacity to BoxShadow and DropShadow controls#3

Open
bencounsell wants to merge 1 commit intomainfrom
auto-fix/shadow-color-opacity
Open

Add shadow color and opacity to BoxShadow and DropShadow controls#3
bencounsell wants to merge 1 commit intomainfrom
auto-fix/shadow-color-opacity

Conversation

@bencounsell
Copy link
Copy Markdown
Member

Summary

  • Adds Shadow Color (themeColor) and Shadow Opacity (slider) controls to BoxShadow
  • Adds Shadow Color and Shadow Opacity controls to DropShadow
  • Updates globalEffects hook to apply box shadow color/opacity classes with Tailwind's /{opacity} modifier syntax
  • Updates globalFilters hook to apply drop shadow color/opacity classes
  • Bumps version to 1.4.0

Fixes realmacsoftware/RWElementsCorePack#66

Once merged and published to npm, run npm update rw-elements-tools and npm run build in RWElementsCorePack to regenerate all component properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add shadow opacity and shadow colour to global controls

1 participant