|
22 | 22 | } |
23 | 23 |
|
24 | 24 | .header p { |
25 | | - color: #cbd5e1; |
| 25 | + color: #64748b; |
26 | 26 | font-size: 1.1rem; |
27 | 27 | } |
28 | 28 |
|
| 29 | +/* Light mode specific styles */ |
| 30 | +[data-theme='light'] .header p { |
| 31 | + color: #64748b; |
| 32 | +} |
| 33 | + |
| 34 | +/* Dark mode specific styles */ |
| 35 | +[data-theme='dark'] .header p { |
| 36 | + color: #cbd5e1; |
| 37 | +} |
| 38 | + |
29 | 39 | .controls { |
30 | 40 | margin-bottom: 2rem; |
31 | 41 | } |
|
39 | 49 | max-width: 600px; |
40 | 50 | padding: 0.875rem 1.25rem; |
41 | 51 | font-size: 1rem; |
42 | | - background: rgba(20, 184, 166, 0.1); |
| 52 | + background: rgba(20, 184, 166, 0.05); |
43 | 53 | border: 2px solid rgba(20, 184, 166, 0.2); |
44 | 54 | border-radius: 0.75rem; |
45 | | - color: #f1f5f9; |
| 55 | + color: #1e293b; |
46 | 56 | transition: all 0.2s ease; |
47 | 57 | display: block; |
48 | 58 | margin: 0 auto; |
49 | 59 | } |
50 | 60 |
|
| 61 | +[data-theme='dark'] .searchInput { |
| 62 | + background: rgba(20, 184, 166, 0.1); |
| 63 | + color: #f1f5f9; |
| 64 | +} |
| 65 | + |
51 | 66 | .searchInput:focus { |
52 | 67 | outline: none; |
53 | 68 | border-color: #14b8a6; |
54 | | - background: rgba(20, 184, 166, 0.15); |
| 69 | + background: rgba(20, 184, 166, 0.08); |
55 | 70 | box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1); |
56 | 71 | } |
57 | 72 |
|
| 73 | +[data-theme='dark'] .searchInput:focus { |
| 74 | + background: rgba(20, 184, 166, 0.15); |
| 75 | +} |
| 76 | + |
58 | 77 | .searchInput::placeholder { |
| 78 | + color: #64748b; |
| 79 | +} |
| 80 | + |
| 81 | +[data-theme='dark'] .searchInput::placeholder { |
59 | 82 | color: #94a3b8; |
60 | 83 | } |
61 | 84 |
|
|
68 | 91 |
|
69 | 92 | .categoryButton { |
70 | 93 | padding: 0.5rem 1rem; |
71 | | - background: rgba(20, 184, 166, 0.1); |
| 94 | + background: rgba(20, 184, 166, 0.05); |
72 | 95 | border: 1px solid rgba(20, 184, 166, 0.2); |
73 | 96 | border-radius: 0.5rem; |
74 | | - color: #cbd5e1; |
| 97 | + color: #334155; |
75 | 98 | font-weight: 500; |
76 | 99 | cursor: pointer; |
77 | 100 | transition: all 0.2s ease; |
78 | 101 | } |
79 | 102 |
|
| 103 | +[data-theme='dark'] .categoryButton { |
| 104 | + background: rgba(20, 184, 166, 0.1); |
| 105 | + color: #cbd5e1; |
| 106 | +} |
| 107 | + |
80 | 108 | .categoryButton:hover { |
81 | | - background: rgba(20, 184, 166, 0.15); |
| 109 | + background: rgba(20, 184, 166, 0.1); |
82 | 110 | border-color: rgba(20, 184, 166, 0.3); |
| 111 | + color: #1e293b; |
| 112 | +} |
| 113 | + |
| 114 | +[data-theme='dark'] .categoryButton:hover { |
| 115 | + background: rgba(20, 184, 166, 0.15); |
83 | 116 | color: #f1f5f9; |
84 | 117 | } |
85 | 118 |
|
86 | 119 | .categoryButton.active { |
87 | 120 | background: #14b8a6; |
88 | 121 | border-color: #14b8a6; |
89 | | - color: #0f172a; |
| 122 | + color: #ffffff; |
90 | 123 | font-weight: 600; |
91 | 124 | } |
92 | 125 |
|
| 126 | +[data-theme='dark'] .categoryButton.active { |
| 127 | + color: #0f172a; |
| 128 | +} |
| 129 | + |
93 | 130 | .results { |
94 | 131 | margin-top: 2rem; |
95 | 132 | } |
96 | 133 |
|
97 | 134 | .resultCount { |
98 | | - color: #94a3b8; |
| 135 | + color: #64748b; |
99 | 136 | font-size: 0.95rem; |
100 | 137 | margin-bottom: 1.5rem; |
101 | 138 | text-align: center; |
102 | 139 | } |
103 | 140 |
|
| 141 | +[data-theme='dark'] .resultCount { |
| 142 | + color: #94a3b8; |
| 143 | +} |
| 144 | + |
104 | 145 | .assertionsList { |
105 | 146 | display: grid; |
106 | 147 | grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)); |
107 | 148 | gap: 1.5rem; |
108 | 149 | } |
109 | 150 |
|
110 | 151 | .assertionCard { |
111 | | - background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%); |
112 | | - border: 1px solid rgba(20, 184, 166, 0.2); |
| 152 | + background: linear-gradient(135deg, rgba(20, 184, 166, 0.03) 0%, rgba(14, 165, 233, 0.03) 100%); |
| 153 | + border: 1px solid rgba(20, 184, 166, 0.15); |
113 | 154 | border-radius: 0.75rem; |
114 | 155 | padding: 1.5rem; |
115 | 156 | transition: all 0.3s ease; |
116 | 157 | } |
117 | 158 |
|
| 159 | +[data-theme='dark'] .assertionCard { |
| 160 | + background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%); |
| 161 | + border: 1px solid rgba(20, 184, 166, 0.2); |
| 162 | +} |
| 163 | + |
118 | 164 | .assertionCard:hover { |
119 | 165 | transform: translateY(-2px); |
120 | 166 | border-color: #14b8a6; |
|
131 | 177 | .assertionName { |
132 | 178 | font-size: 1.25rem; |
133 | 179 | font-weight: 600; |
134 | | - color: #f1f5f9; |
| 180 | + color: #0f172a; |
135 | 181 | margin: 0; |
136 | 182 | } |
137 | 183 |
|
| 184 | +[data-theme='dark'] .assertionName { |
| 185 | + color: #f1f5f9; |
| 186 | +} |
| 187 | + |
138 | 188 | .assertionCategory { |
139 | 189 | font-size: 0.75rem; |
140 | 190 | padding: 0.25rem 0.75rem; |
141 | | - background: rgba(20, 184, 166, 0.2); |
| 191 | + background: rgba(20, 184, 166, 0.1); |
142 | 192 | border: 1px solid rgba(20, 184, 166, 0.3); |
143 | 193 | border-radius: 1rem; |
144 | | - color: #5eead4; |
| 194 | + color: #0d9488; |
145 | 195 | font-weight: 500; |
146 | 196 | } |
147 | 197 |
|
| 198 | +[data-theme='dark'] .assertionCategory { |
| 199 | + background: rgba(20, 184, 166, 0.2); |
| 200 | + color: #5eead4; |
| 201 | +} |
| 202 | + |
148 | 203 | .assertionDescription { |
149 | | - color: #cbd5e1; |
| 204 | + color: #475569; |
150 | 205 | margin-bottom: 1rem; |
151 | 206 | font-size: 0.95rem; |
152 | 207 | line-height: 1.5; |
153 | 208 | } |
154 | 209 |
|
| 210 | +[data-theme='dark'] .assertionDescription { |
| 211 | + color: #cbd5e1; |
| 212 | +} |
| 213 | + |
155 | 214 | .assertionSyntax { |
156 | | - background: rgba(15, 23, 42, 0.8); |
| 215 | + background: rgba(241, 245, 249, 0.8); |
157 | 216 | border: 1px solid rgba(20, 184, 166, 0.2); |
158 | 217 | border-radius: 0.5rem; |
159 | 218 | padding: 0.75rem; |
160 | 219 | margin-bottom: 0.75rem; |
161 | 220 | } |
162 | 221 |
|
| 222 | +[data-theme='dark'] .assertionSyntax { |
| 223 | + background: rgba(15, 23, 42, 0.8); |
| 224 | +} |
| 225 | + |
163 | 226 | .assertionSyntax code { |
164 | | - color: #a5f3fc; |
| 227 | + color: #0c4a6e; |
165 | 228 | font-family: 'Fira Code', 'Courier New', monospace; |
166 | 229 | font-size: 0.875rem; |
167 | 230 | word-break: break-all; |
168 | 231 | } |
169 | 232 |
|
| 233 | +[data-theme='dark'] .assertionSyntax code { |
| 234 | + color: #a5f3fc; |
| 235 | +} |
| 236 | + |
170 | 237 | .assertionExample { |
171 | | - background: rgba(168, 85, 247, 0.1); |
| 238 | + background: rgba(168, 85, 247, 0.05); |
172 | 239 | border: 1px solid rgba(168, 85, 247, 0.2); |
173 | 240 | border-radius: 0.5rem; |
174 | 241 | padding: 0.75rem; |
|
177 | 244 | gap: 0.5rem; |
178 | 245 | } |
179 | 246 |
|
| 247 | +[data-theme='dark'] .assertionExample { |
| 248 | + background: rgba(168, 85, 247, 0.1); |
| 249 | +} |
| 250 | + |
180 | 251 | .exampleLabel { |
181 | | - color: #a855f7; |
| 252 | + color: #7c3aed; |
182 | 253 | font-size: 0.8rem; |
183 | 254 | font-weight: 600; |
184 | 255 | text-transform: uppercase; |
185 | 256 | letter-spacing: 0.05em; |
186 | 257 | } |
187 | 258 |
|
| 259 | +[data-theme='dark'] .exampleLabel { |
| 260 | + color: #a855f7; |
| 261 | +} |
| 262 | + |
188 | 263 | .assertionExample code { |
189 | | - color: #e9d5ff; |
| 264 | + color: #5b21b6; |
190 | 265 | font-family: 'Fira Code', 'Courier New', monospace; |
191 | 266 | font-size: 0.875rem; |
192 | 267 | word-break: break-all; |
193 | 268 | } |
194 | 269 |
|
| 270 | +[data-theme='dark'] .assertionExample code { |
| 271 | + color: #e9d5ff; |
| 272 | +} |
| 273 | + |
195 | 274 | .noResults { |
196 | 275 | text-align: center; |
197 | 276 | padding: 3rem 1rem; |
| 277 | + color: #64748b; |
| 278 | +} |
| 279 | + |
| 280 | +[data-theme='dark'] .noResults { |
198 | 281 | color: #94a3b8; |
199 | 282 | } |
200 | 283 |
|
|
205 | 288 | .noResults p:first-child { |
206 | 289 | font-size: 1.1rem; |
207 | 290 | font-weight: 600; |
| 291 | + color: #475569; |
| 292 | +} |
| 293 | + |
| 294 | +[data-theme='dark'] .noResults p:first-child { |
208 | 295 | color: #cbd5e1; |
209 | 296 | } |
210 | 297 |
|
|
0 commit comments