Coder Social home page Coder Social logo

vvornanen / helsinki-design-system Goto Github PK

View Code? Open in Web Editor NEW

This project forked from city-of-helsinki/helsinki-design-system

0.0 0.0 0.0 393.23 MB

Components, principles, documentation and templates for the City of Helsinki design system.

License: MIT License

Shell 0.01% JavaScript 12.36% TypeScript 71.68% CSS 8.18% HTML 0.02% SCSS 7.76%

helsinki-design-system's Introduction

Helsinki Design System

Design System for the City of Helsinki
Helsinki Design System (HDS) is an open-source design system built by the City of Helsinki. It consists of tools for development and design as well as resources and guidelines for creating user-friendly, accessible solutions for the city.


Features

  • Accessibility baked-in – All HDS components are from the ground up designed to be as accessible as possible. Components go through a third-party accessibility audit before release.
  • React & CSS – Components are available both as React and CSS styles. Choose the one which suits the best for your project.
  • Customizable – HDS components are designed to be customizable to allow expressing the vibrant Helsinki brand.
  • Design and Implementation in sync – Designers use a collection of Sketch libraries which are perfectly in sync with the implementation.

Packages

HDS is divided into three (3) separate packages:

  • npm – Helsinki City brand colors, typography and base styles as css-styles and variables
  • npm – Provides HDS components implemented using React
  • npm – Basis of the HDS which includes base colors, typography etc. as design tokens.

Getting started

🔧 Are you a developer? If yes, start by checking out HDS - For developers page.
🎨 Are you a designer? If yes, start by checking out HDS - For designers page.

Helsinki Design System uses Lerna for running scripts across the repo as well as versioning and creating releases of the packages. Yarn workspaces is used to manage dependencies. This allows the separate packages to reference each other via symlinks during local development.

Using the packages in your project

See the package specific instructions on how to get started using the packages.

Setting up local development environment

  1. Download and Install git lfs which is used to store images outside repository.
git lfs install
  1. Clone the HDS repository.
git clone https://github.com/City-of-Helsinki/helsinki-design-system.git
  1. Go to the root of the project and install dependencies with yarn.
cd helsinki-design-system
yarn
  1. Build packages with yarn build. This builds all packages; core, react, design-tokens and site (documentation).
yarn build
  1. Start the development server. You can start these individually for each platform with yarn start:<platform>. For example, to start the React Storybook development environment, run:
yarn start:react

Commands

Command Description
yarn Installs dependencies and links local packages.
yarn build Builds all the packages.
yarn build:<package> Builds a specific package (tokens, core, react or site).
yarn start:<platform> Starts the development environment for a specific platform (core or react).
lerna release Publishes packages that have changed since the last release.

To ensure code quality in the repo, every package will have their pre-commit and pre-push scripts run automatically before git commit and push (added with Husky).

Roadmap

Helsinki Design System has a public roadmap. For the long-term Roadmap, please refer to HDS About - Roadmap page. If you are interested what the team is currently working on, refer to the Design System Roadmap in Github.

Contributing

Before contributing, it is recommended to read HDS Contribution - Before contributing page.

We are accepting new features, feature requests and help with improving the documentation. There are multiple ways you can contribute:

  • Opening issues about bugs/improvements/new features/etc.
  • Opening pull requests with changes/fixes/new features/etc.
  • Opening branches in Abstract to propose new component designs or design changes. More information about design contribution can be found in HDS Contribution - Design page.
  • Take part in discussion and commenting new HDS features. The easiest way to do this is to browse open issues and pull requests and leave a comment! If you have an access to the City of Helsinki Slack, you may also join the discussion there. More info about the ways to contact us can be found in HDS About - Support page.

helsinki-design-system's People

Contributors

minevala avatar villemiekkoja avatar ronijaakkola avatar niglu1 avatar lehtoinen avatar aleksik avatar eemelinieminen avatar laurakarhu avatar justville avatar sabrinaseidl avatar dependabot[bot] avatar petrilahdelma avatar jokinen avatar jussiarpalahti avatar nenonja avatar nizar-rahme avatar pyryk avatar hi-fi avatar mikkojamg avatar jorilindell avatar tatuarvela avatar joakimschonert avatar pkalliok avatar rjaakkola avatar sartonon avatar patrikjuvonen 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.