@hackcove/theme-thrifty-paper 0.1.3 → 0.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/theme.css +26 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hackcove/theme-thrifty-paper",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "The Thrifty Paper light theme for Hack Cove: one CSS file that remaps the Tailwind utilities @hackcove/ui is written against.",
5
5
  "keywords": [
6
6
  "design-system",
package/theme.css CHANGED
@@ -125,10 +125,30 @@
125
125
  .thrifty-paper .focus-visible\:outline-violet-600:focus-visible {
126
126
  outline-color: #c2410c; /* accent */
127
127
  }
128
+ .thrifty-paper .has-focus-visible\:outline-violet-600:has(:focus-visible) {
129
+ outline-color: #c2410c; /* accent */
130
+ }
128
131
  .thrifty-paper .accent-violet-600 {
129
132
  accent-color: #c2410c; /* accent */
130
133
  }
131
134
 
135
+ /* Danger button (Button tone="danger"): solid, outline and ghost */
136
+ .thrifty-paper .bg-red-600 {
137
+ background-color: #b91c1c; /* danger */
138
+ }
139
+ .thrifty-paper .hover\:bg-red-700:hover {
140
+ background-color: #991b1b; /* danger-hover */
141
+ }
142
+ .thrifty-paper .text-red-50 {
143
+ color: #ffffff; /* text on the danger button */
144
+ }
145
+ .thrifty-paper .border-red-600 {
146
+ border-color: #b91c1c; /* danger */
147
+ }
148
+ .thrifty-paper .hover\:bg-red-50:hover {
149
+ background-color: #fef2f2; /* danger-soft */
150
+ }
151
+
132
152
  /* Avatar identity colours — violet-600 is the accent above; the rest sit on the theme. */
133
153
  .thrifty-paper .bg-orange-600 {
134
154
  background-color: #8c5a2b; /* brown */
@@ -174,6 +194,9 @@
174
194
  .thrifty-paper .bg-violet-50 {
175
195
  background-color: #fdf5f0; /* accent-soft */
176
196
  }
197
+ .thrifty-paper .bg-sky-50 {
198
+ background-color: #eff6fa; /* steel blue, soft */
199
+ }
177
200
  .thrifty-paper .bg-red-50 {
178
201
  background-color: #fef2f2; /* danger-soft */
179
202
  }
@@ -198,6 +221,9 @@
198
221
  .thrifty-paper .text-violet-700 {
199
222
  color: #9a3412; /* accent-hover */
200
223
  }
224
+ .thrifty-paper .text-sky-700 {
225
+ color: #1e6a8f; /* steel blue */
226
+ }
201
227
  .thrifty-paper .text-red-700,
202
228
  .thrifty-paper .text-red-800,
203
229
  .thrifty-paper .text-red-900 {