4
0
forked from crowetic/commerce

Adding new future flag

This commit is contained in:
Belen Curcio 2020-12-21 14:42:46 -03:00
parent f5ee316ff9
commit a565e0b87c
2 changed files with 6 additions and 5 deletions

View File

@ -23,7 +23,7 @@ const Head: FC<Props> = ({ categories, brands, newestProducts }) => {
</Link> </Link>
</li> </li>
{categories.map((cat: any) => ( {categories.map((cat: any) => (
<li key={cat.path} className="py-1 text-accents-8"> <li key={cat.path} className="py-1 text-accents-8 text-base">
<Link href={getCategoryPath(cat.path)}> <Link href={getCategoryPath(cat.path)}>
<a>{cat.name}</a> <a>{cat.name}</a>
</Link> </Link>
@ -37,7 +37,7 @@ const Head: FC<Props> = ({ categories, brands, newestProducts }) => {
</Link> </Link>
</li> </li>
{brands.flatMap(({ node }: any) => ( {brands.flatMap(({ node }: any) => (
<li key={node.path} className="py-1 text-accents-8"> <li key={node.path} className="py-1 text-accents-8 text-base">
<Link href={getDesignerPath(node.path)}> <Link href={getDesignerPath(node.path)}>
<a>{node.name}</a> <a>{node.name}</a>
</Link> </Link>

View File

@ -1,6 +1,7 @@
module.exports = { module.exports = {
future: { future: {
purgeLayersByDefault: true, purgeLayersByDefault: true,
applyComplexClasses: true,
}, },
purge: { purge: {
content: [ content: [
@ -50,11 +51,11 @@ module.exports = {
'rgba(0, 0, 0, 0.02) 0px 30px 30px, rgba(0, 0, 0, 0.03) 0px 0px 8px, rgba(0, 0, 0, 0.05) 0px 1px 0px', 'rgba(0, 0, 0, 0.02) 0px 30px 30px, rgba(0, 0, 0, 0.03) 0px 0px 8px, rgba(0, 0, 0, 0.05) 0px 1px 0px',
}, },
lineHeight: { lineHeight: {
'extra-loose': '2.2' 'extra-loose': '2.2',
}, },
scale: { scale: {
'120': '1.2', 120: '1.2',
} },
}, },
}, },
plugins: [require('@tailwindcss/ui')], plugins: [require('@tailwindcss/ui')],