File size: 2,266 Bytes
3baa9da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
@import "tailwindcss";

:root {
  --background: #ffffff;
  --foreground: #171717;

  /* Styles from to-do.md (index.css) */
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #213547; /* Base text color for light mode */
  background-color: #ffffff; /* Base background for light mode */

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

.dark {
  --background: #0a0a0a;
  --foreground: #ededed;
  color: #f9f9f9; /* Base text color for dark mode */
  background-color: #242424; /* Base background for dark mode */
}

body {
  background: var(--background);
  color: var(--foreground);
  /* Styles from to-do.md (index.css) */
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}

/* Styles from to-do.md (index.css & App.css) */
h1 {
  font-size: 3.2em;
  line-height: 1;
}

h1,
h2 {
  margin: 8px;
}

select {
  padding: 0.3em;
  cursor: pointer;
}

textarea {
  padding: 0.6em;
}

button {
  padding: 0.6em 1.2em;
  cursor: pointer;
  font-weight: 500;
}

button[disabled] {
  cursor: not-allowed;
}

select,
textarea,
button {
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 1em;
  font-family: inherit; /* Use inherit to respect the :root font-family */
  background-color: #f9f9f9; /* Light mode background for elements */
  color: #213547; /* Light mode text color for elements */
  transition: border-color 0.25s;
}

.dark select,
.dark textarea,
.dark button {
  background-color: #1a1a1a; /* Dark mode background for elements */
  color: #f9f9f9; /* Dark mode text color for elements */
}


select:hover,
textarea:hover,
button:not([disabled]):hover {
  border-color: #646cff;
}

select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible,
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

/* Keep Tailwind theme inline if needed, though base styles might override */
@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}