Skip to content

Commit c0cee2b

Browse files
committed
lint
1 parent da6e007 commit c0cee2b

File tree

3 files changed

+24
-14
lines changed

3 files changed

+24
-14
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
22
plugins: {
3-
"@tailwindcss/postcss": {},
3+
'@tailwindcss/postcss': {},
44
},
55
};

packages/preview-server/src/app/globals.css

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
@import "tailwindcss";
22

33
@theme {
4-
--background-image-gradient: linear-gradient(145.37deg,
5-
rgba(255, 255, 255, 0.09) -8.75%,
6-
rgba(255, 255, 255, 0.027) 83.95%);
7-
--background-image-gradient-hover: linear-gradient(145.37deg,
8-
rgba(255, 255, 255, 0.1) -8.75%,
9-
rgba(255, 255, 255, 0.057) 83.95%);
10-
--background-image-shine: linear-gradient(45deg,
11-
rgba(255, 255, 255, 0) 45%,
12-
rgba(255, 255, 255, 1) 50%,
13-
rgba(255, 255, 255, 0) 55%,
14-
rgba(255, 255, 255, 0) 100%);
4+
--background-image-gradient: linear-gradient(
5+
145.37deg,
6+
rgba(255, 255, 255, 0.09) -8.75%,
7+
rgba(255, 255, 255, 0.027) 83.95%
8+
);
9+
--background-image-gradient-hover: linear-gradient(
10+
145.37deg,
11+
rgba(255, 255, 255, 0.1) -8.75%,
12+
rgba(255, 255, 255, 0.057) 83.95%
13+
);
14+
--background-image-shine: linear-gradient(
15+
45deg,
16+
rgba(255, 255, 255, 0) 45%,
17+
rgba(255, 255, 255, 1) 50%,
18+
rgba(255, 255, 255, 0) 55%,
19+
rgba(255, 255, 255, 0) 100%
20+
);
1521

1622
--color-cyan-1: #0091f70a;
1723
--color-cyan-2: #02a7f211;
@@ -125,6 +131,6 @@ html {
125131
pointer-events: none;
126132
}
127133

128-
nav>div>div>.line {
134+
nav > div > div > .line {
129135
display: none;
130136
}

packages/preview-server/src/utils/caniemail/tailwind/get-tailwind-metadata.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import traverse from '@babel/traverse';
2-
import { setupTailwind, type TailwindConfig, type TailwindSetup } from '@react-email/tailwind';
2+
import {
3+
setupTailwind,
4+
type TailwindConfig,
5+
type TailwindSetup,
6+
} from '@react-email/tailwind';
37
import type { AST } from '../../../actions/email-validation/check-compatibility';
48
import { getTailwindConfig } from './get-tailwind-config';
59

0 commit comments

Comments
 (0)