All Projects → saschadiercks → Design System With 11ty

saschadiercks / Design System With 11ty

Licence: mit
This is a design system documentation powered by eleventy

Projects that are alternatives of or similar to Design System With 11ty

ripple
Ripple is the frontend framework for Single Digital Presence, delivered using Nuxt and Vue.js
Stars: ✭ 36 (+100%)
Mutual labels:  pattern-library, design-system
Bolt
The Bolt Design System provides robust Twig and Web Component-powered UI components, reusable visual styles, and powerful tooling to help developers, designers, and content authors build, maintain, and scale best of class digital experiences.
Stars: ✭ 186 (+933.33%)
Mutual labels:  design-system, pattern-library
Axiom React
Axiom - Brandwatch design system and React pattern library
Stars: ✭ 41 (+127.78%)
Mutual labels:  design-system, pattern-library
Ugnis
Visual CSS generator for React
Stars: ✭ 249 (+1283.33%)
Mutual labels:  design-system, pattern-library
core
The Pangolin.js core that drives everything.
Stars: ✭ 18 (+0%)
Mutual labels:  pattern-library, design-system
design-systems
A list of famous design systems, design languages and guidelines
Stars: ✭ 403 (+2138.89%)
Mutual labels:  pattern-library, design-system
Awesome Design Systems
A curated list of bookmarks, resources and articles about design systems focused on developers.
Stars: ✭ 222 (+1133.33%)
Mutual labels:  design-system, pattern-library
vf-core
A (primarily CSS) framework that targets needs of life science websites and services
Stars: ✭ 16 (-11.11%)
Mutual labels:  pattern-library, design-system
Uiengine
Workbench for UI-driven development
Stars: ✭ 349 (+1838.89%)
Mutual labels:  design-system, pattern-library
Design System
Priceline.com Design System
Stars: ✭ 604 (+3255.56%)
Mutual labels:  design-system
Clarity
Clarity is a scalable, accessible, customizable, open source design system built with web components. Works with any JavaScript framework, built for enterprises, and designed to be inclusive.
Stars: ✭ 6,398 (+35444.44%)
Mutual labels:  design-system
A11y Style Guide
Accessibility (A11Y) Style Guide
Stars: ✭ 493 (+2638.89%)
Mutual labels:  pattern-library
Circuit Ui
SumUp's component library for the web
Stars: ✭ 625 (+3372.22%)
Mutual labels:  design-system
Orbit
React components of open-source Orbit design system by Kiwi.com
Stars: ✭ 774 (+4200%)
Mutual labels:  design-system
Cosmos
🔭 Auth0 Design System
Stars: ✭ 512 (+2744.44%)
Mutual labels:  design-system
Sugui Design System
A design system template for the SugUI components library based on styleguidist
Stars: ✭ 17 (-5.56%)
Mutual labels:  design-system
Community Group
This is the official DTCG repository for the design tokens specification.
Stars: ✭ 480 (+2566.67%)
Mutual labels:  design-system
React95
🌈🕹 Refreshed Windows 95 style UI components for your React app
Stars: ✭ 4,877 (+26994.44%)
Mutual labels:  design-system
Saturn
Repositório de componentes React baseado no design system da Nave.
Stars: ✭ 23 (+27.78%)
Mutual labels:  design-system
Braid Design System
Themeable design system for the SEEK Group
Stars: ✭ 888 (+4833.33%)
Mutual labels:  design-system

This is a design system documentation powered by eleventy

It is structured using ITCSS and uses BEM for the styling.

The Story

Some time ago I decided to redesign my personal website and remove things like wordpress. Since I'm aobsessed with speed and optimization while enabling maximum flexibility with my code I decided to...

  • use a static site generator
  • write my own framework and not use things like bootstrap

Since I'm following Zach Leatherman on twitter I heard about him developing eleventy. After my site was done I decided to use eleventy as a documentation generator for my code.

If you're interested in Pattern Libraries or Design Systems like me, you could use this repository to build your own pattern lib. Just fork it and use it as a starting point and extend it to adopt your needs.

Techniques

You might notice, that I'm using ITCSS and BEM here. Currently there's no JS here, but that might change. My goal is to avoid frameworks as much as possible, so jQuery might not be used here.

HOW TO

The only things you need to edit are the contents in the folder src/eleventy/pages

Opening this folder, you might notice, there are folders using the ITCSS-Names (prefixed with numbers to reflect the hierarchy).

  • 1-settings (does not exist)
  • 2-tools (does not exist)
  • 3-generic (does not exist)
  • 4-elements
  • 5-objects
  • 6-components
  • 7-utilities
  • themes (not ITCSS but used to edit some styles for the documentation)

In any of these folders (except "themes"), there are the files needed for the documentation.

  • code.html
    • used to generate the previews and code-snippets
  • description.md
    • add some description to your code

All content in these folders are automatically grouped on one page.

The sidebar is dynamically filled with links which link to the equivalent parts on the page (using IDs). Names in the sidebare come from the equivalent directory-name so no Front Matter data is used here. Keep that in mind, when choosing names.

Prefixes

The CSS is prefixed so we can mix it with other frameworks and identify the classes later on. You can change the pprefix in src/assets/scss/1-settings/variables. But keep in mind, that you need to change the class-names in the html too. Search for sdi-and replace it with a name you like best.

Gulp

I'm using gulp as a task runner so you need node.js and gulp.

  1. just install node.js
  2. and run npm install in the project directory

Here's a list of available tasks

  • gulp serve runs eleventy and starts the watcher
  • gulp update lints and recompiles CSS & JS. Calls the copy-function too
  • gulp build runs eleventy and all build tasks without starting it
  • gulp copy to copy required files (normally not required to run manually)
  • gulp lint lints your scss using stylelint (it's very strict)
  • gulp build:css rebuilds the CSS

Code Highlighting

We're using prism.js to highlight the code. The nesseccary files are included in this repository. If you want to change the styling head to https://prismjs.com/ and download the files you want. After that place them in src/assets/3rdparty/prism and run gulp build

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].