Commit Graph

7 Commits (7b9bc8bb994f09424a29f25a5ca4aa7150452a5d)

Author SHA1 Message Date
Ahmad Abdolsaheb 9672c92a19
feat: upgrade to tailwind 3 (#44779)
Co-authored-by: ahmad abdolsaheb <home@mac-16.local>
2022-01-18 17:41:54 +03:00
Ahmad Abdolsaheb 8c5ac39dd2
fix: build tailwind with rollup in TS (#44713)
* fix: build tailwind with rollup in TS

* Update tools/ui-components/package.json

Co-authored-by: ahmad abdolsaheb <home@mac-16.local>
2022-01-13 16:59:03 +03:00
Maciek Sitkowski 58701d511b
feat(tools): add Alert component (#43835)
* feat(alert): initialize component

* feat(alert): add children prop

* feat(alert): add className prop

* feat(alert): add variant prop

* feat(alert): add close button and handle onDismiss click

* feat(alert): place all alert related css in alert.css

* feat: define state color variables and use them instead of bootstrap ones

* chore: remove unused classes

* feat: replace base alert styles with tailwind classes

* feat: extract close button to separate component

* chore: remove unused css

* test: add close button tests

* refactor: use more tailwind-like approach for adding colors to theme

* refactor: use more expressive prop name for close button label

* refactor: use semantic color names

* feat: add stories with/without close button

* chore: add missing variants
2021-11-27 12:28:40 +03:00
Ahmad Abdolsaheb f56a5617ac
feat: add tailwind theme support (#43616)
* feat: add tailwind theme support

* feat: simplify config
2021-10-11 10:38:44 +03:00
Huyen Nguyen 4a240fc58d
chore(tools): split color tokens to separate layers (#42388) 2021-06-15 15:33:18 +03:00
ChrisPrzR fcc29419c6
feat(tools): add color palette to tailwind config file (#42198)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2021-05-22 15:33:43 +05:30
Huyen Nguyen ed094523e4
feat(tools): setup TailwindCSS in ui-components (#42153) 2021-05-17 12:43:27 +05:30