mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
* Add lookbook + viewcomponent, organize design system file * Build menu component * Button updates * More button fixes * Replace all menus with new ViewComponent * Checkpoint: fix tests, all buttons and menus converted * Split into Link and Button components for clarity * Button cleanup * Simplify custom confirmation configuration in views * Finalize button, link component API * Add toggle field to custom form builder + Component * Basic tabs component * Custom tabs, convert all menu / tab instances in app * Gem updates * Centralized icon helper * Update all icon usage to central helper * Lint fixes * Centralize all disclosure instances * Dialog replacements * Consolidation of all dialog styles * Test fixes * Fix app layout issues, move to component with slots * Layout simplification * Flakey test fix * Fix dashboard mobile issues * Finalize homepage * Lint fixes * Fix shadows and borders in dark mode * Fix tests * Remove stale class * Fix filled icon logic * Move transparent? to public interface
109 lines
No EOL
1.7 KiB
CSS
109 lines
No EOL
1.7 KiB
CSS
/* Button Backgrounds */
|
|
@utility button-bg-primary {
|
|
@apply bg-gray-900;
|
|
/* Maps to fg-primary light */
|
|
|
|
@variant theme-dark {
|
|
@apply bg-white;
|
|
/* Maps to fg-primary dark */
|
|
}
|
|
}
|
|
|
|
@utility button-bg-primary-hover {
|
|
@apply bg-gray-800;
|
|
/* Maps to fg-primary-variant light */
|
|
|
|
@variant theme-dark {
|
|
@apply bg-gray-50;
|
|
/* Maps to fg-primary-variant dark */
|
|
}
|
|
}
|
|
|
|
@utility button-bg-secondary {
|
|
@apply bg-gray-50; /* Maps to fg-secondary light */
|
|
|
|
@variant theme-dark {
|
|
@apply bg-gray-700; /* Maps to fg-secondary dark */
|
|
}
|
|
}
|
|
|
|
@utility button-bg-secondary-hover {
|
|
@apply bg-gray-100; /* Maps to fg-secondary-variant light */
|
|
|
|
@variant theme-dark {
|
|
@apply bg-gray-600; /* Maps to fg-secondary-variant dark */
|
|
}
|
|
}
|
|
|
|
@utility button-bg-disabled {
|
|
@apply bg-gray-50;
|
|
|
|
@variant theme-dark {
|
|
@apply bg-gray-700;
|
|
}
|
|
}
|
|
|
|
@utility button-bg-destructive {
|
|
@apply bg-red-500;
|
|
|
|
@variant theme-dark {
|
|
@apply bg-red-400;
|
|
}
|
|
}
|
|
|
|
@utility button-bg-destructive-hover {
|
|
@apply bg-red-600;
|
|
|
|
@variant theme-dark {
|
|
@apply bg-red-500;
|
|
}
|
|
}
|
|
|
|
@utility button-bg-ghost-hover {
|
|
@apply bg-gray-50;
|
|
|
|
@variant theme-dark {
|
|
@apply bg-gray-800 fg-inverse;
|
|
}
|
|
}
|
|
|
|
@utility button-bg-outline-hover {
|
|
@apply bg-gray-100;
|
|
|
|
@variant theme-dark {
|
|
@apply bg-gray-700;
|
|
}
|
|
}
|
|
|
|
/* Tab Styles */
|
|
@utility tab-item-active {
|
|
@apply bg-white;
|
|
|
|
@variant theme-dark {
|
|
@apply bg-gray-700;
|
|
}
|
|
}
|
|
|
|
@utility tab-item-hover {
|
|
@apply bg-gray-200;
|
|
|
|
@variant theme-dark {
|
|
@apply bg-gray-800;
|
|
}
|
|
}
|
|
|
|
@utility tab-bg-group {
|
|
@apply bg-gray-50;
|
|
|
|
@variant theme-dark {
|
|
@apply bg-alpha-black-700;
|
|
}
|
|
}
|
|
|
|
@utility bg-nav-indicator {
|
|
@apply bg-black;
|
|
|
|
@variant theme-dark {
|
|
@apply bg-white;
|
|
}
|
|
} |