You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Move wallet creation dialog styles from C++ to CSS
Move theme-independent styling from inline C++ code to general.css
following Dash Core CSS architecture (general.css for layout,
dark/light.css for colors).
Changes:
- Move font sizes, weights, and families to general.css
- Move widget size constraints to general.css
- Move label margins to general.css
- Remove inline HTML style attributes from translated strings
- Simplify C++ code to only handle dynamic theme colors via GUIUtil
Benefits:
- Better separation of concerns (styling vs logic)
- Easier theme customization without recompiling
- Consistent with Dash Core styling patterns
- Cleaner, more maintainable C++ code
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
// Set warning and instruction text with themed colors
119
+
// Font sizes and weights are defined in general.css
121
120
ui->warningLabel->setText(
122
-
tr("<span style='%1'>WARNING: If you lose your mnemonic seed phrase, you will lose access to your wallet forever. Write it down in a safe place and never share it with anyone.</span>")
123
-
.arg(warningStyle)
124
-
);
121
+
tr("WARNING: If you lose your mnemonic seed phrase, you will lose access to your wallet forever. Write it down in a safe place and never share it with anyone."));
0 commit comments