Skip to content

Commit 17fc8cc

Browse files
RYGRITdanielroe
andauthored
fix: styling issues in light mode (#380)
Co-authored-by: Daniel Roe <daniel@roe.dev>
1 parent 2caba19 commit 17fc8cc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/components/PackageDownloadAnalytics.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ const config = computed(() => {
597597
<select
598598
id="granularity"
599599
v-model="selectedGranularity"
600-
class="w-full bg-transparent font-mono text-sm text-fg outline-none appearance-none"
600+
class="w-full bg-bg-subtle font-mono text-sm text-fg outline-none appearance-none"
601601
>
602602
<option value="daily">{{ $t('package.downloads.granularity_daily') }}</option>
603603
<option value="weekly">{{ $t('package.downloads.granularity_weekly') }}</option>
@@ -624,7 +624,7 @@ const config = computed(() => {
624624
id="startDate"
625625
v-model="startDate"
626626
type="date"
627-
class="w-full min-w-0 bg-transparent font-mono text-sm text-fg outline-none [color-scheme:dark]"
627+
class="w-full min-w-0 bg-transparent font-mono text-sm text-fg outline-none [color-scheme:light] dark:[color-scheme:dark]"
628628
/>
629629
</div>
630630
</div>
@@ -644,7 +644,7 @@ const config = computed(() => {
644644
id="endDate"
645645
v-model="endDate"
646646
type="date"
647-
class="w-full min-w-0 bg-transparent font-mono text-sm text-fg outline-none [color-scheme:dark]"
647+
class="w-full min-w-0 bg-transparent font-mono text-sm text-fg outline-none [color-scheme:light] dark:[color-scheme:dark]"
648648
/>
649649
</div>
650650
</div>

0 commit comments

Comments
 (0)