-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tailwind): Add tailwind generator
- Loading branch information
Kevin COMBRIAT
committed
Sep 9, 2020
1 parent
abacc6f
commit 5b245b3
Showing
8 changed files
with
1,208 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,7 @@ | |
/.purs* | ||
/.psa* | ||
/.spago | ||
|
||
# Tailwind | ||
/dev/styles.css | ||
/src/Tailwind.purs |
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,9 @@ | ||
/* purgecss start ignore */ | ||
|
||
@tailwind base; | ||
|
||
@tailwind components; | ||
|
||
/* purgecss end ignore */ | ||
|
||
@tailwind utilities; |
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 |
---|---|---|
|
@@ -5,9 +5,14 @@ | |
"author": "Kevin COMBRIAT <[email protected]>", | ||
"license": "MIT", | ||
"scripts": { | ||
"start": "parcel dev/index.html" | ||
"start": "parcel dev/index.html", | ||
"tailwind:generate": "tailwind-generator -l purescript -c ./tailwind.config.js --cssInput ./assets/input.css --cssOutput ./dev/styles.css --output ./src/" | ||
}, | ||
"dependencies": { | ||
"@scoville/tailwind-generator": "https://github.com/scoville/tailwind-generator", | ||
"parcel-bundler": "^1.12.4" | ||
}, | ||
"devDependencies": { | ||
"tailwind": "^4.0.0" | ||
} | ||
} |
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
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,123 @@ | ||
module.exports = { | ||
future: { | ||
purgeLayersByDefault: true, | ||
removeDeprecatedGapUtilities: true, | ||
}, | ||
purge: [], | ||
theme: { | ||
extend: {}, | ||
}, | ||
variants: { | ||
accessibility: ["focus"], | ||
alignContent: [], | ||
alignItems: [], | ||
alignSelf: [], | ||
appearance: [], | ||
backgroundAttachment: [], | ||
backgroundClip: [], | ||
backgroundColor: ["hover", "focus"], | ||
backgroundImage: [], | ||
gradientColorStops: ["hover", "focus"], | ||
backgroundOpacity: ["hover", "focus"], | ||
backgroundPosition: [], | ||
backgroundRepeat: [], | ||
backgroundSize: [], | ||
borderCollapse: [], | ||
borderColor: ["hover", "focus"], | ||
borderOpacity: ["hover", "focus"], | ||
borderRadius: [], | ||
borderStyle: [], | ||
borderWidth: [], | ||
boxShadow: ["hover", "focus"], | ||
boxSizing: [], | ||
container: [], | ||
cursor: [], | ||
display: [], | ||
divideColor: [], | ||
divideOpacity: [], | ||
divideStyle: [], | ||
divideWidth: [], | ||
fill: [], | ||
flex: [], | ||
flexDirection: [], | ||
flexGrow: [], | ||
flexShrink: [], | ||
flexWrap: [], | ||
float: [], | ||
clear: [], | ||
fontFamily: [], | ||
fontSize: [], | ||
fontSmoothing: [], | ||
fontVariantNumeric: [], | ||
fontStyle: [], | ||
fontWeight: ["hover", "focus"], | ||
height: [], | ||
inset: [], | ||
justifyContent: [], | ||
justifyItems: [], | ||
justifySelf: [], | ||
letterSpacing: [], | ||
lineHeight: [], | ||
listStylePosition: [], | ||
listStyleType: [], | ||
margin: [], | ||
maxHeight: [], | ||
maxWidth: [], | ||
minHeight: [], | ||
minWidth: [], | ||
objectFit: [], | ||
objectPosition: [], | ||
opacity: ["hover", "focus"], | ||
order: [], | ||
outline: ["focus"], | ||
overflow: [], | ||
overscrollBehavior: [], | ||
padding: [], | ||
placeContent: [], | ||
placeItems: [], | ||
placeSelf: [], | ||
placeholderColor: ["focus"], | ||
placeholderOpacity: ["focus"], | ||
pointerEvents: [], | ||
position: [], | ||
resize: [], | ||
space: [], | ||
stroke: [], | ||
strokeWidth: [], | ||
tableLayout: [], | ||
textAlign: [], | ||
textColor: ["hover", "focus"], | ||
textOpacity: ["hover", "focus"], | ||
textDecoration: ["hover", "focus"], | ||
textTransform: [], | ||
userSelect: [], | ||
verticalAlign: [], | ||
visibility: [], | ||
whitespace: [], | ||
width: [], | ||
wordBreak: [], | ||
zIndex: [], | ||
gap: [], | ||
gridAutoFlow: [], | ||
gridTemplateColumns: [], | ||
gridColumn: [], | ||
gridColumnStart: [], | ||
gridColumnEnd: [], | ||
gridTemplateRows: [], | ||
gridRow: [], | ||
gridRowStart: [], | ||
gridRowEnd: [], | ||
transform: [], | ||
transformOrigin: [], | ||
scale: ["hover", "focus"], | ||
rotate: ["hover", "focus"], | ||
translate: ["hover", "focus"], | ||
skew: ["hover", "focus"], | ||
transitionProperty: [], | ||
transitionTimingFunction: [], | ||
transitionDuration: [], | ||
transitionDelay: [], | ||
animation: [], | ||
}, | ||
plugins: [], | ||
}; |
Oops, something went wrong.