vikramrojo / fortune

🔮Fortune is your friendly CSS properties framework.
MIT License
16 stars 2 forks source link

Exposing component variables #49

Closed vikramrojo closed 5 years ago

vikramrojo commented 5 years ago

When using a viewport scroll monitor how can you direct variables values, eg. button-bg-color to either transition change or with button-padding-y through incremental values.

vikramrojo commented 5 years ago

Settled on the practice of using initial for components where you'd want to inject a new value during interactions for example, changing a button-bg-color vs theming button-font-size

vikramrojo commented 5 years ago

Fixed with #51