/**
* Tailwind Dark Mode Usage Examples for OpenSign
*
* This file demonstrates how to use the new Tailwind utilities
* for better dark mode visibility of buttons and icons.
*/
// Example 1: VS Code-style disabled buttons
const DisabledButtonExamples = () => {
return (
{/* Option A: Using the VS Code disabled style */}
{/* Option B: Using themed disabled style */}
{/* Option C: Conditional styling */}
{/* Theme-aware icons with better visibility */}
{/* Using CSS variables */}
{/* Gray text that automatically improves in dark mode */}
This text is now more visible in dark modeMuted but still readable
);
};
// Example 3: Using CSS variables in inline styles
const InlineStyleExamples = () => {
return (
{/* Using CSS variables directly */}
{/* Using the existing JavaScript function */}
);
};
// Example 4: Toolbar with improved icons
const ToolbarExample = () => {
return (