Skip to content

khalid32/UI-Flat-Colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UI-Flat-Colors

npm version license

This simple package is a collection of 280 colors from https://flatuicolors.com/ to use it on react-native.

Installation

Using npm:

npm install --save ui-flat-colors
# or
yarn add ui-flat-colors

Bundled Icon Sets

Usage

Here Its focus on rgba() format to control opacity.

import { British } from 'ui-flat-colors';
// or
import { Canadian, Russian } from 'ui-flat-colors';

For example, you can invoke functions as American().black where opacity is by default 1 when argument is blank.

backgroundColor: American().black,

You don't need to put floating number; just place a number range [0, 9] to control opacity.

American(8).black

Component Naming:

FlatUI() Palette v1:

Flat_UI_palette_v1

cyan green blue lightGray black
darkCyan darkGreen darkBlue white darkBlack
yellow orange red purple gray
darkYellow darkOrange darkRed darkPurple darkGray

American() Palette:

American_Palette

lightGreen lightSky lightBlue lightPurple white
green sky blue purple gray
lightYellow lightOrange lightRed lightPink darkGray
yellow orange red pink black

Aussie() Palette:

Aussie_Palette

lightYellow lightOrange lightRed lightGreen white
yellow orange red green gray
lightSky lightPink lightBlue deepBlue darkGray
sky pink blue deepDarkBlue black

British() Palette:

British_Palette

lightSky lightPurple lightYellow green blue
sky purple yellow darkGreen navalBlue
lightRed white grayBlue deepBlue blackOne
red darkWhite darkGrayBlue deepDarkBlue blackTwo

Canadian() Palette:

Canadian_palette

lightPink lightYellow lightRed lightSky lightGreen
pink yellow red sky green
lightCyan lightBlue lightPurple white gray
cyan blue purple lightGray black

Chinese() Palette:

Chinese_Palette

lightOrange lightRed lightPink lightGray darkGray
orange red pink gray black
lightGreen lightSky lightBlue lightWhite darkWhite
green sky blue white darkerWhite

Dutch() Palette:

Dutch_Palette

lighterOrange lighterGreen lightSky lighterPink pink
lightOrange lightGreen lightCyan lightPink darkPink
orange green sky lightPurple purple
red cyan darkBlue darkPurple darkerPurple

French() Palette:

French_Palette

lightYellow lightRed lightBlue lightSky lightGreen
yellow red blue sky green
lightOrange darkRed darkBlue darkSky lightCyan
orange pink darkerBlue darkerSky cyan

German() Palette:

German_Palette

lightRed lightOrange lightYellow lightGreen lightCyan
red orange yellow green cyan
lightSky lightBlue lightPurple white darkGray
sky blue purple lightGray black

Indian() Palette:

Indian_Palette

lightOrange lightSky yellow cyan white
orange sky lightYellow darkCyan black
darkPink blue lightPink lightCyan lightPurple
darkerPink darkBlue pink grayYellow purple

Russian() Palette:

Russian_Palette

lightOrange lightYellow lightBlue lightRed darkPink
orange yellow blue red darkerPink
lightPurple lighterPink lightSky pinker gray
purple lightPink sky pink black

Spanish() Palette:

Spanish_Palette

lightOrange lightBlue white lightSky lightGreen
orange blue darkGray sky green
lightRed darkBlue lightGray yellow lightYellow
red darkerBlue black darkYellow grayYellow

Swedish() Palette

Swedish_Palette

lightPink lightBlue lightSky lightCyan lightGreen
pink blue sky cyan green
lightOrange lightYellow lightRed white darkGray
orange yellow red gray black

Turkish() Palette

Turkish_Palette

lightPurple lightPink lightRed lightOrange lightYellow
purple pink red orange yellow
lightGreen lightSky lightCyan lightBlue gray
green sky cyan blue black

About

This simple package is a collection of 280 colors from https://flatuicolors.com/ to use it on react-native.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published