This documentation is a work in progress. Joel Serino, Sept 29, 2015 To get started with the buid tools in this UI, refer to the documentation online, or learn how to add new recipes.
_ui
: The GS UI builder_app
- Our app's main UI framework, including all LESS & JS components, themes, layouts and builderdefinitions
- UI behaviors, collections, elements, globals, modules and viewsmobile
- The specific collection, element, global, module and view overrides for themobile
app UIsite
- The default collection, element, global, module and view overrides for thesite
web app UIthemes
- An array of stylizations called themes that can be applied at the element, global, module or view levelsemantic.less
- The magicless
config file where you can choose your buildtheme.config
- The magictheming
config file where you can choose your theme for everything or just an individual elementtheme.less
- A file you shouldn't have to touch, but loads the theme'sless
based on the theme.config values
_dist
- Built & packaged CSS, JS and components for distribution into an appcomponents
- Individual components to add into your projectthemes
- Individual theme files to add into your projectsemantic.css
- All of the UI css into one file to add into your projectsemantic.js
- All of the UI scripts in one file to add into your projectsemantic.min.css
- All of the UI css into one file, minified, to add into your projectsemantic.min.js
- All of the UI scripts into one file, minified, to add into your project
node_modules
- Node dependencies, like Gulp & Semantic UItasks
- All of the workflow, builder and automation magic happens in hereadmin
- Admin related taskscomponents
- Manage componentsdistributions
- Manage distributions
build
- Build related taskscollections
- Collections of tasks that are imported together. See./collections/README
config
- Lots of setup and config.docs
- Build related tasks for documentationrtl
- Build related tasks for building in Right To Left
gulpfile.js
- The master Gulp file that makes use of all thosetasks
package.json
- The NPM config file for the GS UI projectsemantic.json
- The Semantic UI library's CLI config file.
The GiftStarter App now includes a semantic User Interface library. It is easy to work with, easy to build, and easy to release into an app (Angular web, for example).
If you find yourself working on updating the core UI stack running in an site or application, these tasks are for you.
Below are the dev tasks, first in order for build, then all of them.
For a complete up-to-date list,see ./_ui/gulpfile.js
$ gulp config
- Read user config to know what task is to load
$ gulp watch
- Develop on the UI while watching the changes in a local test URL
$ gulp build
- Soup to nuts clean, build, release SASS (new site code from./sass
)$ gulp buildJS
- Clean & build dev JS (new site code from./sass
)$ gulp buildCSS
- Clean & release built base CSS from lots of files into one compressed file (new site code from./sass
)$ gulp buildAssets
- Clean & release built compiled app assets (original site code)
$ gulp clean
- Clean the built SASS (all folders in./_ui/dist/app-main/...
)$ gulp version
- Gets the version info so you know what you're cleaning
$ gulp buildRTL
- Build thertl
spec project (Right to Left)$ gulp watchRTL
- Starts thewatch
on rtl files during development
$ gulp serveDocs
- Serves the docs in a local URL$ gulp buildDocs
- Build doc files
More in the _ui/gulpfile.js
- The UI glossary can be found here.
- Theming help can be found here
- Help with Layouts
- Global resets
- Site globals
- Form validation
- Visibility
- API and more
- Where NOT to develop CSS or JS