semantic-ui-theme v1.1.1
Semantic UI Customizations
This repository contains custom styling to be used across all our applications i.e. accelerate and the front-end applications
Prerequisites
Node
Minimum version: 8
Confirm you have node installed by running
node -v.If you didn't get a version number above, install node and confirm with a
node -vonce the install is complete.
Gulp
Minimum version: 3.9.1
Confirm you have gulp globally installed by running
gulp -v. A positive result is seeing aCLIandLocalversion printedIf you don't have gulp installed, run
npm install --global gulp. Confirm it has installed successfully with the step before this.
Setup
Ensure you have cloned this repository following the directory structure specified.
From inside the cloned repo, run
npm installThe
npm install, as of this writing, will warn of vulnerable packages installedadded 891 packages from 454 contributors and audited 9790 packages in 67.378s found 5 vulnerabilities (1 low, 4 high)- This is a known and expected issue that we don't have control over.
You should be able to run
gulp buildandgulp watch
What does what
gulp build- This takes every theme based on the
theme.configfile and creates (or populates) adistdirectory withfont,imagecssandjsassets for every component in semantic. - It also builds general
cssandjsassets (both minified and pretty) containing styling and behaviour for every component - This is great for generating production asseets.
- This takes every theme based on the
gulp watch- This keeps track of your
srcfolder, any changes made in it automatically triggers a build on the components and themes affected. - This is perfect for development.
- This keeps track of your
Where is what
src/themes/masschallenge
- This contains our custom theme
src/theme.config
- This is where we define what our custom styles will apply to i.e. buttons, modals, checkboxes
dist/
- Output js and css to be used on web pages are built into this directory
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago