12 Commits

Author SHA1 Message Date
Mathias Rando Juul
fe6799453b Adds failsafe to getPreferredColorScheme in case window is unavailable 2019-10-03 05:23:07 +02:00
Mathias Rando Juul
18d6644d60 Adds function to get preferred color scheme 2019-10-02 13:31:47 +02:00
lonyele
b8ac710fbe Fix stupid mistake 2019-06-14 04:23:59 +09:00
lonyele
76939ac3e2 Add tests for guarding invalid args to polished and fix typo 2019-06-08 22:48:20 +09:00
lonyele
9f196500f3 Add css calc to guarding logic 2019-06-08 21:16:38 +09:00
lonyele
f9aee6fab8 Add validation of user input 2019-06-08 21:15:22 +09:00
lonyele
57db3f2813 Refactor for better exception handling. 2019-06-08 21:12:31 +09:00
lonyele
8f23700d8e Change guarding functions for broader cases 2019-06-03 22:25:13 +09:00
lonyele
f085a1a637 Improve comment for clarification 2019-06-03 21:49:53 +09:00
lonyele
703b5d545d Add comment on guarding linear-gradient 2019-06-02 20:59:31 +09:00
lonyele
a0a7cc7759 Fix when linear-gradient is passed to polished library's functions 2019-06-02 20:29:54 +09:00
Norbert de Langen
ae9e32f8d0
MIGRATE to wrap emotion into a @storybook/theming package
- This ensures a single version
- This adds a good place to add themes
- Addons can take a dependency on something storybook
- We could migrate to another styling lib without asking all users to migrate with us
2019-01-14 22:48:33 +01:00