onedionys-ui-theme-switcher
v5.0.0
Published
One Dionys (UI Theme Switcher) - Components to allow users to dynamically change the theme of the application interface, providing a customized experience.
Downloads
19
Maintainers
Readme
💾 Requirements
Web Browser
- Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].Internet
- Because many use CDN and to make it easier to find solutions to all problems.
🎯 How To Use
Example Syntax
// Import the UIThemeSwitcher class
const UIThemeSwitcher = require('./src/ui-theme-switcher');
// Initialize the theme switcher
const themeSwitcher = new UIThemeSwitcher();
// Toggle between light and dark theme
themeSwitcher.toggleTheme();
Explanation
- This package provides a simple UI Theme Switcher functionality. It allows you to toggle between light and dark themes for your UI elements.
Return Value
toggleTheme()
: This method toggles between light and dark themes.applyTheme()
: This method applies the selected theme to the UI by adding/removing CSS classes.
📆 Release Date
- v1.0.0 : 17 March 2024
- v1.0.1 : 18 March 2024
- v5.0.0 : 31 March 2024
🧑 Author
- Facebook : Oned Ionys
- Instagram : @onedionys
- Twitter : @onedionys
- LinkedIn : @onedionys
📝 License
- Copyright © 2024 One Dionys
- One Dionys - UI Theme Switcher is an open source project licensed under the MIT license
☕️ Suppport & Donation
Love One Dionys - UI Theme Switcher? Support this project by donating or sharing with others in need.
Made with ❤️ One Dionys