@hackcove/theme-catppuccin-mocha 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +28 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/theme.css +38 -0
package/LICENSE
CHANGED
|
@@ -19,3 +19,31 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
The Catppuccin Mocha palette used by theme.css is from Catppuccin
|
|
27
|
+
(https://github.com/catppuccin/catppuccin) and is reproduced under its MIT license:
|
|
28
|
+
|
|
29
|
+
MIT License
|
|
30
|
+
|
|
31
|
+
Copyright (c) 2021 Catppuccin
|
|
32
|
+
|
|
33
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
34
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
35
|
+
in the Software without restriction, including without limitation the rights
|
|
36
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
37
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
38
|
+
furnished to do so, subject to the following conditions:
|
|
39
|
+
|
|
40
|
+
The above copyright notice and this permission notice shall be included in all
|
|
41
|
+
copies or substantial portions of the Software.
|
|
42
|
+
|
|
43
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
44
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
45
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
46
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
47
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
48
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
49
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ The Catppuccin Mocha dark theme for Hack Cove. One CSS file, `theme.css`: it dec
|
|
|
4
4
|
class-based `dark` variant and, under `.dark`, remaps the Tailwind slate/colour utilities that
|
|
5
5
|
`@hackcove/ui` is written against to real Mocha tokens. It also ships a `.link` class.
|
|
6
6
|
|
|
7
|
-
Status: `0.x`,
|
|
7
|
+
Status: `0.x`, published to npm. License: MIT.
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hackcove/theme-catppuccin-mocha",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "The Catppuccin Mocha dark theme for Hack Cove: one CSS file that remaps the Tailwind utilities @hackcove/ui is written against.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
package/theme.css
CHANGED
|
@@ -60,6 +60,9 @@
|
|
|
60
60
|
.dark .text-slate-400 {
|
|
61
61
|
color: #9399b2; /* overlay2 — legible muted/headers */
|
|
62
62
|
}
|
|
63
|
+
.dark .placeholder\:text-slate-400::placeholder {
|
|
64
|
+
color: #7f849c; /* overlay1 */
|
|
65
|
+
}
|
|
63
66
|
|
|
64
67
|
/* Borders */
|
|
65
68
|
.dark .border-slate-100 {
|
|
@@ -96,6 +99,35 @@
|
|
|
96
99
|
background-color: #585b70; /* surface2 */
|
|
97
100
|
}
|
|
98
101
|
|
|
102
|
+
/* Accent: buttons, focus, controls */
|
|
103
|
+
.dark .bg-violet-600 {
|
|
104
|
+
background-color: #cba6f7; /* mauve */
|
|
105
|
+
}
|
|
106
|
+
.dark .hover\:bg-violet-700:hover {
|
|
107
|
+
background-color: #b4befe; /* lavender */
|
|
108
|
+
}
|
|
109
|
+
.dark .text-violet-50 {
|
|
110
|
+
color: #11111b; /* crust — text on the mauve button */
|
|
111
|
+
}
|
|
112
|
+
.dark .hover\:text-violet-700:hover {
|
|
113
|
+
color: #b4befe; /* lavender */
|
|
114
|
+
}
|
|
115
|
+
.dark .hover\:bg-violet-50:hover {
|
|
116
|
+
background-color: rgba(203, 166, 247, 0.14); /* mauve tint */
|
|
117
|
+
}
|
|
118
|
+
.dark .border-violet-600 {
|
|
119
|
+
border-color: #cba6f7; /* mauve */
|
|
120
|
+
}
|
|
121
|
+
.dark .hover\:border-violet-400:hover {
|
|
122
|
+
border-color: rgba(203, 166, 247, 0.5);
|
|
123
|
+
}
|
|
124
|
+
.dark .focus-visible\:outline-violet-600:focus-visible {
|
|
125
|
+
outline-color: #cba6f7; /* mauve */
|
|
126
|
+
}
|
|
127
|
+
.dark .accent-violet-600 {
|
|
128
|
+
accent-color: #cba6f7; /* mauve */
|
|
129
|
+
}
|
|
130
|
+
|
|
99
131
|
/* Hover states */
|
|
100
132
|
.dark .hover\:bg-slate-50:hover {
|
|
101
133
|
background-color: #262739;
|
|
@@ -133,6 +165,8 @@
|
|
|
133
165
|
.dark .text-amber-900 {
|
|
134
166
|
color: #f9e2af; /* yellow */
|
|
135
167
|
}
|
|
168
|
+
.dark .text-red-700,
|
|
169
|
+
.dark .text-red-800,
|
|
136
170
|
.dark .text-red-900 {
|
|
137
171
|
color: #f38ba8; /* red */
|
|
138
172
|
}
|
|
@@ -150,9 +184,13 @@
|
|
|
150
184
|
.dark .border-emerald-300 {
|
|
151
185
|
border-color: rgba(166, 227, 161, 0.4);
|
|
152
186
|
}
|
|
187
|
+
.dark .border-amber-200,
|
|
153
188
|
.dark .border-amber-300 {
|
|
154
189
|
border-color: rgba(249, 226, 175, 0.4);
|
|
155
190
|
}
|
|
191
|
+
.dark .border-red-200 {
|
|
192
|
+
border-color: rgba(243, 139, 168, 0.45);
|
|
193
|
+
}
|
|
156
194
|
.dark .border-red-300,
|
|
157
195
|
.dark .border-red-400 {
|
|
158
196
|
border-color: rgba(243, 139, 168, 0.45);
|