Преглед на файлове

fix: parameters in color contrast calculations to ensure white is correctly passed as the background color

nian преди 1 месец
родител
ревизия
eec6c0932b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/layout/header/actions/component/PreferencesDrawer.vue

+ 1 - 1
src/layout/header/actions/component/PreferencesDrawer.vue

@@ -132,7 +132,7 @@ const showNoiseModal = () => {
                 <span
                   :style="
                     currentColor && {
-                      color: ccAPCA(currentColor, twc.neutral[150], twc.neutral[950]),
+                      color: ccAPCA(currentColor, twc.neutral[150], twc.neutral[950], '#fff'),
                     }
                   "
                   >{{ currentColor }}</span