any-colour-you-like

[![alt](https://raw.githubusercontent.com/allangomessl/any-colour-you-like/master/static/full-logo.png)](https://allangomessl.github.io/any-colour-you-like)

Usage no npm install needed!

<script type="module">
  import anyColourYouLike from 'https://cdn.skypack.dev/any-colour-you-like';
</script>

README

Any Colour You Like

alt

:warning: THIS PROJECT IS UNDER DEVELOPMENT: we don't recommend its use in production yet!

NPM version



DOCUMENTATION HERE



Why?

  • Write less do more, without miss flexiblity
  • This Library has a proporse to be simple of use
  • Who uses doesn't need write a custom css for simple custom or position



How to Install

# NPM
npm i any-colour-you-like

# YARN
yarn add any-colour-you-like



Configure


Routing

If you use any Router like react-router you can do setup below to use Routing in your components

import { Link } from 'any-colour-you-like';
import { Link as RouterLink } from 'react-router-dom';

Link.initialize(RouterLink);

// and after

<Link to="path" /> // render as Router Link
<Button to="path" /> // render as Router Link
<Button href="path" /> // render as normal anchor
  



Icons

This Library uses FortAwesome to render icons and you need to specify which you want in you index, App or whatever file

import { library } from '@fortawesome/fontawesome-svg-core'
import { faPlus } from '@fortawesome/free-solid-svg-icons'

library.add(faPlus)

// or if you want all free solid svg icons

import { fas } from '@fortawesome/free-solid-svg-icons'
library.add(fas)