A Package for using Colors in your User Interace with colors used by apple
npm install apple-colorsColor API functions.apple-colors is supported mostly across all Javascript Frameworks and libraries.sh
npm i @haneenmahd/apple-colors
`
Using yarn
`sh
yard add @haneenmahd/apple-colors
`Usage
Using Colors on Your Web App
Probably in this case we Have both Light and Dark Mode Colors For You.For Eg :-
-
Using with Styled Components`js
import { Colors } from "apple-colors";const Button = styled.button
;
`-
Using with React inline Styling
`js
const MyColor = () => Using Apple Colors
;
`There are Colors on these Platforms too...
- MacOS
- iOS
- WatchOS(This contains the most colors);$3
- mixUp: a simple function to mix colors and turn them into gradients so easily.
`js
import { Color } from "apple-colors"; const color = Color.mixUp(["#fff", / More colors here /], 20 / rotation degree /)
`Developer
- @HaneenMahdin on Twitter🐥
- @haneenmahdin on InstagramGive us a star 🌟 on GitHub
LICENSE
Apple Colors is licensed under MIT` License.