Coder Social home page Coder Social logo

dystudio / blaze-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blazesoftware/atoms

0.0 2.0 0.0 3.65 MB

Framework-free open source UI toolkit

Home Page: https://www.blazeui.com

License: MIT License

CSS 23.37% JavaScript 0.12% TypeScript 66.42% HTML 10.09%

blaze-1's Introduction

Blaze

Blaze is a framework-free open source UI toolkit. It provides great structure for building websites quickly with a scalable and maintainable foundation.

https://www.blazeui.com

ci build status

Local Developer Setup

First of all install NVM.

When that is complete run:

$ nvm use
$ npm i

That's essentially it! Here are some useful commands:

npm run <command> Description
[package].test Lints all the scss files and runs all the tests on the atoms
[package].dev Runs the dev servers with live reloads for both scss and atoms
commit To commit any changes please use npm run commit, more info below

Committing

When committing changes please follow the Conventional Commits format.

The best thing to do is simply run npm run commit and it'll take you through a step-by-step wizard.

Installing the CSS

The easiest way to use the toolkit is via CDN.

<link rel="stylesheet" href="https://unpkg.com/@blaze/[email protected]/dist/blaze.css" />

The x.x.x is the specific version of the library, you should use specifc versions to prevent against breaking changes.

How to start applying styles

We've designed the toolkit not to interfere with others or your own styles, hence Blaze won't automatically do anything to your site.

The following won't change by simply linking to blaze.css like it would with others such as Bootstrap or Foundation:

<button type="button">Button</button>

You need to apply our button classes:

<button class="c-button" type="button">Button</button>

This means you have to add classes to each part of your site where you want Blaze to apply. Take a look at the documentation for our objects, components, typography etc. and you'll see how intuitive it is to use.

Installing the JavaScript Components

Link to it by adding the following to your <head></head>.

<script src="https://unpkg.com/@blaze/[email protected]/dist/blaze-atoms.js"></script>

The x.x.x is the specific version of the library, you should use specifc versions to prevent against breaking changes.

That's it! Start using the components in your HTML.

Integrating with a Framework

Blaze uses Stencil to compile our components into Web Components. And since they can be used within frameworks or in standard HTML websites the best resource to read is the Stencil documentation regarding framework integration.

blaze-1's People

Contributors

absent1706 avatar cietho avatar dominicbarnes avatar drogueronin avatar gregorypotdevin avatar gregorypratt avatar jamesmckenziejhtna avatar kanekt avatar rockingskier avatar sdougbrown avatar

Watchers

 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.