Skip to content

Conversation

@soderlind
Copy link
Owner

This pull request introduces a major new "Customize" feature for the password form, allowing users to personalize the appearance of the form with live preview, preset themes, and detailed styling options. The changes span new JavaScript for live customization, extensive CSS refactoring to support theme variables, and documentation updates to describe and document the new features.

Major features and improvements:

1. Customization Functionality

  • Added a new "Customize" tab with live preview for password form styling, allowing users to adjust colors, typography, logo, card style, button appearance, and more in real time.
  • Introduced preset themes (Default Purple, Business Blue, Dark Mode) for quick application of consistent styles.
  • Added controls for background (color, gradient, image), card styling (background, border radius, shadow), logo upload and sizing, and footer customization.

2. CSS Refactoring for Theming

  • Refactored password-form.css to use CSS custom properties (variables) for all customizable aspects (colors, border radii, font, etc.), enabling dynamic styling via inline styles or JS. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

3. Documentation Updates

  • Updated README.md to document the new customization features, including a dedicated section and new settings table. [1] [2] [3] [4]
  • Added a changelog entry for version 1.1.0 summarizing all new customization features and translation updates.

4. Asset Organization

  • Added new CSS (customize-admin.css) and JS (customize.js) files for the admin customize tab, and updated the asset directory structure accordingly.

These changes provide a much more flexible and user-friendly way for site owners to brand and style their password forms without writing code.

- Organized code into distinct modules to enhance separation of concerns.
- Renamed variables and functions for clarity, making the codebase easier to understand.
- Removed redundant code blocks to streamline functionality and reduce complexity.
- Updated comments and documentation to reflect the new structure and provide better guidance for future developers.
- Ensured all existing tests passed after refactoring to maintain functionality.
soderlind and others added 2 commits December 15, 2025 13:08
…s HTML

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…s HTML

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
soderlind and others added 2 commits December 15, 2025 13:12
…s HTML

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…s HTML

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…s HTML

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
soderlind and others added 3 commits December 15, 2025 13:49
…s HTML

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…as HTML

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@soderlind soderlind merged commit 53f02ba into main Dec 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants