muhammetsait / novartl
Rtl theme for Laravel Nova.
v1.0.2
2019-10-25 15:56 UTC
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2026-02-24 21:12:00 UTC
README
This package provides a simple css/scss resource file that applies right-to-left directionality to the default Nova theme.
Installation
composer require muhammetsait/novartl
Then, you need to publish the theme.css asset by using:
php artisan vendor:publish --provider='Muhammetsait\NovaRtl\ThemeServiceProvider'
Usage
The rtl-theme is loaded automatically when the app locale is set to one of the following:
'ar', 'arc', 'dv', 'fa', 'ha', 'he', 'khw', 'ks', 'ku', 'ps', 'ur', 'yi'
Alternatively, you may force loading the rtl-theme when using other locales by adding direction="rtl" to your config/app.php file.
License
This project is licensed under the terms of the MIT license.
Acknowledgment
This package incorporates code from:
- pishran/nova-rtl-theme version 1.2.1 (https://github.com/pishran/nova-rtl-theme)