-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #133 from nvisionative/version/2.0.0
Version/2.0.0
- Loading branch information
Showing
135 changed files
with
1,343 additions
and
10,530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
node_modules/ | ||
build/ | ||
dist/css/style.min.css | ||
dist/css/bootstrap.min.css | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
## Add Custom Theme License | ||
As of Version 2.0.0 of **nvQuickTheme**, a new file is located in the root (`./`) folder of the project and is named `themeLicense.txt`. You can place a license within this file and the contents will automatically be displayed during the appropriate installation step within DNN using the project's output theme package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
## Add Custom Theme Release Notes | ||
As of Version 2.0.0 of **nvQuickTheme**, a new file is located in the root (`./`) folder of the project and is named `themeReleaseNotes.txt`. You can place release notes within this file and the contents will automatically be displayed during the appropriate installation step within DNN using the project's output theme package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
### Color Scheme | ||
[![nvQuickTheme Video Series - Color Scheme](https://img.youtube.com/vi/o1XW3e8JKfw/0.jpg)](https://www.youtube.com/watch?v=o1XW3e8JKfw) | ||
|
||
## Change Color Scheme | ||
Most websites are going to key off the colors for the brand being represented. Following industry best practices, there are typically three colors selected for the website main colors: primary, secondary and tertiary. These are defined within the `./src/scss/variables/_colors.scss` file. Updating these SCSS variable color definitions using HEX or RGB colors will change usage of these throughout the theme. | ||
|
||
There are also colors defined for variants of gray, normal font colors, borders and links. These are all easily modified within this one file. | ||
|
||
Additionally, base Bootstrap classes can be used for various colors within your custom theme. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,71 @@ | ||
Make sure you have navigated to your project root within your node command line. From this point you can use several commands. There are a few main dev commands, and then several smaller commands for more granular control. | ||
## Main Dev Commands | ||
|
||
### gulp manifest | ||
You should recognize this command from setting up your project. This command will update your manifest with the information provided in `gulpfile.js`. Anytime you need to update this information, for example, when changing the version number, you will need to run this command. | ||
### gulp init | ||
This command initializes all third-party dependencies utilized within **nvQuickTheme**. More specifically, it executes the following SubTask Commands in series (completes each task before the next): | ||
* **gulp fontsInit** | ||
* **gulp faFontsInit** | ||
* **gulp faCssInit** | ||
* **gulp slimMenuInit** | ||
* **gulp normalizeInit** | ||
* **gulp bsCssInit** | ||
* **gulp bsJsInit** | ||
|
||
### gulp build | ||
This command error checks, concatenates, compiles and minifies all your js and scss into the `dist/` folder, as well as copies your containers to the correct folder. | ||
This command error checks, concatenates, compiles and minifies all your JS and SCSS into the `./dist/` folder, as well as copies your containers to the correct folder. More specifically, it executes the following commands in series (completes each task before the next): | ||
* **gulp init** | ||
* **gulp styles** | ||
* **gulp scripts** | ||
* **gulp images** | ||
* **gulp containers** | ||
* **gulp manifest** | ||
|
||
### gulp watch | ||
This sets your node instance to watch all the js and scss in the src folder for any changes, as well as your containers. Upon changes it will automatically run the build command. Note: This command will take over your node instance, you may need to start a new instance if you want to run other commands. | ||
This sets your node instance to watch all changes of images, JS and SCSS in the `./src/` folder, as well as containers in the `./containers/` folder. Upon changes it will automatically run the **gulp build** command. | ||
|
||
**Note:** _This command will take over your node instance (in Command Prompt, PowerShell, Git Bash, VS Code Terminal, etc.). Therefore, you may want to start a new instance if you need to run other commands at the same time._ | ||
|
||
### gulp package | ||
A bit confusing with all the package talk earlier, but here we're not talking about dev packages anymore. This command builds and packages up what you've created into a DNN theme installation package (zip file). It will deposit the zip file under the `[root]/build/` folder using the information provided in `gulpfile.js`: `[project]_[version]_install.zip`. | ||
This command builds and packages your custom theme into a DNN theme installation package (ZIP file). It will place the ZIP file in the `./build/` folder using the following naming convention: `[project]_[version]_install.zip` | ||
|
||
|
||
*** | ||
|
||
## SubTask Commands | ||
These commands are mostly used within the 3 over arching commands, but can be used individually if desired. | ||
These commands are mostly used within the four Main Dev Commands, but can be used individually if desired. | ||
|
||
### gulp js | ||
Error checks, concatenates, compiles, and minifies all js in the `src/js/` folder and outputs into the `dist/js/` folder. | ||
### gulp manifest | ||
You should recognize this command from setting up your project. This command will update your manifest with the information provided in `project-details.json`. Anytime you need to update this information, like when changing the version number, you will need to run this command. This command is also executed as a part of the **gulp build** and **gulp package** commands. | ||
|
||
### gulp scss | ||
Error checks, concatenates, compiles, and minifies all scss in the `src/scss/` folder and outputs into the `dist/css/` folder. | ||
### gulp scripts | ||
Error checks, concatenates, compiles, and minifies all JS in the `./src/js/` folder and distributes to the `./dist/js/` folder. | ||
|
||
### gulp styles | ||
Error checks, concatenates, compiles, and minifies all SCSS in the `./src/scss/` folder and distributes to the `./dist/css/` folder. | ||
|
||
### gulp images | ||
Compresses images in the `src/images/` folder and output into the `dist/images/` folder. | ||
Compresses images in the `./src/images/` folder and distributes to the `./dist/images/` folder. | ||
|
||
### gulp containers | ||
Copies the containers to the correct folder for DNN. | ||
Copies containers to the correct folder within your DNN instance (assuming you are developing within a DNN instance). This translates to `../../Containers/[your theme project name]/`. | ||
|
||
|
||
*** | ||
|
||
## Process Commands | ||
These commands are used within other commands, or for special cases. We recommend use of these only for advanced users. | ||
These commands are used within other commands and for other special situations. _We recommend use of these only for advanced users._ | ||
|
||
### gulp zipdist | ||
ZIPs contents of `./dist/` folder. Used to prepare for theme packaging. | ||
|
||
### gulp update | ||
Pulls Bootstrap, Font-Awesome, and Normalize assets from the node_modules. So if you update your dependencies, you'll want to run this. Note that this will overwrite any changes you've done to the _normalize.scss file. | ||
### gulp zipcontainers | ||
ZIPs contents of `./containers/` folder. Used to prepare for theme packaging. | ||
|
||
### gulp buildzips | ||
Zips each dist folder. Used to prep theme packaging. | ||
### gulp zipelse | ||
ZIPs contents of `./menus/` folder, `./partials/` folder, and all ASCX, XML, HTML and HTML files withinthe root folder (`./`). Used to prepare for theme packaging. | ||
|
||
### gulp zipfiles | ||
Collects all the zip files and project root files needed into the main theme zip file. | ||
### gulp zippackage | ||
ZIPs all subset ZIP files and other pertinent project files into theme package installation file using the following naming convention: `[project]_[version]_install.zip` | ||
|
||
### gulp cleanup | ||
Deletes all the zip files under the project root. Used to cleanup the individual zip files created in the theme packaging task. | ||
Deletes all temporary ZIP and project files used in package tasks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.