@@ -53,24 +53,24 @@ package com.catppuccin;
5353
5454public class Main {
5555 public static void main (String [] args ) {
56- String mocha = Palette . MOCHA. getName (); // mocha
57- String mochaBaseHex = Palette . MOCHA. getBase (). getHex (); // 1e1e2e
58- int [] mochaBaseRGB = Palette . MOCHA. getBase (). getRGBComponents (); // [30, 30, 46]
56+ String mocha = Palette . MOCHA. name (); // mocha
57+ String mochaBaseHex = Palette . MOCHA. base (). hex (); // 1e1e2e
58+ int [] mochaBaseRGB = Palette . MOCHA. base (). components (); // [30, 30, 46]
5959
6060 // loop through just frappé
6161 for (Pair<String , Color > colourPair : Palette . FRAPPE. toList()) {
62- String name = colourPair. getKey ();
63- Color colour = colourPair. getValue ();
64- System . out. println(name + " : " + colour. getHex ());
62+ String name = colourPair. key ();
63+ Color colour = colourPair. value ();
64+ System . out. println(name + " : " + colour. hex ());
6565 }
6666
6767 // loop through every colour
6868 for (Flavour flavour : Palette . toList()) {
69- System . out. println(" Flavour: " + flavour. getName ());
69+ System . out. println(" Flavour: " + flavour. name ());
7070 for (Pair<String , Color > colourPair : flavour. toList()) {
71- String name = colourPair. getKey ();
72- Color colour = colourPair. getValue ();
73- System . out. println(name + " : " + colour. getHex ());
71+ String name = colourPair. key ();
72+ Color colour = colourPair. value ();
73+ System . out. println(name + " : " + colour. hex ());
7474 }
7575 }
7676 }
@@ -82,35 +82,10 @@ public class Main {
8282If you are looking to contribute, please read through our
8383[ CONTRIBUTING.md] ( https://github.com/catppuccin/.github/blob/main/CONTRIBUTING.md ) first!
8484
85- ### Development
86-
87- This project uses the build tool [ Maven] ( https://maven.apache.org/ ) from the java ecosystem. It is * highly* recommended
88- to develop using [ Intellij IDEA] ( https://www.jetbrains.com/idea/ ) as it will allow you to take advantage of its
89- integration with maven tooling.
90-
91- The project can be built using the command:
92-
93- ``` shell
94- ./mvnw clean package
95- ```
96-
97- and running tests is as simple as:
98-
99- ``` shell
100- ./mvnw test
101- ```
102-
103- A great 5-minute introduction to Maven can be
104- found [ here] ( https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html ) .
105-
106- ### CI / CD
107-
108- This project has a GitHub actions workflow to automatically build binaries and deploy to maven central. The workflows
109- are stored at [ .github/workflows] ( .github/workflows )
110-
11185## 💝 Thanks to
11286
11387- [ Hamothy] ( https://github.com/sgoudham )
88+ - [ nullishamy] ( https://github.com/nullishamy )
11489
11590  ;
11691
0 commit comments