Skip to content

Commit 5d1d751

Browse files
committed
refactor: ♻️ Adjust dark mode text
1 parent 3fb6638 commit 5d1d751

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

ui/app.vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ const overrides: GlobalThemeOverrides = {
149149
primaryColorPressed: "#312e81",
150150
primaryColorSuppl: "#0ea5e9",
151151
152-
textColor1: "oklch(96% 0.01 260)",
153-
textColor2: "oklch(90% 0.01 260)",
154-
textColor3: "oklch(78% 0.01 260)",
152+
textColor1: "var(--cf-text-1)",
153+
textColor2: "var(--cf-text-2)",
154+
textColor3: "var(--cf-text-3)",
155155
},
156156
DatePicker: {
157157
calendarTitleColorHover: "var(--cf-datepicker-item-hover-bg)",
@@ -279,6 +279,7 @@ const overrides: GlobalThemeOverrides = {
279279
clearColor: "var(--cf-icon)",
280280
clearColorHover: "var(--cf-field-text)",
281281
color: "var(--cf-field-bg)",
282+
colorActive: "var(--cf-field-bg-focus)",
282283
placeholderColor: "var(--cf-field-placeholder)",
283284
textColor: "var(--cf-field-text)",
284285
},
@@ -290,7 +291,8 @@ const overrides: GlobalThemeOverrides = {
290291
291292
optionCheckColor: "oklch(98% 0.01 260)",
292293
optionColorActive: "var(--cf-dropdown-option-active-bg)",
293-
optionColorActivePending: "oklch(33% 0.02 260)",
294+
optionColorActivePending:
295+
"color-mix(in oklab, var(--cf-dropdown-option-active-bg) 80%, black)",
294296
295297
optionColorPending: "var(--cf-dropdown-option-hover-bg)",
296298
optionOpacityDisabled: "var(--cf-dropdown-option-disabled-opacity)",

0 commit comments

Comments
 (0)