This package provides a simple css/scss resource file that applies right-to-left directionality to the default Nova theme.
composer require muhammetsait/novartl
Then, you need to publish the theme.css
asset by using:
php artisan vendor:publish --provider='Muhammetsait\NovaRtl\ThemeServiceProvider'
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.
This project is licensed under the terms of the MIT license.
This package incorporates code from:
- pishran/nova-rtl-theme version 1.2.1 (https://github.com/pishran/nova-rtl-theme)