Skip to content

Commit 025fc0e

Browse files
committed
fix: provieder ui
1 parent b1ea5cf commit 025fc0e

File tree

2 files changed

+5
-55
lines changed

2 files changed

+5
-55
lines changed

src/index.css

Lines changed: 1 addition & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -2,67 +2,14 @@
22
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
33
line-height: 1.5;
44
font-weight: 400;
5-
65
color-scheme: light dark;
76
color: rgba(255, 255, 255, 0.87);
8-
background-color: #242424;
9-
10-
font-synthesis: none;
117
text-rendering: optimizeLegibility;
128
-webkit-font-smoothing: antialiased;
139
-moz-osx-font-smoothing: grayscale;
1410
}
1511

16-
a {
17-
font-weight: 500;
18-
color: #646cff;
19-
text-decoration: inherit;
20-
}
21-
a:hover {
22-
color: #535bf2;
23-
}
24-
2512
body {
2613
margin: 0;
27-
display: flex;
28-
place-items: center;
29-
min-width: 320px;
30-
min-height: 100vh;
31-
}
32-
33-
h1 {
34-
font-size: 3.2em;
35-
line-height: 1.1;
36-
}
37-
38-
button {
39-
border-radius: 8px;
40-
border: 1px solid transparent;
41-
padding: 0.6em 1.2em;
42-
font-size: 1em;
43-
font-weight: 500;
44-
font-family: inherit;
45-
background-color: #1a1a1a;
46-
cursor: pointer;
47-
transition: border-color 0.25s;
48-
}
49-
button:hover {
50-
border-color: #646cff;
51-
}
52-
button:focus,
53-
button:focus-visible {
54-
outline: 4px auto -webkit-focus-ring-color;
55-
}
56-
57-
@media (prefers-color-scheme: light) {
58-
:root {
59-
color: #213547;
60-
background-color: #ffffff;
61-
}
62-
a:hover {
63-
color: #747bff;
64-
}
65-
button {
66-
background-color: #f9f9f9;
67-
}
14+
padding: 2rem;
6815
}

src/main.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
import { StrictMode } from 'react';
22
import { createRoot } from 'react-dom/client';
3+
import { Provider } from '@/components/ui/provider';
34
import './index.css';
45
import App from './App.tsx';
56

67
createRoot(document.getElementById('root')!).render(
78
<StrictMode>
8-
<App />
9+
<Provider>
10+
<App />
11+
</Provider>
912
</StrictMode>,
1013
);

0 commit comments

Comments
 (0)