Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 6a70236

Browse files
committed
feat(global.css): add
1 parent 790a0a6 commit 6a70236

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

e2e/site/app/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { PreviewServerCSS } from 'typedcssx';
2+
import 'styles/typedcssx-global.css';
23

34
export default function RootLayout({ children }: { children: React.ReactNode }) {
45
return (

e2e/site/app/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import Link from 'next/link';
44
export default function Home() {
55
return (
66
<main>
7-
Typed CSS X E2E Test <Link href="/server">Server Page</Link>
7+
<h1>Typed CSS X E2E Test</h1>
8+
<Link href="/server">Server Page</Link>
89
<E2ETest />
910
<Conflict />
1011
</main>
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
1+
/*------------------------------*/
22
h1 {
3-
color: pink;
3+
color: aqua;
44
}
5-
6-
@media (max-width: 1024px) {
7-
h1 {
8-
color: aqua;
9-
}
10-
}
11-

0 commit comments

Comments
 (0)