mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 22:42:33 +00:00
Split out tailwind css into multiple files for reload perf
This commit is contained in:
parent
7b012564b0
commit
9b1ac73e89
@ -1,6 +1,4 @@
|
||||
@import './font.css';
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
|
||||
:root {
|
||||
/* Spacing variables */
|
||||
@ -190,5 +188,3 @@ body {
|
||||
a {
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
@tailwind utilities;
|
||||
|
2
assets/tailwind.css
Normal file
2
assets/tailwind.css
Normal file
@ -0,0 +1,2 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
1
assets/utils.css
Normal file
1
assets/utils.css
Normal file
@ -0,0 +1 @@
|
||||
@tailwind utilities;
|
@ -1,6 +1,8 @@
|
||||
import { FC } from 'react'
|
||||
import type { AppProps } from 'next/app'
|
||||
import '@assets/global.css'
|
||||
import '@assets/tailwind.css'
|
||||
import '@assets/utils.css'
|
||||
|
||||
const Noop: FC = ({ children }) => <>{children}</>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user