Skip to content

Commit 28c6335

Browse files
authored
Merge pull request #140 from daviehh/master
Catppuccin color scheme
2 parents 6754a72 + 766bddc commit 28c6335

File tree

3 files changed

+138
-0
lines changed

3 files changed

+138
-0
lines changed

data/catppuccin_scheme.jl

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
loadcolorscheme(:catppuccin_mocha, [
2+
RGB(0.9607843137254902, 0.8784313725490196, 0.8627450980392157),
3+
RGB(0.9764705882352941, 0.8862745098039215, 0.6862745098039216),
4+
RGB(0.803921568627451, 0.8392156862745098, 0.9568627450980393),
5+
RGB(0.9490196078431372, 0.803921568627451, 0.803921568627451),
6+
RGB(0.6509803921568628, 0.8901960784313725, 0.6313725490196078),
7+
RGB(0.5803921568627451, 0.8862745098039215, 0.8352941176470589),
8+
RGB(0.9607843137254902, 0.7607843137254902, 0.9058823529411765),
9+
RGB(0.5372549019607843, 0.8627450980392157, 0.9215686274509803),
10+
RGB(0.9803921568627451, 0.7019607843137254, 0.5294117647058824),
11+
RGB(0.7294117647058823, 0.7607843137254902, 0.8705882352941177),
12+
RGB(0.7058823529411765, 0.7450980392156863, 0.996078431372549),
13+
RGB(0.4549019607843137, 0.7803921568627451, 0.9254901960784314),
14+
RGB(0.796078431372549, 0.6509803921568628, 0.9686274509803922),
15+
RGB(0.9215686274509803, 0.6274509803921569, 0.6745098039215687),
16+
RGB(0.5372549019607843, 0.7058823529411765, 0.9803921568627451),
17+
RGB(0.6509803921568628, 0.6784313725490196, 0.7843137254901961),
18+
RGB(0.9529411764705882, 0.5450980392156862, 0.6588235294117647),
19+
RGB(0.5764705882352941, 0.6, 0.6980392156862745),
20+
RGB(0.4980392156862745, 0.5176470588235295, 0.611764705882353),
21+
RGB(0.4235294117647059, 0.4392156862745098, 0.5254901960784314),
22+
RGB(0.34509803921568627, 0.3568627450980392, 0.4392156862745098),
23+
RGB(0.27058823529411763, 0.2784313725490196, 0.35294117647058826),
24+
RGB(0.19215686274509805, 0.19607843137254902, 0.26666666666666666),
25+
RGB(0.11764705882352941, 0.11764705882352941, 0.1803921568627451),
26+
RGB(0.09411764705882353, 0.09411764705882353, 0.1450980392156863),
27+
RGB(0.06666666666666667, 0.06666666666666667, 0.10588235294117647),
28+
], "catppuccin", "")
29+
30+
loadcolorscheme(:catppuccin_latte, [
31+
RGB(0.9372549019607843, 0.9450980392156862, 0.9607843137254902),
32+
RGB(0.9019607843137255, 0.9137254901960784, 0.9372549019607843),
33+
RGB(0.8627450980392157, 0.8784313725490196, 0.9098039215686274),
34+
RGB(0.8, 0.8156862745098039, 0.8549019607843137),
35+
RGB(0.7372549019607844, 0.7529411764705882, 0.8),
36+
RGB(0.6745098039215687, 0.6901960784313725, 0.7450980392156863),
37+
RGB(0.611764705882353, 0.6274509803921569, 0.6901960784313725),
38+
RGB(0.8745098039215686, 0.5568627450980392, 0.11372549019607843),
39+
RGB(0.9176470588235294, 0.4627450980392157, 0.796078431372549),
40+
RGB(0.8627450980392157, 0.5411764705882353, 0.47058823529411764),
41+
RGB(0.01568627450980392, 0.6470588235294118, 0.8980392156862745),
42+
RGB(0.996078431372549, 0.39215686274509803, 0.043137254901960784),
43+
RGB(0.8666666666666667, 0.47058823529411764, 0.47058823529411764),
44+
RGB(0.12549019607843137, 0.6235294117647059, 0.7098039215686275),
45+
RGB(0.4470588235294118, 0.5294117647058824, 0.9921568627450981),
46+
RGB(0.5490196078431373, 0.5607843137254902, 0.6313725490196078),
47+
RGB(0.25098039215686274, 0.6274509803921569, 0.16862745098039217),
48+
RGB(0.09019607843137255, 0.5725490196078431, 0.6),
49+
RGB(0.9019607843137255, 0.27058823529411763, 0.3254901960784314),
50+
RGB(0.48627450980392156, 0.4980392156862745, 0.5764705882352941),
51+
RGB(0.11764705882352941, 0.4, 0.9607843137254902),
52+
RGB(0.4235294117647059, 0.43529411764705883, 0.5215686274509804),
53+
RGB(0.5333333333333333, 0.2235294117647059, 0.9372549019607843),
54+
RGB(0.8235294117647058, 0.058823529411764705, 0.2235294117647059),
55+
RGB(0.3607843137254902, 0.37254901960784315, 0.4666666666666667),
56+
RGB(0.2980392156862745, 0.30980392156862746, 0.4117647058823529),
57+
], "catppuccin", "")
58+
59+
loadcolorscheme(:catppuccin_frappe, [
60+
RGB(0.9490196078431372, 0.8352941176470589, 0.8117647058823529),
61+
RGB(0.7764705882352941, 0.8156862745098039, 0.9607843137254902),
62+
RGB(0.8980392156862745, 0.7843137254901961, 0.5647058823529412),
63+
RGB(0.9568627450980393, 0.7215686274509804, 0.8941176470588236),
64+
RGB(0.9333333333333333, 0.7450980392156863, 0.7450980392156863),
65+
RGB(0.6, 0.8196078431372549, 0.8588235294117647),
66+
RGB(0.6509803921568628, 0.8196078431372549, 0.5372549019607843),
67+
RGB(0.7098039215686275, 0.7490196078431373, 0.8862745098039215),
68+
RGB(0.7294117647058823, 0.7333333333333333, 0.9450980392156862),
69+
RGB(0.5058823529411764, 0.7843137254901961, 0.7450980392156863),
70+
RGB(0.5215686274509804, 0.7568627450980392, 0.8627450980392157),
71+
RGB(0.9372549019607843, 0.6235294117647059, 0.4627450980392157),
72+
RGB(0.792156862745098, 0.6196078431372549, 0.9019607843137255),
73+
RGB(0.9176470588235294, 0.6, 0.611764705882353),
74+
RGB(0.6470588235294118, 0.6784313725490196, 0.807843137254902),
75+
RGB(0.5490196078431373, 0.6666666666666666, 0.9333333333333333),
76+
RGB(0.9058823529411765, 0.5098039215686274, 0.5176470588235295),
77+
RGB(0.5803921568627451, 0.611764705882353, 0.7333333333333333),
78+
RGB(0.5137254901960784, 0.5450980392156862, 0.6549019607843137),
79+
RGB(0.45098039215686275, 0.4745098039215686, 0.5803921568627451),
80+
RGB(0.3843137254901961, 0.40784313725490196, 0.5019607843137255),
81+
RGB(0.3176470588235294, 0.3411764705882353, 0.42745098039215684),
82+
RGB(0.2549019607843137, 0.27058823529411763, 0.34901960784313724),
83+
RGB(0.18823529411764706, 0.20392156862745098, 0.27450980392156865),
84+
RGB(0.1607843137254902, 0.17254901960784313, 0.23529411764705882),
85+
RGB(0.13725490196078433, 0.14901960784313725, 0.20392156862745098),
86+
], "catppuccin", "")
87+
88+
loadcolorscheme(:catppuccin_macchiato, [
89+
RGB(0.9568627450980393, 0.8588235294117647, 0.8392156862745098),
90+
RGB(0.9333333333333333, 0.8313725490196079, 0.6235294117647059),
91+
RGB(0.792156862745098, 0.8274509803921568, 0.9607843137254902),
92+
RGB(0.9411764705882353, 0.7764705882352941, 0.7764705882352941),
93+
RGB(0.9607843137254902, 0.7411764705882353, 0.9019607843137255),
94+
RGB(0.6509803921568628, 0.8549019607843137, 0.5843137254901961),
95+
RGB(0.5686274509803921, 0.8431372549019608, 0.8901960784313725),
96+
RGB(0.5450980392156862, 0.8352941176470589, 0.792156862745098),
97+
RGB(0.7215686274509804, 0.7529411764705882, 0.8784313725490196),
98+
RGB(0.7176470588235294, 0.7411764705882353, 0.9725490196078431),
99+
RGB(0.49019607843137253, 0.7686274509803922, 0.8941176470588236),
100+
RGB(0.9607843137254902, 0.6627450980392157, 0.4980392156862745),
101+
RGB(0.7764705882352941, 0.6274509803921569, 0.9647058823529412),
102+
RGB(0.9333333333333333, 0.6, 0.6274509803921569),
103+
RGB(0.6470588235294118, 0.6784313725490196, 0.796078431372549),
104+
RGB(0.5411764705882353, 0.6784313725490196, 0.9568627450980393),
105+
RGB(0.9294117647058824, 0.5294117647058824, 0.5882352941176471),
106+
RGB(0.5764705882352941, 0.6039215686274509, 0.7176470588235294),
107+
RGB(0.5019607843137255, 0.5294117647058824, 0.6352941176470588),
108+
RGB(0.43137254901960786, 0.45098039215686275, 0.5529411764705883),
109+
RGB(0.3568627450980392, 0.3764705882352941, 0.47058823529411764),
110+
RGB(0.28627450980392155, 0.30196078431372547, 0.39215686274509803),
111+
RGB(0.21176470588235294, 0.22745098039215686, 0.30980392156862746),
112+
RGB(0.1411764705882353, 0.15294117647058825, 0.22745098039215686),
113+
RGB(0.11764705882352941, 0.12549019607843137, 0.18823529411764706),
114+
RGB(0.09411764705882353, 0.09803921568627451, 0.14901960784313725),
115+
], "catppuccin", "")
116+

data/catppuccinlicense.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Catppuccin
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

src/ColorSchemes.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ function loadallschemes()
141141
include(joinpath(datadir, "ghibli.jl"))
142142
include(joinpath(datadir, "feathers.jl"))
143143
include(joinpath(datadir, "progress.jl"))
144+
include(joinpath(datadir, "catppuccin_scheme.jl"))
144145

145146
# create them as constants...
146147
for key in keys(colorschemes)

0 commit comments

Comments
 (0)