All Projects → CodyHouse → Codyhouse Framework

CodyHouse / Codyhouse Framework

Licence: mit
A lightweight front-end framework for building accessible, bespoke interfaces.

Projects that are alternatives of or similar to Codyhouse Framework

Css
The CSS design system that powers GitHub
Stars: ✭ 10,670 (+946.08%)
Mutual labels:  framework, design-system, scss
Meshki
Meshki: A Black-Colored, Responsive Boilerplate for UI Development
Stars: ✭ 129 (-87.35%)
Mutual labels:  framework, scss
Hocus Pocus
Universal and lightweight stylesheet starter kit
Stars: ✭ 128 (-87.45%)
Mutual labels:  framework, scss
Buttercake
Material Design Components, Responsive and Modern CSS Framework Built with Flexbox 🍰
Stars: ✭ 178 (-82.55%)
Mutual labels:  framework, scss
Wordless
All the power of Pug, Sass, Coffeescript and WebPack in your WordPress theme. Stop writing themes like it's 1998.
Stars: ✭ 1,374 (+34.71%)
Mutual labels:  framework, scss
Baseguide
Lightweight and robust CSS framework for prototyping and production code.
Stars: ✭ 127 (-87.55%)
Mutual labels:  framework, scss
Tuicss
Text-based user interface CSS library
Stars: ✭ 167 (-83.63%)
Mutual labels:  framework, scss
Uswds Site
USWDS website and documentation
Stars: ✭ 135 (-86.76%)
Mutual labels:  design-system, scss
Lab
React UI component design tool
Stars: ✭ 349 (-65.78%)
Mutual labels:  framework, design-system
Carbon
A design system built by IBM
Stars: ✭ 5,005 (+390.69%)
Mutual labels:  scss, design-system
Gutenberg
Modern framework to print the web correctly.
Stars: ✭ 4,425 (+333.82%)
Mutual labels:  framework, scss
Zeva
a modern and minimalist ui framework for building responsive and modern frontends
Stars: ✭ 57 (-94.41%)
Mutual labels:  framework, scss
Bootstrap Dark
The Definitive Guide to Dark Mode and Bootstrap 4 - A proof of concept
Stars: ✭ 54 (-94.71%)
Mutual labels:  framework, scss
Generator Baukasten
Awesome!
Stars: ✭ 50 (-95.1%)
Mutual labels:  framework, scss
Vue Bootstrap With Material Design
Vue Bootstrap with Material Design - Powerful and free UI KIT
Stars: ✭ 803 (-21.27%)
Mutual labels:  framework, scss
Musubii
Simple CSS Framework for JP
Stars: ✭ 138 (-86.47%)
Mutual labels:  framework, scss
Interior
Design system for the modern web.
Stars: ✭ 77 (-92.45%)
Mutual labels:  design-system, scss
Design System
Design system for new Proton project
Stars: ✭ 101 (-90.1%)
Mutual labels:  design-system, scss
Core
Our Front-end baseplate, from mobile to desktop
Stars: ✭ 298 (-70.78%)
Mutual labels:  framework, scss
Primitive
⛏️ ‎ A front-end design toolkit for developing web apps.
Stars: ✭ 783 (-23.24%)
Mutual labels:  framework, scss

🐞 CodyFrame

A lightweight front-end framework for building accessible, bespoke interfaces.

Explore the documentation on codyhouse.co

The framework is composed of:

  1. base/*: essential CSS rules and utility classes (we suggest you don't modify these files).
  2. custom-style/*: SCSS templates you can use to create your bespoke style.
  3. style.scss: used to import the _base.scss and _custom-style.scss files.
  4. util.js: utility functions used in the CodyHouse Components. Make sure to import this file before the script file of the components.

Some of the advantages of working with CodyFrame:

  • ⚡️ lightweight (19KB minified and gzipped - before running PurgeCSS)
  • 🙌 no need to override existing CSS rules
  • 📱 mobile-first
  • 🎨 create unique designs with total control
  • 📖 easy to learn
  • 💼 a library of accessible components
codyhouse-framework/
└── main/
    ├── assets/
    │   ├── css/
    │   │   ├── base/*
    │   │   │── custom-style/
    │   │   │   ├── _buttons.scss
    │   │   │   ├── _colors.scss
    │   │   │   ├── _forms.scss
    │   │   │   ├── _icons.scss
    │   │   │   ├── _shared-styles.scss
    │   │   │   ├── _spacing.scss
    │   │   │   ├── _typography.scss
    │   │   │   └── _util.scss
    │   │   ├── _base.scss
    │   │   ├── _custom-style.scss
    │   │   ├── style-fallback.css
    │   │   ├── style.css
    │   │   └── style.scss
    │   └── js/
    │       └── util.js
    └── index.html

Progressive enhancement

If you're using the Components, make sure to include the following script in the <head> of your document:

<script>document.getElementsByTagName("html")[0].className += " js";</script>

The script is used in CSS to target that JavaScript is enabled and apply additional style accordingly. If you don't include the script, part of the style of the components won't be visible.

Gulp

CodyFrame includes a Gulp configuration file. To start a project that runs on Gulp, once you have downloaded the source files, navigate to the framework folder, and run the following commands in your command line:

npm install
npm run gulp watch

The first command will install the modules the framework requires for compiling SCSS into CSS; the second will launch your project on a development server.

⚠️ Note: if you receive error messages while trying to run the npm install command, you may need to download and install Git first.

If you need to support browsers where CSS Custom Properties have not been implemented (e.g. IE11), use the npm run gulp watch-ie command instead.

When using this command, the gulp configuration file is set to compile the SCSS into two separate CSS files: style.css includes the CSS variables; in the style-fallback.css file, the CSS variables are replaced by their fallbacks (generated by the PostCSS plugin). Make sure to uncomment the following script in the

of the index.html file: it is used to deliver only one file, according to whether the browser supports CSS variables or not.
<link id="codyframe" rel="stylesheet" href="assets/css/style.css">
<!-- browsers not supporting CSS variables -->
<script>
  if(!('CSS' in window) || !CSS.supports('color', 'var(--color-var)')) {var cfStyle = document.getElementById('codyframe');if(cfStyle) {var href = cfStyle.getAttribute('href');href = href.replace('style.css', 'style-fallback.css');cfStyle.setAttribute('href', href);}}
</script>

📝 How to use the Framework with Webpack

Component Library

CodyHouse's Components are accessible, progressively enhanced, HTML, CSS, JS components that work seamlessly with the framework.

You can use the Gulp configuration file to auto-import the .scss of the CodyHouse's Components.

Learn more about importing the CSS and JS of the CodyHouse's Components

Explore the Components

Global Editors

The Global Editors are visual tools that allow you to set the style of typography elements, color themes, spacing rules, buttons, and forms directly in the browser. They generate SCSS code that is compatible with CodyFrame.

Explore the Editors:

Extensions

Explore our autocomplete extensions for VSCode, Sublime Text and Atom:

codyhouse.co/ds/docs/extensions

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].