Skip to content

Commit 460df7b

Browse files
committed
chore: cleanup example global.css
1 parent c563a09 commit 460df7b

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

example/global.css

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,3 @@
11
@import "tailwindcss/theme.css" layer(theme);
22
@import "tailwindcss/preflight.css" layer(base);
3-
@import "tailwindcss/utilities.css";
4-
5-
@theme {
6-
--text-xs--line-height: calc(1em / 0.75);
7-
--text-sm--line-height: calc(1.25em / 0.875);
8-
--text-base--line-height: calc(1.5em / 1);
9-
--text-lg--line-height: calc(1.75em / 1.125);
10-
--text-xl--line-height: calc(1.75em / 1.25);
11-
--text-2xl--line-height: calc(2em / 1.5);
12-
--text-3xl--line-height: calc(2.25em / 1.875);
13-
--text-4xl--line-height: calc(2.5em / 2.25);
14-
--text-5xl--line-height: 1em;
15-
--text-6xl--line-height: 1em;
16-
--text-7xl--line-height: 1em;
17-
--text-8xl--line-height: 1em;
18-
--text-9xl--line-height: 1em;
19-
20-
--leading-tight: 1.25em;
21-
--leading-snug: 1.375em;
22-
--leading-normal: 1.5em;
23-
--leading-relaxed: 1.625em;
24-
--leading-loose: 2em;
25-
}
3+
@import "tailwindcss/utilities.css";

example/src/App.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ import "../global.css";
77
export default function App() {
88
return (
99
<View className="flex-1 bg-white items-center justify-center">
10-
<Text className="text-red-800 animate-bounce">Hello world!!!</Text>
10+
<Text className="text-red-800 text-2xl font-bold animate-bounce">
11+
Hello world!!!
12+
</Text>
1113
<StatusBar style="auto" />
1214
</View>
1315
);

0 commit comments

Comments
 (0)