muhammetsait / novartl
Rtl theme for Laravel Nova.
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Language:CSS
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2024-04-24 16:35:28 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)