-
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.
Do not package style.css instead just send tailwind config
- Loading branch information
1 parent
27d7dc8
commit f2df294
Showing
7 changed files
with
95 additions
and
55 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,42 @@ | ||
export default { | ||
colors: { | ||
primary: 'var(--primary)', | ||
'primary/50': 'var(--primary50)', | ||
'primary/10': 'var(--primary10)', | ||
'primary-minimal': 'var(--primary-minimal)', | ||
'primary-bright': 'var(--primary-bright)', | ||
primaryTextColor: 'var(--primaryTextColor)', | ||
|
||
secondary: 'var(--secondary)', | ||
'secondary/50': 'var(--secondary50)', | ||
'secondary/10': 'var(--secondary10)', | ||
'secondary-minimal': 'var(--secondary-minimal)', | ||
'secondary-bright': 'var(--secondary-bright)', | ||
secondaryTextColor: 'var(--secondaryTextColor)', | ||
|
||
background: 'var(--background)', | ||
'background-darken-1': 'var(--background-darken-1)', | ||
'background-darken-2': 'var(--background-darken-2)', | ||
'background-darken-3': 'var(--background-darken-3)', | ||
'background-lighten-1': 'var(--background-lighten-1)', | ||
'background-lighten-2': 'var(--background-lighten-2)', | ||
'background-lighten-3': 'var(--background-lighten-3)', | ||
|
||
contrast: 'var(--contrast)', | ||
'contrast/50': 'var(--contrast50)', | ||
color: 'var(--color)', | ||
}, | ||
animation: { | ||
'stripes': 'stripes 60s linear infinite', | ||
}, | ||
keyframes: { | ||
'stripes': { | ||
'0%': { 'background-position': '-200% 0' }, | ||
'100%': { 'background-position': '200% 0' }, | ||
}, | ||
}, | ||
gridTemplateColumns: { | ||
'flexible-fit': 'repeat(auto-fit, minmax(var(--flexible-cols-min-width), 1fr))', | ||
'flexible-fill': 'repeat(auto-fill, minmax(var(--flexible-cols-min-width), 1fr))', | ||
}, | ||
}; |
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 |
---|---|---|
@@ -1,52 +1,13 @@ | ||
const theme = require('./tailwind-theme'); | ||
|
||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: [ | ||
'./src/**/*.{tsx,jsx,ts}', | ||
], | ||
darkMode: 'class', | ||
theme: { | ||
extend: { | ||
colors: { | ||
primary: 'var(--primary)', | ||
'primary/50': 'var(--primary50)', | ||
'primary/10': 'var(--primary10)', | ||
'primary-minimal': 'var(--primary-minimal)', | ||
'primary-bright': 'var(--primary-bright)', | ||
primaryTextColor: 'var(--primaryTextColor)', | ||
|
||
secondary: 'var(--secondary)', | ||
'secondary/50': 'var(--secondary50)', | ||
'secondary/10': 'var(--secondary10)', | ||
'secondary-minimal': 'var(--secondary-minimal)', | ||
'secondary-bright': 'var(--secondary-bright)', | ||
secondaryTextColor: 'var(--secondaryTextColor)', | ||
|
||
background: 'var(--background)', | ||
'background-darken-1': 'var(--background-darken-1)', | ||
'background-darken-2': 'var(--background-darken-2)', | ||
'background-darken-3': 'var(--background-darken-3)', | ||
'background-lighten-1': 'var(--background-lighten-1)', | ||
'background-lighten-2': 'var(--background-lighten-2)', | ||
'background-lighten-3': 'var(--background-lighten-3)', | ||
|
||
contrast: 'var(--contrast)', | ||
'contrast/50': 'var(--contrast50)', | ||
color: 'var(--color)', | ||
}, | ||
animation: { | ||
'stripes': 'stripes 60s linear infinite', | ||
}, | ||
keyframes: { | ||
'stripes': { | ||
'0%': { 'background-position': '-200% 0' }, | ||
'100%': { 'background-position': '200% 0' }, | ||
}, | ||
}, | ||
gridTemplateColumns: { | ||
'flexible-fit': 'repeat(auto-fit, minmax(var(--flexible-cols-min-width), 1fr))', | ||
'flexible-fill': 'repeat(auto-fill, minmax(var(--flexible-cols-min-width), 1fr))' | ||
} | ||
}, | ||
extend: theme, | ||
}, | ||
plugins: [], | ||
} |