Glassmorphism UI Theme
xinzore/flarum-glass-theme
A glassmorphism-inspired modern UI theme for Flarum 1.8.x.
- Downloads
- 0
- Version control
- github.com/xinzore/-Glassmorphism-Theme
Glassmorphism UI Theme for Flarum
A production-ready Flarum 1.8.x theme extension that delivers a modern glassmorphism look. Expect frosted panels, pastel gradients, and smooth micro-interactions that stay lightweight and responsive across devices.
Features
- Soft glass surfaces with backdrop blur, translucent borders, and ambient shadows.
- Gradient-driven background and accent palette for a vibrant yet calm appearance.
- Enhanced buttons, discussion cards, composer, and post bodies with subtle hover animations.
- Mobile-friendly tweaks to keep the layout comfortable on small screens.
- Works with the existing Font Awesome icons bundled with Flarum.
Requirements
- Flarum 1.8.11 (compatible with Flarum 1.8.x).
- PHP 8.1+ (matches Flarum 1.8 requirements).
Installation
Because this repository is VCS-based, point Composer to it directly:
composer config repositories.xinzore-glass-theme vcs https://github.com/xinzore/flarum-glass-theme
composer require xinzore/flarum-glass-theme:*@stable
After installation, enable Glassmorphism UI Theme from the Flarum admin panel.
Configuration and customization
You can quickly adjust the visual identity by editing the LESS variables at the top of resources/less/forum.less:
-
@accent,@accent-2, and@accent-3control the primary, secondary, and tertiary accent hues. -
@glass-bg,@glass-border, and@glass-blurset the translucency and blur strength for cards and panels. -
@text-lightand@text-mutedtweak legibility against dark glass surfaces.
Once updated, clear Flarum's cache to rebuild assets:
php flarum cache:clear
Updating
composer update xinzore/flarum-glass-theme
php flarum cache:clear
Development Notes
- Styles live in
resources/less/forum.lessand are compiled by Flarum's asset pipeline. - The admin panel receives matching accents in
resources/less/admin.less. - Translation strings reside in
locale/en.ymlfor easy extension of future settings. - The empty
src/.gitkeepensures PSR-4 autoloading has a dedicated namespace root if you later add PHP classes.
License
MIT © 2024 Xinzore
Versions
-
Version v1.0.0.
Likely works with Flarum v1.8.11.
Unlikely to work with Flarum v2.0.0-beta.4.
-
4 additional versions.
-
Extension created.