Skip to content

Commit c5f4001

Browse files
committed
lil polish
1 parent b0be27a commit c5f4001

File tree

2 files changed

+20
-15
lines changed

2 files changed

+20
-15
lines changed

src/app/Flash.jsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ function Stepper({ steps, currentStep, onStepClick }) {
184184
isCurrent
185185
? 'bg-[#51ff00] text-black'
186186
: isCompleted
187-
? 'bg-[#51ff00]/20 text-[#51ff00] hover:bg-[#51ff00]/30 cursor-pointer'
188-
: 'bg-gray-200 dark:bg-gray-700 text-gray-400 dark:text-gray-500 cursor-default'
187+
? 'bg-[#51ff00]/80 text-black hover:bg-[#51ff00] cursor-pointer'
188+
: 'bg-gray-200 dark:bg-gray-700 text-gray-500 dark:text-gray-400 cursor-default'
189189
}`}
190190
>
191191
{isCompleted && (
@@ -232,27 +232,27 @@ function WindowsZadig({ deviceType, onNext }) {
232232
<div className="wizard-screen flex flex-col items-center justify-center h-full gap-6 p-8 overflow-y-auto">
233233
<div className="text-center">
234234
<h2 className="text-3xl font-bold dark:text-white mb-2">Install USB Driver</h2>
235-
<p className="text-gray-600 dark:text-gray-300">Windows requires a driver to communicate with your device</p>
235+
<p className="text-xl text-gray-600 dark:text-gray-300">Windows requires a driver to communicate with your device</p>
236236
</div>
237237

238-
<div className="max-w-2xl space-y-6">
238+
<div className="max-w-2xl space-y-6 text-lg">
239239
<div className="flex gap-4">
240-
<span className="flex-shrink-0 w-8 h-8 rounded-full bg-[#51ff00] text-black flex items-center justify-center font-bold">1</span>
240+
<span className="flex-shrink-0 w-8 h-8 rounded-full bg-[#51ff00] text-black flex items-center justify-center font-bold text-base">1</span>
241241
<div className="dark:text-white">
242242
<p>Download and run <a href="https://zadig.akeo.ie/" target="_blank" rel="noopener noreferrer" className="text-blue-500 hover:underline font-semibold">Zadig</a></p>
243243
</div>
244244
</div>
245245

246246
<div className="flex gap-4">
247-
<span className="flex-shrink-0 w-8 h-8 rounded-full bg-[#51ff00] text-black flex items-center justify-center font-bold">2</span>
247+
<span className="flex-shrink-0 w-8 h-8 rounded-full bg-[#51ff00] text-black flex items-center justify-center font-bold text-base">2</span>
248248
<div className="dark:text-white">
249249
<p className="mb-2">Under <code className="bg-gray-200 dark:bg-gray-700 px-1 rounded">Device</code> in the menu bar, select <code className="bg-gray-200 dark:bg-gray-700 px-1 rounded">Create New Device</code></p>
250250
<img src={zadigCreateNewDevice} alt="Zadig Create New Device" className="rounded-lg border border-gray-300 dark:border-gray-600" width={460} />
251251
</div>
252252
</div>
253253

254254
<div className="flex gap-4">
255-
<span className="flex-shrink-0 w-8 h-8 rounded-full bg-[#51ff00] text-black flex items-center justify-center font-bold">3</span>
255+
<span className="flex-shrink-0 w-8 h-8 rounded-full bg-[#51ff00] text-black flex items-center justify-center font-bold text-base">3</span>
256256
<div className="dark:text-white">
257257
<p className="mb-2">Fill in the form:</p>
258258
<ul className="list-none space-y-1 ml-2 mb-2">
@@ -264,7 +264,7 @@ function WindowsZadig({ deviceType, onNext }) {
264264
</div>
265265

266266
<div className="flex gap-4">
267-
<span className="flex-shrink-0 w-8 h-8 rounded-full bg-[#51ff00] text-black flex items-center justify-center font-bold">4</span>
267+
<span className="flex-shrink-0 w-8 h-8 rounded-full bg-[#51ff00] text-black flex items-center justify-center font-bold text-base">4</span>
268268
<div className="dark:text-white">
269269
<p>Click <code className="bg-gray-200 dark:bg-gray-700 px-1 rounded">Install Driver</code></p>
270270
</div>
@@ -289,7 +289,7 @@ function ConnectInstructions({ deviceType, onNext }) {
289289
<div className="wizard-screen flex flex-col items-center justify-center h-full gap-6 p-8">
290290
<div className="text-center">
291291
<h2 className="text-3xl font-bold dark:text-white mb-2">Connect your device</h2>
292-
<p className="text-gray-600 dark:text-gray-300">Follow these steps to put your device into QDL mode</p>
292+
<p className="text-xl text-gray-600 dark:text-gray-300">Follow these steps to put your device into QDL mode</p>
293293
</div>
294294

295295
<div className="flex flex-col md:flex-row gap-8 items-center">
@@ -321,7 +321,7 @@ function ConnectInstructions({ deviceType, onNext }) {
321321
</ol>
322322
</div>
323323

324-
<p className="text-gray-500 dark:text-gray-400 text-sm">
324+
<p className="text-gray-500 dark:text-gray-400 text-xl">
325325
Your device&apos;s screen will remain blank. This is normal.
326326
</p>
327327

@@ -351,7 +351,7 @@ function LinuxUnbind({ onNext }) {
351351
<div className="wizard-screen flex flex-col items-center justify-center h-full gap-6 p-8">
352352
<div className="text-center">
353353
<h2 className="text-3xl font-bold dark:text-white mb-2">Unbind from qcserial</h2>
354-
<p className="text-gray-600 dark:text-gray-300 max-w-lg">
354+
<p className="text-xl text-gray-600 dark:text-gray-300 max-w-lg">
355355
On Linux, devices in QDL mode are bound to the kernel&apos;s qcserial driver.
356356
Run this command in a terminal to unbind it:
357357
</p>
@@ -388,7 +388,7 @@ function WebUSBConnect({ onConnect }) {
388388
</div>
389389
<div className="text-center">
390390
<h2 className="text-3xl font-bold dark:text-white mb-2">Select your device</h2>
391-
<p className="text-gray-600 dark:text-gray-300 max-w-lg">
391+
<p className="text-xl text-gray-600 dark:text-gray-300 max-w-lg">
392392
Click the button below to open the device selector, then choose <code className="px-2 py-0.5 bg-[#51ff00] rounded font-mono text-black font-semibold">QUSB_BULK_CID</code> from the list.
393393
</p>
394394
</div>
@@ -410,13 +410,13 @@ function DevicePicker({ onSelect }) {
410410
<div className="wizard-screen flex flex-col items-center justify-center h-full gap-8 p-8">
411411
<div className="text-center">
412412
<h2 className="text-3xl font-bold dark:text-white mb-2">Which device are you flashing?</h2>
413-
<p className="text-gray-600 dark:text-gray-300">Select your comma device</p>
413+
<p className="text-xl text-gray-600 dark:text-gray-300">Select your comma device</p>
414414
</div>
415415

416416
<div className="flex flex-col sm:flex-row gap-6">
417417
<button
418418
onClick={() => setSelected(DeviceType.COMMA_3)}
419-
className={`flex flex-col items-center gap-4 px-8 py-6 rounded-xl border-2 transition-all ${
419+
className={`flex flex-col items-center gap-4 px-8 py-6 rounded-xl border-2 transition-colors ${
420420
selected === DeviceType.COMMA_3
421421
? 'border-[#51ff00] bg-[#51ff00]/10'
422422
: 'border-gray-300 dark:border-gray-600 hover:border-gray-400 dark:hover:border-gray-500'
@@ -428,7 +428,7 @@ function DevicePicker({ onSelect }) {
428428

429429
<button
430430
onClick={() => setSelected(DeviceType.COMMA_4)}
431-
className={`flex flex-col items-center gap-4 px-8 py-6 rounded-xl border-2 transition-all ${
431+
className={`flex flex-col items-center gap-4 px-8 py-6 rounded-xl border-2 transition-colors ${
432432
selected === DeviceType.COMMA_4
433433
? 'border-[#51ff00] bg-[#51ff00]/10'
434434
: 'border-gray-300 dark:border-gray-600 hover:border-gray-400 dark:hover:border-gray-500'

src/index.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
@tailwind components;
33
@tailwind utilities;
44

5+
::selection {
6+
background-color: #51ff00;
7+
color: black;
8+
}
9+
510
/* Fade in animation for wizard screens */
611
@keyframes fadeIn {
712
from { opacity: 0; }

0 commit comments

Comments
 (0)