forked from eclipse-edc/DataDashboard
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore install tailwind, remove manually added utilities (#260)
- Loading branch information
1 parent
518c2d0
commit 821c97e
Showing
8 changed files
with
1,610 additions
and
1,095 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module.exports = { | ||
plugins: { | ||
'postcss-import': {}, | ||
'tailwindcss/nesting': {}, | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* This injects Tailwind's base styles and any base styles registered by | ||
* plugins. | ||
*/ | ||
// @tailwind base; | ||
|
||
/** | ||
* This injects Tailwind's component classes and any component classes | ||
* registered by plugins. | ||
*/ | ||
// @tailwind components; | ||
|
||
/** | ||
* This injects Tailwind's utility classes and any utility classes registered | ||
* by plugins. | ||
*/ | ||
@tailwind utilities; | ||
|
||
/** | ||
* Use this directive to control where Tailwind injects the hover, focus, | ||
* responsive, dark mode, and other variants of each class. | ||
* | ||
* If omitted, Tailwind will append these classes to the very end of | ||
* your stylesheet by default. | ||
*/ | ||
// @tailwind variants; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module.exports = { | ||
prefix: '', | ||
purge: { | ||
content: ['./src/**/*.{html,ts}'], | ||
}, | ||
darkMode: 'class', // or 'media' or 'class' | ||
theme: { | ||
extend: {}, | ||
}, | ||
variants: { | ||
extend: {}, | ||
}, | ||
plugins: [], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
module.exports = { | ||
module: { | ||
rules: [ | ||
// Add PostCSS Loader fir Tailwind Utilities | ||
{ | ||
test: /\.scss$/, | ||
loader: 'postcss-loader', | ||
options: { | ||
postcssOptions: { | ||
ident: 'postcss', | ||
syntax: 'postcss-scss', | ||
plugins: [ | ||
require('postcss-import'), | ||
require('tailwindcss'), | ||
require('autoprefixer'), | ||
], | ||
}, | ||
}, | ||
}, | ||
], | ||
}, | ||
}; |