[PR #1518] [MERGED] fix: darkmode on radio button and checkbox labels #1681

Closed
opened 2026-02-26 20:30:34 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1518
Author: @doug-andrade
Created: 12/7/2024
Status: Merged
Merged: 12/13/2024
Merged by: @Mythie

Base: mainHead: fix/darkmode-labels-for-radio-button-and-checkbox


📝 Commits (1)

  • 8f59931 fix: for darkmode on radio button and checkbox

📊 Changes

4 files changed (+7 additions, -4 deletions)

View changed files

📝 packages/tailwind-config/index.cjs (+1 -0)
📝 packages/ui/primitives/document-flow/advanced-fields/checkbox.tsx (+2 -2)
📝 packages/ui/primitives/document-flow/advanced-fields/radio.tsx (+2 -2)
📝 packages/ui/styles/theme.css (+2 -0)

📄 Description

Description

Fixed Radio Button and Checkbox Appearance in Dark Mode

Fixes #1513

Changes Made

  • document-flow/advanced-fields/radio.tsx - Added Tailwind CSS class to disable switch on dark mode.
  • document-flow/advanced-fields/checkbox.tsx - Added Tailwind CSS class to disable switch on dark mode.
  • theme.css - added field-border var
  • Tailwind baseConfig - added field-border var

Checklist

  • I have tested these changes locally and they work as expected.
  • I have followed the project's coding style guidelines.

Additional Notes

https://www.loom.com/share/efe8a33097a740f2874ca19e3db0602b?sid=4611d0a9-e019-440d-853b-c2d6ecac25f2


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/1518 **Author:** [@doug-andrade](https://github.com/doug-andrade) **Created:** 12/7/2024 **Status:** ✅ Merged **Merged:** 12/13/2024 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `fix/darkmode-labels-for-radio-button-and-checkbox` --- ### 📝 Commits (1) - [`8f59931`](https://github.com/documenso/documenso/commit/8f59931de3e3e02633e7b014a29b20b507ca5fa2) fix: for darkmode on radio button and checkbox ### 📊 Changes **4 files changed** (+7 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/tailwind-config/index.cjs` (+1 -0) 📝 `packages/ui/primitives/document-flow/advanced-fields/checkbox.tsx` (+2 -2) 📝 `packages/ui/primitives/document-flow/advanced-fields/radio.tsx` (+2 -2) 📝 `packages/ui/styles/theme.css` (+2 -0) </details> ### 📄 Description ## Description Fixed Radio Button and Checkbox Appearance in Dark Mode ## Related Issue Fixes #1513 ## Changes Made - `document-flow/advanced-fields/radio.tsx` - Added Tailwind CSS class to disable switch on dark mode. - `document-flow/advanced-fields/checkbox.tsx` - Added Tailwind CSS class to disable switch on dark mode. - `theme.css` - added `field-border` var - Tailwind `baseConfig` - added `field-border` var ## Checklist - [x] I have tested these changes locally and they work as expected. - [x] I have followed the project's coding style guidelines. ## Additional Notes https://www.loom.com/share/efe8a33097a740f2874ca19e3db0602b?sid=4611d0a9-e019-440d-853b-c2d6ecac25f2 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:30:34 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1681
No description provided.