瀏覽代碼

fix: caret color in dark theme

Tienson Qin 7 月之前
父節點
當前提交
f1ecc3f39a
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/main/capacitor/components/app.css

+ 4 - 0
src/main/capacitor/components/app.css

@@ -54,6 +54,10 @@ html {
       --ion-item-color: var(--ls-primary-text-color);
       --ion-item-border-color: var(--ls-border-color);
 
+      input, textarea {
+          caret-color: var(--ls-primary-text-color);
+      }
+
       ion-toolbar::part(background), ion-tab-bar,
       ion-tab-button, .block-modal-page, .block-modal-page > ion-header,
       ion-content {