This software is highly brandable, allowing you to customize nearly everything with ease and speed.
To change the user-end logo, simply replace the header_logo.svg
file located in the [app_root]\Nudasoft\App\Assets\public\img
directory. This will change the logo in multiple places, such as user sign-in, sign-up, and password reset pages. The recommended maximum width and height are 170px
and 50px
, respectively.
To update the text and background images on the user sign-in page, follow these steps:
[app_root]\Nudasoft\Auth\Views\Signin\Signin.php
view file. Modify the language string keys and the background images array as needed.
[app_root]\Nudasoft\Auth\Language\en\Views\Signin\Signin.php
.
The background images are hosted in the [app_root]\Nudasoft\Auth\Assets\public\img
directory.
To update the text and image on the user sign-up page, follow these steps:
[app_root]\Nudasoft\Auth\Views\Signup\Signup.php
view file. Modify the language string keys and image source path as needed.
[app_root]\Nudasoft\Auth\Language\en\Views\Signup\Signup.php
.
The image is hosted in the [app_root]\Nudasoft\Auth\Assets\public\img
directory.
To change the logo and text on the main navbar, follow the steps below:
Replace the navbar_logo.svg
file located in the [app_root]\Nudasoft\App\Assets\public\img
directory. The recommended maximum dimensions are a width of 100px
and a height of 30px
.
To update the app name displayed on the main navbar, modify the app name value in the App module settings page.
You can also change several other details on the App module settings page.
To change the web browser favicon, replace the favicon.ico
file in the [app_root]\public
directory. However, due to web browser caching, the change may not appear immediately. To fix this, clear the web browser cache or press Ctrl + R to do a forced/hard page reload and see the updated favicon.
To change the backgrounds and the app-frame background, you need to edit two files: one for dark mode (dark_mode_main.css
) and another for light mode (light_mode_main.css
). These files are located in the [app_root]\Nudasoft\App\Assets\src\css
directory.
To change the app-frame background, modify the _app_frame_common
CSS class rules in both .css
files. This class is shared across the admin-end, my-end, and user-end.
To update the backgrounds for the admin-end, my-end, and user-end, edit the corresponding CSS class rules in both .css
files:
_bg_ae_main_gradient
_bg_me_main_gradient
_bg_main_gradient
You may be wondering why the class _bg_main_gradient
is not named something like _bg_ue_main_gradient
. This is an intentional design choice. Among the three ends, the user-end is considered the main end, while the other two ends are subsets of it. Therefore, the class is named _bg_main_gradient
.
Editing the CSS files alone is not sufficient. To see the changes, you need to regenerate the assets by running the gulp
command. We will discuss this process later in this chapter.
Below is an example of the admin-end after changing the background and the app-frame background.
Open the [app_root]\Nudasoft\App\Views\FramedRootLayoutAdminend.php
file and update the relevant anchor tag.
Open the [app_root]\Nudasoft\App\Views\FramedRootLayoutMyend.php
file and update the relevant anchor tag.
Open the [app_root]\Nudasoft\App\Views\FramedRootLayoutAdminend.php
file and update the relevant language string key. Additionally, ensure that you modify the corresponding language string in the [app_root]\Nudasoft\App\Language\en\Views\FramedRootLayoutAdminend.php
language file.
Open the [app_root]\Nudasoft\App\Views\FramedRootLayoutMyend.php
file and update the relevant language string key. Additionally, ensure that you modify the corresponding language string in the [app_root]\Nudasoft\App\Language\en\Views\FramedRootLayoutMyend.php
language file.
As a best practice, we avoid using custom CSS styles unless absolutely necessary, in order to maintain a minimal custom styling footprint. We recommend that you follow this practice as well.
In the [app_root]\Nudasoft\App\Assets\src\css
directory, there are many .css
files.
To override default bootstrap styles.
To add common styles for all color modes.
To add utility classes for all color modes.
Email template styles for dark color mode.
Administrative-ends main sidebar/aside styles for dark color mode.
Custom styles for dark color mode.
Email template styles for light color mode.
Administrative-ends main sidebar/aside styles for light color mode.
Custom styles for light color mode.
Editing the CSS files alone is not sufficient. To see the changes, you need to regenerate the assets by running the gulp command. To do this, navigate to the app root directory where the gulpfile.js file is located in the terminal, or open the terminal in that directory, and run the gulp command. If everything is set up correctly, it will produce an output listing the generated files, as shown in the image below.
To use the gulp command, you must first install the gulp cli and required development related node modules, as discussed in the Installation chapter.
By default, the software is set to the dark color mode. To change the default color mode to light, Set the public $app_colorMode = 'dark';
config item to light in the [app_root]\Nudasoft\App\Config\Main.php
configuration file.