feat: upgrade tailwind to version 3 (#2933)

* initial upgrade commit for tailwind

* fix: inconsistensies in button

* fix: various places with conflicts

* final fixes

* fix: dialog header color

* apply review
This commit is contained in:
Alireza authored and GitHub committed 2022-09-19 20:02:53 -04:00
1 parent dc04296cfd
commit 55a1704e4a
29 files changed
+337 -270

No files matched your search

+11 -14
View File
@@ -1,18 +1,15 @@
// Todo: we probably should add external installed extensions/modes here as well.
module.exports = {
prefix: '',
important: false,
separator: ':',
purge: {
// Note: if you are writing an extension that uses Tailwind classes,
// you need to put it here so they are not purged in the production build
content: [
'./src/**/*.{jsx,js,ts,tsx, css}',
'./node_modules/@ohif/ui/src/**/*.{js,jsx,ts,tsx, css}',
'../../node_modules/@ohif/ui/src/**/*.{js,jsx,ts,tsx,css}',
'../../node_modules/@ohif/ui/src/**/*.{js,jsx,ts,tsx,css}',
'../../node_modules/@ohif/extension-*/src/**/*.{js,jsx,css, ts,tsx}',
],
},
content: [
'./src/**/*.{jsx,js,ts,tsx, css}',
'../../extensions/**/*.{jsx,js,ts,tsx, css}',
'../../modes/**/*.{jsx,js,ts,tsx, css}',
'./node_modules/@ohif/ui/src/**/*.{js,jsx,ts,tsx, css}',
'../../node_modules/@ohif/ui/src/**/*.{js,jsx,ts,tsx,css}',
'../../node_modules/@ohif/ui/src/**/*.{js,jsx,ts,tsx,css}',
'../../node_modules/@ohif/extension-*/src/**/*.{js,jsx,css, ts,tsx}',
],
theme: {
screens: {
sm: '640px',