Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix(web): preserve text color on autofilled inputs in dark theme

GrassyAirplane8fb0b9e38e82
diff --git a/apps/web/src/index.css b/apps/web/src/index.css
index 9273dff23..45e8919ee 100644
--- a/apps/web/src/index.css
+++ b/apps/web/src/index.css
@@ -1,5 +1,14 @@
@import "tailwindcss";
+input:-webkit-autofill,
+input:-webkit-autofill:hover,
+input:-webkit-autofill:focus,
+input:-webkit-autofill:active {
+ -webkit-text-fill-color: var(--foreground) !important;
+ -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
+ transition: background-color 5000s ease-in-out 0s;
+}
+
@font-face {
font-family: "Cal Sans UI";
src: url("./assets/fonts/CalSansUI[MODE,wght].woff2") format("woff2");