]> Untitled Git - lemmy-ui.git/commit
fix: Add data-bs-theme attribute for user dark/light modes (#1782)
authorJay Sitter <jsit@users.noreply.github.com>
Tue, 4 Jul 2023 00:02:24 +0000 (20:02 -0400)
committerGitHub <noreply@github.com>
Tue, 4 Jul 2023 00:02:24 +0000 (20:02 -0400)
commitb1292b958af008763028df9591f5778be9d117f5
tree9d3c9ddcef9315267220d35323e1e7408c49aa19
parent8730f157daf6a5ded277f9effcdd2f6b2f751721
fix: Add data-bs-theme attribute for user dark/light modes (#1782)

* fix: Add data-bs-theme attribute for user dark/light modes

* fix: Remove unnecessary optional chain

* fix: Oops -- add missing files
src/shared/components/app/app.tsx
src/shared/utils/browser/data-bs-theme.ts [new file with mode: 0644]
src/shared/utils/browser/index.ts
src/shared/utils/browser/is-dark.ts [new file with mode: 0644]