Skip to content

Commit b5e8a33

Browse files
committed
fix: minor styling fixes
1 parent 7de6098 commit b5e8a33

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

components/Jobs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function JobState({ state }: { state: JobState }) {
3131
}
3232
return (
3333
<div
34-
class={`bg-${color}-100 dark:bg-${color}-900 text-${color}-800 dark:text-${color}-300 font-medium w-fit inline-block mx-1 px-2.5 py-0.5 rounded`}
34+
class={`bg-${color}-200 dark:bg-${color}-900 text-${color}-800 dark:text-${color}-300 font-medium w-fit inline-block mx-1 px-2.5 py-0.5 rounded`}
3535
>
3636
{label}
3737
</div>

components/KvEntry.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export function KvEntry(
138138
type="button"
139139
onClick={() => editDialogOpen.value = true}
140140
>
141-
{value || meta ? "Update value" : "Add value"}
141+
{value || meta ? "Update value..." : "Add value..."}
142142
</button>
143143
)}
144144
{value || meta
@@ -149,7 +149,7 @@ export function KvEntry(
149149
type="button"
150150
onClick={() => addEntryDialogOpen.value = true}
151151
>
152-
Add sub-entry
152+
Add sub-entry...
153153
</button>
154154
<button
155155
class="flex items-center justify-center font-bold text-white bg-primary-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg text-sm px-4 py-2 dark:bg-red-600 dark:hover:bg-red-700 focus:outline-none dark:focus:ring-red-800"

components/KvKeyPart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function KvKeyPart(
4141
}
4242
return (
4343
<li
44-
class={`bg-${color}-100 dark:bg-${color}-900 text-${color}-800 dark:text-${color}-300 font-medium w-fit inline-block mx-1 px-2.5 py-0.5 rounded`}
44+
class={`bg-${color}-200 dark:bg-${color}-900 text-${color}-800 dark:text-${color}-300 font-medium w-fit inline-block mx-1 px-2.5 py-0.5 rounded`}
4545
>
4646
{onClick ? <a href="#" onClick={onClick}>{children}</a> : children}
4747
</li>

components/KvValue.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ export function KvValue(
255255
<h2 class="font-bold my-2">Type</h2>
256256
<div>
257257
<div
258-
class={`bg-${color}-100 text-${color}-800 px-2.5 py-0.5 m-1 inline-block rounded dark:bg-${color}-900 dark:text-${color}-300 ${
258+
class={`bg-${color}-200 text-${color}-800 px-2.5 py-0.5 m-1 inline-block rounded dark:bg-${color}-900 dark:text-${color}-300 ${
259259
border ? "border" : ""
260260
}`}
261261
>

tailwind.config.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -121,20 +121,20 @@ export default {
121121
],
122122
safelist: [
123123
// these are dynamically assigned to kv value types
124-
"bg-blue-100",
125-
"bg-gray-100",
126-
"bg-green-100",
127-
"bg-indigo-100",
128-
"bg-orange-100",
129-
"bg-pink-100",
130-
"bg-purple-100",
131-
"bg-red-100",
132-
"bg-yellow-100",
133-
"text-blue-100",
134-
"text-gray-100",
135-
"text-green-100",
136-
"text-indigo-100",
137-
"text-orange-100",
124+
"bg-blue-200",
125+
"bg-gray-200",
126+
"bg-green-200",
127+
"bg-indigo-200",
128+
"bg-orange-200",
129+
"bg-pink-200",
130+
"bg-purple-200",
131+
"bg-red-200",
132+
"bg-yellow-200",
133+
"text-blue-800",
134+
"text-gray-800",
135+
"text-green-800",
136+
"text-indigo-800",
137+
"text-orange-800",
138138
"text-pink-800",
139139
"text-purple-800",
140140
"text-red-800",

0 commit comments

Comments
 (0)