@hackcove/theme-catppuccin-mocha 0.2.3 → 0.2.4
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/README.md +3 -2
- package/package.json +19 -1
- package/theme.css +4 -1
package/README.md
CHANGED
|
@@ -22,8 +22,9 @@ In your global stylesheet, after Tailwind:
|
|
|
22
22
|
@import "@hackcove/theme-catppuccin-mocha/theme.css";
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
Put `class="dark"` on `<html>`. The
|
|
26
|
-
|
|
25
|
+
Put `class="dark"` on `<html>`. The scope paints the mantle canvas (`#181825`), so the base-coloured
|
|
26
|
+
cards lift off it and the app needs no page-background rule of its own. The rules are unlayered, so
|
|
27
|
+
they override Tailwind's layered utilities.
|
|
27
28
|
|
|
28
29
|
## Palette and attribution
|
|
29
30
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hackcove/theme-catppuccin-mocha",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
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
|
+
"keywords": [
|
|
6
|
+
"catppuccin",
|
|
7
|
+
"dark-mode",
|
|
8
|
+
"design-system",
|
|
9
|
+
"hackcove",
|
|
10
|
+
"mocha",
|
|
11
|
+
"tailwind",
|
|
12
|
+
"tailwindcss",
|
|
13
|
+
"theme"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/madangryscientist/hackcove/tree/main/themes/catppuccin-mocha#readme",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/madangryscientist/hackcove/issues"
|
|
18
|
+
},
|
|
5
19
|
"license": "MIT",
|
|
20
|
+
"author": {
|
|
21
|
+
"name": "Jacobus Langner",
|
|
22
|
+
"url": "https://github.com/madangryscientist"
|
|
23
|
+
},
|
|
6
24
|
"repository": {
|
|
7
25
|
"type": "git",
|
|
8
26
|
"url": "git+https://github.com/madangryscientist/hackcove.git",
|
package/theme.css
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
.dark {
|
|
25
25
|
color-scheme: dark;
|
|
26
|
+
background-color: #181825; /* mantle — the canvas the base-coloured cards lift off */
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
/* Surfaces — cards (base) lift off the mantle canvas. */
|
|
@@ -229,7 +230,9 @@
|
|
|
229
230
|
border-color: rgba(137, 180, 250, 0.4);
|
|
230
231
|
}
|
|
231
232
|
|
|
232
|
-
/* Inline links — Mocha mauve (green is reserved for positive values).
|
|
233
|
+
/* Inline links — Mocha mauve (green is reserved for positive values). Alias of @hackcove/ui's
|
|
234
|
+
TextLink (text-violet-600, hover:text-violet-700, remapped above), kept for consumers that still
|
|
235
|
+
write class="link" on a bare <a>. */
|
|
233
236
|
.link {
|
|
234
237
|
color: #cba6f7; /* mauve */
|
|
235
238
|
font-weight: 500;
|