docs(README): Add eventual instructions for java

This commit is contained in:
Hamothy 2022-09-04 15:58:53 -07:00 committed by GitHub
parent 952e03013e
commit 9a45e09f4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@
- Development
- [Node Package](#node-package)
- [Java Library](#java-library)
- [CSS](#css)
- [Sass](#sass)
- [Tailwind CSS](https://github.com/catppuccin/tailwindcss) (separate repository)
@ -54,6 +55,31 @@ console.log(variants.latte.lavender.hex) // #7287FD
console.log(labels.base.macchiato.hex) // #24273A
```
### Java Library
**Maven**
```xml
<!-- https://mvnrepository.com/artifact/catppuccin/palette -->
<dependency>
<groupId>com.catppuccin</groupId>
<artifactId>palette</artifactId>
<version>VERSION</version>
</dependency>
```
**Gradle**
```gradle
repositories {
mavenCentral()
}
dependencies {
// https://mvnrepository.com/artifact/catppuccin/palette
implementation group: 'com.catppuccin', name: 'palette', version: 'VERSION'
}
```
### CSS
Import the palettes: