Enhance your Acode editor experience with customizable UI styles.
- Multiple UI Styles: Choose from predefined UI enhancements
- Custom CSS Support: Add your own CSS rules with live reload
- Toggleable Features: Enable/disable specific UI components
- Open Acode editor
- Navigate to Sidebar → Plugins
- Search for "BetterUI"
- Click Install
- Go to Settings → Plugins
- Find BetterUI in the list
- Click the settings icon
- Check/uncheck features in the settings list
- Changes apply immediately
- Click "Add Custom CSS" in plugin settings
- Edit the
BetterUI.custom.css
file - Save changes (auto-reloads styles)
Contributions are welcome. Please open issues/pull requests on GitHub for:
- New UI component suggestions
- CSS conflict reports
- Feature requests
Found this plugin useful? Consider:
- Leaving a ⭐ rating in the plugin page and GitHub
- Reporting issues on GitHub
- Contributing CSS improvements
This plugin is under MIT License.
const BetterUI = acode.require('@better/ui');
/**
* Available UI component types
* @constant {string[]}
* @example
* const { UiTypes } = acode.require('@better/ui');
*/
BetterUI.UiTypes
/**
* Base directory for UI customization files
* @constant {string}
*/
BetterUI.UiPath
/**
* Path to custom CSS file
* @constant {string}
*/
BetterUI.CustomCssPath
/**
* Get currently active UI types
* @returns {string[]} Array of active UI types
*/
BetterUI.getActiveTypes
/**
* Reset UI styles for specified types
* @async
* @param {...string} types - UI component types to reset
* @returns {Promise<void>}
* @example
* await BetterUI.resetUi('sidebar', 'settings');
*/
await BetterUI.resetUi
/**
* Load styles for specified UI types
* @async
* @param {...string} types - UI component types to style
* @returns {Promise<void>}
*/
await BetterUI.loadStyle
/**
* Remove styles for specified UI types
* @param {...string} types - UI component types to remove
*/
await BetterUI.removeStyle