[PR] Adding auto RTL support #4306
Replies: 8 comments
-
Some screenshots: |
Beta Was this translation helpful? Give feedback.
-
This is looking great 😍🌟 |
Beta Was this translation helpful? Give feedback.
-
awsome - +1 for this |
Beta Was this translation helpful? Give feedback.
-
great work 👍 |
Beta Was this translation helpful? Give feedback.
-
Excellent😍 |
Beta Was this translation helpful? Give feedback.
-
any update on this? |
Beta Was this translation helpful? Give feedback.
-
We currently working on this. |
Beta Was this translation helpful? Give feedback.
-
Update 4.10.0: Added preliminary support for right-to-left languages with @crynobone Thank you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Here I'm going to describe an easy and automated way for adding RTL theme to Nova v4.
A little background: I've developed a theme for Nova v3 to add RTL theme 3 years ago and it still works with latest v3 branch, it has ~23k installs:
https://github.com/pishran/nova-rtl-theme
For Nova 4 support, I've tried to find a better approach and here is my suggestion:
package.json
.postcssRtlcss
to Nova'swebpack.mix.js
as a postCss plugin:layout.blade.php
file, add adir
attribute tohtml
tag according to the config key added in step 3:Done!
In this approach, no manual tweaking is required for users and it's also updates with Nova's internal developments when css codes change.
Let me know if there is anything I can do.
@taylorotwell @davidhemphill @crynobone
Beta Was this translation helpful? Give feedback.
All reactions