Initializes theme selection and signup modal functionality once the DOM is fully loaded.
This script performs the following operations:
- Loads and applies a saved theme (or defaults to "root").
- Updates the page's font style based on a saved preference.
- Corrects an old theme name ("jing-theme" to "lilac-theme").
- Enables theme switching via a
- Source: