Code Monkey home page Code Monkey logo

aokacss's Introduction

aokacss

aokacss is simple Material Design css dramework.

Instalation

aokacss can be used with PostCSS.

npm install aokacss

Add aokacss to PostCSS Config.

module.exports = {
  plugins: [
    ...,
    require("aokacss"),
    ...
  ]
}

Then add aokacss to your css file

@aoka all;

Configuration

You can add configuration to aokacss with

require('aokacss')({
  enabledColors: ['red']
});

There is aokacss supported configuration.

enabledColors

Default value
['all']

Description
Array contain enabled color theme

Value
all, red,pink,purple,deep-purple,indigo,blue,light-blue,cyan,teal,green,light-green,lime,yellow,amber,orange,deep-orange,brown,gray,blue-gray,black,white

themes

Default value

background: {
  default: '#ffffff',
  text: '#000000'
},
surface: {
  default: '#ffffff',
  text: '#000000'
},
primary: {
  default: '#6200EE',
  dark: '#3700B3',
  text: '#ffffff'
}

Description
Object that descibe theme colors.

Value
Must have background, surface, and primary. All field must have default values. dark and text is optional.

Module

@aoka at rule import aokacss module. aoka css have this module

Name Description
all Import all aokacss modules
base Import base module
layout Import all layout module
layout/base Import base layout module
layout/columns Import columns layout module
layout/hero Import hero layout module
widget Import all widget
widget/app-bar-top Import app bar top widget
widget/button Import button widget
widget/tab Import tab widget
widget/selection Import radio and check widget
widget/text-field 'Import text input widget
widget/card Import card widget
widget/list Import list widget

aokacss's People

Contributors

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