2022-01-10 03:58:46 +00:00
|
|
|
<h3 align="center">
|
2022-06-20 18:57:35 +01:00
|
|
|
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/logos/exports/1544x1544_circle.png" width="100" alt="Logo"/><br/>
|
|
|
|
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
|
2022-01-15 06:57:14 +00:00
|
|
|
Catppuccin Palettes
|
2022-06-20 18:57:35 +01:00
|
|
|
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
|
2022-01-10 03:58:46 +00:00
|
|
|
</h3>
|
|
|
|
|
2021-11-07 04:16:09 +00:00
|
|
|
<p align="center">
|
2022-06-20 23:31:05 +01:00
|
|
|
<a href="https://github.com/catppuccin/palette/stargazers"><img src="https://img.shields.io/github/stars/catppuccin/palette?colorA=363a4f&colorB=b7bdf8&style=for-the-badge"></a>
|
2022-06-20 18:57:35 +01:00
|
|
|
<a href="https://github.com/catppuccin/palette/issues"><img src="https://img.shields.io/github/issues/catppuccin/palette?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
|
|
|
|
<a href="https://github.com/catppuccin/palette/contributors"><img src="https://img.shields.io/github/contributors/catppuccin/palette?colorA=363a4f&colorB=a6da95&style=for-the-badge"></a>
|
2021-11-07 04:16:09 +00:00
|
|
|
</p>
|
|
|
|
|
2021-11-12 02:03:47 +00:00
|
|
|
<p align="center">
|
2022-06-20 18:57:35 +01:00
|
|
|
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/sample.png"/>
|
2021-11-12 02:03:47 +00:00
|
|
|
</p>
|
2021-11-11 16:50:36 +00:00
|
|
|
|
2021-12-22 17:32:26 +00:00
|
|
|
## Available formats
|
2021-12-12 00:05:05 +00:00
|
|
|
|
2022-08-06 22:41:09 +01:00
|
|
|
- Development
|
|
|
|
- [Node Package](#node-package)
|
|
|
|
- [CSS](#css)
|
|
|
|
- [Sass](#sass)
|
|
|
|
- [Tailwind CSS](https://github.com/catppuccin/tailwindcss) (separate repository)
|
2022-10-31 01:49:21 +00:00
|
|
|
- [Rust](https://github.com/catppuccin/rust) (separate repository)
|
2022-08-06 22:41:09 +01:00
|
|
|
- Design
|
|
|
|
- [Affinity](#affinity)
|
|
|
|
- [Aseprite / LibreSprite](#aseprite)
|
|
|
|
- [Gimp](#gimp)
|
|
|
|
- [Inkscape](#inkscape)
|
|
|
|
- [Krita](#krita)
|
|
|
|
- Colour pickers
|
|
|
|
- [macOS Color Picker](#macos-color-picker)
|
|
|
|
- [Sip](#sip)
|
|
|
|
- Reference
|
|
|
|
- [PNG](#png)
|
2021-12-12 00:05:05 +00:00
|
|
|
|
2021-11-07 04:16:09 +00:00
|
|
|
## Usage
|
|
|
|
|
2022-05-16 01:26:37 +01:00
|
|
|
### Node Package
|
|
|
|
|
2022-08-06 22:41:09 +01:00
|
|
|
```bash
|
|
|
|
# npm
|
2022-05-16 01:26:37 +01:00
|
|
|
npm install @catppuccin/palette
|
2022-08-06 22:41:09 +01:00
|
|
|
# yarn
|
|
|
|
yarn add @catppuccin/palette
|
2022-05-16 01:26:37 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
Example: `test.js`
|
|
|
|
|
|
|
|
```js
|
2022-05-16 02:43:14 +01:00
|
|
|
import {variants, labels} from '@catppuccin/palette'
|
2022-05-16 01:26:37 +01:00
|
|
|
|
2022-05-21 19:03:16 +01:00
|
|
|
console.log(variants.latte.lavender.hex) // #7287FD
|
|
|
|
console.log(labels.base.macchiato.hex) // #24273A
|
2022-05-16 01:26:37 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
### CSS
|
|
|
|
|
2022-06-11 04:27:38 +01:00
|
|
|
Import the palettes:
|
2022-05-16 01:26:37 +01:00
|
|
|
|
2022-05-16 01:27:33 +01:00
|
|
|
```css
|
2022-08-09 12:18:34 +01:00
|
|
|
/* directly from the file */
|
2022-12-06 06:49:16 +00:00
|
|
|
@import "@catppuccin/palette/style";
|
2022-08-09 12:18:34 +01:00
|
|
|
/* or using unpkg.com */
|
|
|
|
@import url('https://unpkg.com/@catppuccin/palette@0.1.4/css/catppuccin.css');
|
2022-06-11 04:27:38 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
Then use them:
|
2022-05-16 01:26:37 +01:00
|
|
|
|
2022-06-11 04:27:38 +01:00
|
|
|
```css
|
2022-05-16 01:26:37 +01:00
|
|
|
body {
|
|
|
|
color: var(--ctp-mocha-text);
|
|
|
|
background: var(--ctp-frappe-base);
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2022-08-06 22:26:02 +01:00
|
|
|
### Sass
|
|
|
|
|
|
|
|
The usage instructions for Sass are documented [here](https://github.com/catppuccin/palette/tree/main/scss), in the `scss` folder.
|
|
|
|
|
2022-08-09 12:18:34 +01:00
|
|
|
### Affinity
|
|
|
|
|
|
|
|
1. Clone this repository locally
|
|
|
|
2. Open a file in the `afpalette` folder. If you have multiple Affinity products
|
|
|
|
installed, you can choose to import it as a System palette
|
|
|
|
|
|
|
|
### Aseprite / LibreSprite
|
|
|
|
|
|
|
|
1. Clone this repository locally
|
|
|
|
2. Open Palette Options
|
|
|
|
3. Select "Load Palette" from the menu
|
|
|
|
4. Open a file in `gpl/` in the dialog that appears
|
|
|
|
|
2021-12-12 00:05:05 +00:00
|
|
|
### Gimp
|
|
|
|
|
2021-11-11 14:06:45 +00:00
|
|
|
1. Clone this repository locally
|
2021-12-14 22:17:12 +00:00
|
|
|
2. Navigate to Edit > Preferences > Folders > Palettes in GIMP
|
2021-12-12 00:54:18 +00:00
|
|
|
3. Select the folder with the 'x' and press "Show file location in the file manager" (the rightmost button)
|
2022-08-05 12:20:08 +01:00
|
|
|
4. Copy the files in `gpl/` to this folder
|
2021-11-07 04:16:09 +00:00
|
|
|
|
2021-12-14 22:17:12 +00:00
|
|
|
### Inkscape
|
|
|
|
|
|
|
|
1. Clone this repository locally
|
|
|
|
2. Navigate to Edit > Preferences > System > User palettes in Inkscape
|
|
|
|
3. Press the "Open" button next to the folder path
|
2022-08-05 12:20:08 +01:00
|
|
|
4. Copy the files in `gpl/` to this folder
|
2021-12-14 22:17:12 +00:00
|
|
|
|
2022-08-09 12:18:34 +01:00
|
|
|
### Krita
|
2021-12-22 17:32:26 +00:00
|
|
|
|
2022-08-05 12:20:08 +01:00
|
|
|
1. Clone this repository locally
|
2022-08-09 12:18:34 +01:00
|
|
|
2. Navigate to Settings > Dockers > Palette in Krita
|
|
|
|
3. Open the "Choose Palette" button in the bottom left corner of Palette docker
|
|
|
|
4. Select "Import a new palette from file"
|
|
|
|
5. Open a file in `gpl/` in the dialog that appears
|
2022-08-05 12:20:08 +01:00
|
|
|
|
|
|
|
### macOS Color Picker
|
|
|
|
1. Clone this repository locally
|
|
|
|
2. `cd` into the repo directory
|
|
|
|
3. Run the following command in terminal, to copy the files into the library:
|
|
|
|
```bash
|
|
|
|
cp -r clr/* ~/Library/Colors
|
|
|
|
```
|
|
|
|
|
2022-08-09 12:18:34 +01:00
|
|
|
### Sip
|
|
|
|
1. Clone this repository locally
|
|
|
|
2. Open the `sip/` folder
|
|
|
|
3. Open the `.palette` files, and Sip will import the palettes
|
|
|
|
|
2021-11-11 17:04:23 +00:00
|
|
|
## 💝 Thanks to
|
2021-11-11 16:56:49 +00:00
|
|
|
|
2021-12-12 00:54:18 +00:00
|
|
|
- [Gingeh](https://github.com/gingeh)
|
2021-12-22 17:32:26 +00:00
|
|
|
- [TheExistingOne](https://github.com/TheExistingOne)
|
2022-01-16 23:25:43 +00:00
|
|
|
- [Andreas Grafen](https://github.com/andreasgrafen)
|
2022-05-16 01:37:03 +01:00
|
|
|
- [Pocco81](https://github.com/Pocco81)
|
2022-08-05 12:20:08 +01:00
|
|
|
- [winston](https://github.com/nekowinston)
|
2022-02-02 03:19:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2022-06-20 18:57:35 +01:00
|
|
|
<p align="center"><img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true" /></p>
|
2022-05-16 01:39:57 +01:00
|
|
|
<p align="center">Copyright © 2021-present <a href="https://github.com/catppuccin" target="_blank">Catppuccin Org</a>
|
2022-06-20 19:20:31 +01:00
|
|
|
<p align="center"><a href="https://github.com/catppuccin/catppuccin/blob/main/LICENSE"><img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&logoColor=d9e0ee&colorA=363a4f&colorB=b7bdf8"/></a></p>
|