To make the default RTL version just follow the below steps.
To enable RTL, Add the attribute dir="rtl" to the <html> tag in the src/html/partials/html.php file.
<html lang="en" dir="rtl">
Update the CSS links in src/html/partials/head-css.php by including the link css files to include the RTL stylesheet:.
<link href="assets/css/app-rtl.min.css" rel="stylesheet" type="text/css">
To make RTL the default layout in the dist/default folder (or any other folder):
1. Add the dir="rtl" attribute to the <html> tag in all HTML files:
<html lang="en" dir="rtl">
2. Update all HTML files to include the RTL stylesheet:
<link href="assets/css/app-rtl.min.css" rel="stylesheet" type="text/css" />