Skip to content

therkut/_02_codyframe-theme-003

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codyhouse Framework Trials

_02_codyframe-theme-003 Template by 🐞 CodyHouse

_02_codyframe-theme-003 is a free HTML, CSS, JS landing template built using the CodyHouse Components and Framework.

This template was created by copying and pasting 19 components, distributed across 2 unique pages. The global styles were defined using the Global Editors. The glue that holds the components together is CodyFrame. Nothing more - not a single extra line of CSS/JS! 🙌

View Demo

CodyHouse UI

First time you hear about CodyHouse UI? Here are a few links to get started:

  • ⚙️ CodyFrame is a lightweight front-end framework for building accessible, bespoke interfaces. (Learn more or download it on Github)
  • 📦 CodyHouse Components is a library of accessible, progressively enhanced, HTML, CSS, JS components that work seamlessly with CodyFrame. (Browse components)
  • 🚀 Global Editors, a collection of web design tools to create and export typography elements, color themes, spacing rules, buttons and forms. (Explore Globals)
  • 📝 Documentation, learn how to use CodyFrame and the Components (View documentation)

Progressive enhancement

The following script in the <head> of the html files:

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

is used in CSS to check if JavaScript is enabled and apply additional style accordingly.

Gulp

The template includes a Gulp file with some basic configurations needed to run a web project based on CodyFrame.

To use this Gulp configuration file, once you have downloaded the template, make sure to 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.

  • Optionally, you can use the gulp dist command to:
    • Compress your style file, purge it using PurgeCSS, and copy it to the 'dist' folder;
    • Compress your JS files and copy them to the 'dist' folder;
    • Copy your assets and html files to the 'dist' folder.
npm run gulp dist

License

Check CodyHouse License page.

Credits

  1. Images: Unsplash
  2. Icons: Nucleoapp