Commit Graph

10 Commits

Author SHA1 Message Date
oxmc 5d0196c057 fix: dark mode contrast bugs missed by the initial class sweep
Release Please / release-please (push) Has been cancelled
Docker Build and Push (Development) / build-and-push-dev (push) Has been cancelled
Two whole categories of colored elements had no dark: variant at all,
so they rendered as glaring white boxes or invisible near-black text
against the dark background:

- Native <input>/<select> elements with no explicit bg-* class at all
  (just relied on the browser's default white background) - search bar,
  login/reset password fields, share/download link fields, mover search,
  change-password fields. The first class-sweep only added dark: variants
  next to *existing* color classes, so these were invisible to it.

- Hardcoded hex colors (text-[#212b36], text-[#637381], text-[#919eab],
  bg-[#f6f5fd], bg-[#ebe9f9], bg-[#F4F4F6]) used as arbitrary Tailwind
  values across headings, file list details, and the login/reset pages -
  same blind spot, since the sweep only searched for known class names.

Mapped each to the same dark palette already used elsewhere (gray-900/800/700
surfaces, gray-100/300/400 text) for consistency.
2026-07-05 06:01:04 -07:00
oxmc ecc340e7b1 feat: add dark mode UI and SQLite as alternate database backend
Release Please / release-please (push) Has been cancelled
Docker Build and Push (Development) / build-and-push-dev (push) Has been cancelled
Dark mode: CSS custom properties + .dark class toggled via Redux/localStorage,
with a theme toggle in the Header and Settings page. Foundation didn't exist
yet despite prior assumption, so it was built from scratch.

SQLite: new DB_ENGINE=mongo|sqlite env var selects the metadata backend at
runtime (Mongo stays default, no behavior change unless opted in). File/thumbnail
bytes continue to use the existing fs/S3 storage path. Implemented via a shared
DB interface (dbTypes.ts) with parallel mongoDB/ and sqliteDB/ implementations,
selected through dbFactory.ts, with JWT/encryption logic extracted into
userCrypto.ts so both engines share it.
2026-07-05 04:18:33 -07:00
subnub 3650864a2a added animations 2025-02-20 19:07:29 -05:00
subnub 8999e384bb file info ui design 2025-02-20 10:23:53 -05:00
subnub de77ad412e made it so going back closes file info and photo popup 2025-02-19 02:22:04 -05:00
subnub 56c57a6cdf optimizations 2025-01-10 14:03:04 -05:00
subnub 89c50021ae removed a lot of unneeded useMemos 2025-01-07 03:38:19 -05:00
subnub 16b6aff558 fixed layout issues with dynamic height 2024-12-27 06:00:36 -05:00
subnub 8d915d4477 cleaning up tailwind 2024-10-12 17:50:18 -04:00
subnub cfe99132c0 started renaming index files to actual names 2024-08-10 01:15:23 -04:00