@rakeyshgidwani/roger-ui-bank-theme-stan-design 0.2.50 → 0.2.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rakeyshgidwani/roger-ui-bank-theme-stan-design",
3
- "version": "0.2.50",
3
+ "version": "0.2.52",
4
4
  "description": "Roger UI stan-design theme - Complete design system with components, styles, and utilities",
5
5
  "keywords": [
6
6
  "design-system",
@@ -40,16 +40,16 @@ export const ThemeToggle: React.FC = () => {
40
40
  return (
41
41
  <Button
42
42
  variant="ghost"
43
- size="sm"
43
+ size="icon"
44
44
  onClick={toggleTheme}
45
- className="theme-toggle h-8 w-8 px-0"
45
+ style={{ borderRadius: 'var(--cs-border-radius-full)' }}
46
46
  aria-label={`Switch to ${isDark ? 'light' : 'dark'} mode`}
47
47
  aria-pressed={isDark}
48
48
  >
49
49
  {isDark ? (
50
- <Sun className="h-4 w-4 sun-icon" />
50
+ <Sun style={{ width: 'var(--button-icon-size)', height: 'var(--button-icon-size)' }} />
51
51
  ) : (
52
- <Moon className="h-4 w-4 moon-icon" />
52
+ <Moon style={{ width: 'var(--button-icon-size)', height: 'var(--button-icon-size)' }} />
53
53
  )}
54
54
  </Button>
55
55
  );
@@ -529,7 +529,13 @@
529
529
  border-color: var(--cs-modes-dark-colors-border);
530
530
  }
531
531
 
532
- /* Ghost variant automatically adapts to theme via CSS variables */
532
+ .dark .button--variant-ghost {
533
+ background-color: transparent;
534
+ }
535
+
536
+ .dark .button--variant-ghost:hover {
537
+ background-color: var(--cs-modes-dark-colors-interactive-hover);
538
+ }
533
539
 
534
540
  .dark .button--variant-destructive {
535
541
  background-color: var(--cs-modes-dark-colors-semantic-error);