@orangecheck/design 0.20.0 → 0.22.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/README.md +29 -8
- package/dist/chrome.d.mts +1 -1
- package/dist/chrome.d.ts +1 -1
- package/dist/chrome.js +16 -0
- package/dist/chrome.js.map +1 -1
- package/dist/chrome.mjs +16 -0
- package/dist/chrome.mjs.map +1 -1
- package/dist/components.js +17 -1
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +17 -1
- package/dist/components.mjs.map +1 -1
- package/dist/composites.js +1 -1
- package/dist/composites.js.map +1 -1
- package/dist/composites.mjs +1 -1
- package/dist/composites.mjs.map +1 -1
- package/dist/index.js +24 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -8
- package/dist/index.mjs.map +1 -1
- package/dist/styles/theme.css +8 -4
- package/dist/styles/themes/ember.css +18 -3
- package/dist/styles/themes/orangecheck.css +6 -6
- package/dist/styles/themes.css +4 -3
- package/dist/tokens.d.mts +1 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.js +7 -7
- package/dist/tokens.js.map +1 -1
- package/dist/tokens.mjs +7 -7
- package/dist/tokens.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -30,6 +30,12 @@ function cn(...inputs) {
|
|
|
30
30
|
|
|
31
31
|
// src/tokens/themes.ts
|
|
32
32
|
var OC_THEMES = [
|
|
33
|
+
{
|
|
34
|
+
id: "ember",
|
|
35
|
+
label: "ember",
|
|
36
|
+
description: "the warmth \u2014 burnt-sienna terracotta, soft 1rem corners, pill buttons, Hanken Grotesk \xB7 approachable, human",
|
|
37
|
+
accent: "#da6736"
|
|
38
|
+
},
|
|
33
39
|
{
|
|
34
40
|
id: "orangecheck",
|
|
35
41
|
label: "orangecheck",
|
|
@@ -53,19 +59,13 @@ var OC_THEMES = [
|
|
|
53
59
|
label: "gold",
|
|
54
60
|
description: "sound money \u2014 digital gold, hard 0.125rem milled edge, mono ledger \xB7 21M",
|
|
55
61
|
accent: "#e3b831"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
id: "ember",
|
|
59
|
-
label: "ember",
|
|
60
|
-
description: "the warmth \u2014 burnt-sienna terracotta, soft 1rem corners, pill buttons, Hanken Grotesk \xB7 approachable, human",
|
|
61
|
-
accent: "#da6736"
|
|
62
62
|
}
|
|
63
63
|
];
|
|
64
64
|
var OC_DEFAULT_ACCENT = "#f97316";
|
|
65
65
|
function accentFor(id) {
|
|
66
66
|
return OC_THEMES.find((t) => t.id === id)?.accent ?? OC_DEFAULT_ACCENT;
|
|
67
67
|
}
|
|
68
|
-
var DEFAULT_OC_THEME = "
|
|
68
|
+
var DEFAULT_OC_THEME = "ember";
|
|
69
69
|
function isKnownTheme(id) {
|
|
70
70
|
return !!id && OC_THEMES.some((t) => t.id === id);
|
|
71
71
|
}
|
|
@@ -2607,7 +2607,7 @@ function TwoToneHeading({
|
|
|
2607
2607
|
}) {
|
|
2608
2608
|
const Tag = as ?? "h2";
|
|
2609
2609
|
const leadColor = tone === "onBrand" ? "text-primary-foreground" : "text-foreground";
|
|
2610
|
-
const mutedColor = tone === "onBrand" ? "text-primary-foreground/
|
|
2610
|
+
const mutedColor = tone === "onBrand" ? "text-primary-foreground/75" : "text-foreground/40";
|
|
2611
2611
|
return /* @__PURE__ */ jsxs(
|
|
2612
2612
|
Tag,
|
|
2613
2613
|
{
|
|
@@ -3020,6 +3020,13 @@ var ENTRIES = [
|
|
|
3020
3020
|
sub: "cofound \u2014 get behind builders",
|
|
3021
3021
|
docsHref: "https://docs.ochk.io/cosign"
|
|
3022
3022
|
},
|
|
3023
|
+
{
|
|
3024
|
+
slug: "btc",
|
|
3025
|
+
href: "https://btc.ochk.io",
|
|
3026
|
+
label: "oc\xB7btc",
|
|
3027
|
+
sub: "read \u2014 bitcoin desk",
|
|
3028
|
+
docsHref: "https://btc.ochk.io/data"
|
|
3029
|
+
},
|
|
3023
3030
|
{
|
|
3024
3031
|
slug: "attest",
|
|
3025
3032
|
href: "https://attest.ochk.io",
|
|
@@ -3240,6 +3247,15 @@ var FAMILY_PROPERTIES = [
|
|
|
3240
3247
|
docsHref: "https://docs.ochk.io/cosign",
|
|
3241
3248
|
category: "product"
|
|
3242
3249
|
},
|
|
3250
|
+
{
|
|
3251
|
+
slug: "btc",
|
|
3252
|
+
origin: "https://btc.ochk.io",
|
|
3253
|
+
hostname: "btc.ochk.io",
|
|
3254
|
+
label: "oc\xB7btc",
|
|
3255
|
+
sub: "read \u2014 bitcoin desk",
|
|
3256
|
+
docsHref: "https://btc.ochk.io/data",
|
|
3257
|
+
category: "product"
|
|
3258
|
+
},
|
|
3243
3259
|
{
|
|
3244
3260
|
slug: "attest",
|
|
3245
3261
|
origin: "https://attest.ochk.io",
|