Coder Social home page Coder Social logo

seankilleen / design-system Goto Github PK

View Code? Open in Web Editor NEW

This project forked from usajobs/design-system

0.0 3.0 0.0 26.16 MB

The design system for the next generation of USAJOBs. Describes the design language and reusable components of the site.

Home Page: http://usajobs.github.io/design-system/

License: Other

Ruby 0.20% JavaScript 31.95% Java 8.84% HTML 24.43% CSS 34.58%

design-system's Introduction

USAJOBS Design System

This repository houses the design system for the next generation of USAJOBS. A design system describes the base visual language, using UI elements and style guidelines, upon which the site can be built. It will also include examples and usage guidelines of new components.

The USAJOBS design system starts with the The U.S. Web Design Standards and extends them to meet the needs of the USAJOBS next generation project. This repo allows the team working on USAJOBS to:

  1. Document where we have intentionally deviated from an existing guildeline in the U.S. Web Design Standards and provide a platform for contributing back to those standards.

  2. Document where we have unintentionally deviated from an existing guideline in the U.S. Web Design Standards and want to track getting back inline with the standards.

  3. Design new components or elements that are not yet a part of the U.S. Web Design Standards. These components or elements may or may not be appropriate to contribute back to the standards given their potential for reuse elsewhere.

Setup for your local environment

Requirements

This repo uses Jekyll to serve and build the markup of the site. CSS and JS are managed by Grunt.

Thus you will need Ruby ( > version 2.2.3 ) and Node ( > 4.1.2 ). The Node install will also provide npm, the Node package manager.

You may consider using a Ruby version manager such as rbenv or rvm to help ensure that Ruby version upgrades don't mean all your gems will need to be rebuilt.

On OS X, you can also use Homebrew to install Ruby in /usr/local/bin, which may require you to update your $PATH environment variable. Here are the commands to follow to install via homebrew:

$ brew update
$ brew install ruby
$ brew install node

If you do use rbenv it is important to set your global Ruby version to 2.2.3 or higher so that you can install gems properly:

$ rbenv global

Installation

Now that you have verified that you have Ruby and Node installed, run the following commands to install the packages that the design system depends upon:

$ npm install -g grunt-cli
$ npm install
$ npm run build

The post-install step should run bundle install.

Development

To view and work on the site run:

$ npm start

This will perform the necessary Jekyll build, generate concatenated CSS and JS files, serve the site, and watch for changes to Sass and JS files. You should now be able to visit http://127.0.0.1:4001/ and view the design system locally.

Questions or need help with setup? Feel free to open an issue here https://github.com/USAJOBS/design-system/issues.

How to use this repo in projects

We will create a new repo for each project that will incrementally redesign a portion of the USAJOBS site. Those project repos will depend on the usajobs-design-system node module.

If you have node installed on your machine, you can use npm to install the design system. Add usajobs-design-system to your project's package.json as a dependency:

npm install usajobs-design-system --save

The package will be installed in node_modules/usajobs-design-system.

The main Sass (SCSS) source file is here:

_scss/all-usajobs.scss

Feedback

Please create a GitHub Issue.

Contributing to the code base

See CONTRIBUTING.

Licenses and attribution

Please refer to the LICENSE page.

design-system's People

Contributors

humancompanion avatar sabushanab avatar dreeeeewwwww avatar starrchen avatar mchung07 avatar brunov01 avatar dalenard21 avatar wakaye avatar

Watchers

James Cloos avatar Sean Killeen avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.