@tuwaio/docs-ui 0.5.4 → 0.5.5
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/dist/components/Orb.cjs
CHANGED
|
@@ -38,20 +38,20 @@ var import_react = __toESM(require("react"), 1);
|
|
|
38
38
|
const packageColors = {
|
|
39
39
|
siwx: "#10b981",
|
|
40
40
|
orbit: "#0d9488",
|
|
41
|
-
satellite: "#
|
|
41
|
+
satellite: "#0052ff",
|
|
42
42
|
pulsar: "#f59e0b",
|
|
43
|
-
quasar: "#
|
|
44
|
-
nova: "#
|
|
45
|
-
sdk: "#
|
|
43
|
+
quasar: "#2563eb",
|
|
44
|
+
nova: "#0284c7",
|
|
45
|
+
sdk: "#1d4ed8"
|
|
46
46
|
};
|
|
47
47
|
const packageTints = {
|
|
48
48
|
siwx: "rgba(16,185,129,0.12)",
|
|
49
49
|
orbit: "rgba(13,148,136,0.12)",
|
|
50
|
-
satellite: "rgba(
|
|
50
|
+
satellite: "rgba(0,82,255,0.12)",
|
|
51
51
|
pulsar: "rgba(245,158,11,0.12)",
|
|
52
|
-
quasar: "rgba(
|
|
53
|
-
nova: "rgba(
|
|
54
|
-
sdk: "rgba(
|
|
52
|
+
quasar: "rgba(37,99,235,0.12)",
|
|
53
|
+
nova: "rgba(2,132,199,0.12)",
|
|
54
|
+
sdk: "rgba(29,78,216,0.12)"
|
|
55
55
|
};
|
|
56
56
|
const getCosmicFilter = (type, id) => {
|
|
57
57
|
const starField = (freq, seed, dur) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
package/dist/components/Orb.js
CHANGED
|
@@ -5,20 +5,20 @@ import React from "react";
|
|
|
5
5
|
const packageColors = {
|
|
6
6
|
siwx: "#10b981",
|
|
7
7
|
orbit: "#0d9488",
|
|
8
|
-
satellite: "#
|
|
8
|
+
satellite: "#0052ff",
|
|
9
9
|
pulsar: "#f59e0b",
|
|
10
|
-
quasar: "#
|
|
11
|
-
nova: "#
|
|
12
|
-
sdk: "#
|
|
10
|
+
quasar: "#2563eb",
|
|
11
|
+
nova: "#0284c7",
|
|
12
|
+
sdk: "#1d4ed8"
|
|
13
13
|
};
|
|
14
14
|
const packageTints = {
|
|
15
15
|
siwx: "rgba(16,185,129,0.12)",
|
|
16
16
|
orbit: "rgba(13,148,136,0.12)",
|
|
17
|
-
satellite: "rgba(
|
|
17
|
+
satellite: "rgba(0,82,255,0.12)",
|
|
18
18
|
pulsar: "rgba(245,158,11,0.12)",
|
|
19
|
-
quasar: "rgba(
|
|
20
|
-
nova: "rgba(
|
|
21
|
-
sdk: "rgba(
|
|
19
|
+
quasar: "rgba(37,99,235,0.12)",
|
|
20
|
+
nova: "rgba(2,132,199,0.12)",
|
|
21
|
+
sdk: "rgba(29,78,216,0.12)"
|
|
22
22
|
};
|
|
23
23
|
const getCosmicFilter = (type, id) => {
|
|
24
24
|
const starField = (freq, seed, dur) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -82,7 +82,7 @@ function ThemeSwitcher({ theme, onToggle, ariaLabel = "Toggle theme" }) {
|
|
|
82
82
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "tuwadocs:flex tuwadocs:flex-1 tuwadocs:justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
83
83
|
import_solid.MoonIcon,
|
|
84
84
|
{
|
|
85
|
-
className: `tuwadocs:h-6 tuwadocs:w-6 tuwadocs:relative tuwadocs:left-[2px] tuwadocs:md:h-5 tuwadocs:md:w-5 tuwadocs:transition-colors tuwadocs:duration-300 ${isDark ? "tuwadocs:text-
|
|
85
|
+
className: `tuwadocs:h-6 tuwadocs:w-6 tuwadocs:relative tuwadocs:left-[2px] tuwadocs:md:h-5 tuwadocs:md:w-5 tuwadocs:transition-colors tuwadocs:duration-300 ${isDark ? "tuwadocs:text-[#0052ff]" : "tuwadocs:text-slate-500 tuwadocs:group-hover:text-[#0052ff]"}`
|
|
86
86
|
}
|
|
87
87
|
) })
|
|
88
88
|
] })
|
|
@@ -59,7 +59,7 @@ function ThemeSwitcher({ theme, onToggle, ariaLabel = "Toggle theme" }) {
|
|
|
59
59
|
/* @__PURE__ */ jsx("div", { className: "tuwadocs:flex tuwadocs:flex-1 tuwadocs:justify-center", children: /* @__PURE__ */ jsx(
|
|
60
60
|
MoonIcon,
|
|
61
61
|
{
|
|
62
|
-
className: `tuwadocs:h-6 tuwadocs:w-6 tuwadocs:relative tuwadocs:left-[2px] tuwadocs:md:h-5 tuwadocs:md:w-5 tuwadocs:transition-colors tuwadocs:duration-300 ${isDark ? "tuwadocs:text-
|
|
62
|
+
className: `tuwadocs:h-6 tuwadocs:w-6 tuwadocs:relative tuwadocs:left-[2px] tuwadocs:md:h-5 tuwadocs:md:w-5 tuwadocs:transition-colors tuwadocs:duration-300 ${isDark ? "tuwadocs:text-[#0052ff]" : "tuwadocs:text-slate-500 tuwadocs:group-hover:text-[#0052ff]"}`
|
|
63
63
|
}
|
|
64
64
|
) })
|
|
65
65
|
] })
|
package/dist/index.css
CHANGED
|
@@ -651,8 +651,6 @@ html {
|
|
|
651
651
|
--tuwadocs-color-red-600: oklch(57.7% 0.245 27.325);
|
|
652
652
|
--tuwadocs-color-yellow-400: oklch(85.2% 0.199 91.936);
|
|
653
653
|
--tuwadocs-color-yellow-500: oklch(79.5% 0.184 86.047);
|
|
654
|
-
--tuwadocs-color-cyan-300: oklch(86.5% 0.127 207.078);
|
|
655
|
-
--tuwadocs-color-cyan-400: oklch(78.9% 0.154 211.53);
|
|
656
654
|
--tuwadocs-color-slate-200: oklch(92.9% 0.013 255.508);
|
|
657
655
|
--tuwadocs-color-slate-500: oklch(55.4% 0.046 257.417);
|
|
658
656
|
--tuwadocs-color-black: #000;
|
|
@@ -1166,6 +1164,9 @@ html {
|
|
|
1166
1164
|
--tw-tracking: var(--tuwadocs-tracking-widest);
|
|
1167
1165
|
letter-spacing: var(--tuwadocs-tracking-widest);
|
|
1168
1166
|
}
|
|
1167
|
+
.tuwadocs\:text-\[\#0052ff\] {
|
|
1168
|
+
color: #0052ff;
|
|
1169
|
+
}
|
|
1169
1170
|
.tuwadocs\:text-\[var\(--tuwa-text-accent\)\] {
|
|
1170
1171
|
color: var(--tuwa-text-accent);
|
|
1171
1172
|
}
|
|
@@ -1178,9 +1179,6 @@ html {
|
|
|
1178
1179
|
.tuwadocs\:text-\[var\(--tuwa-text-tertiary\)\] {
|
|
1179
1180
|
color: var(--tuwa-text-tertiary);
|
|
1180
1181
|
}
|
|
1181
|
-
.tuwadocs\:text-cyan-400 {
|
|
1182
|
-
color: var(--tuwadocs-color-cyan-400);
|
|
1183
|
-
}
|
|
1184
1182
|
.tuwadocs\:text-slate-500 {
|
|
1185
1183
|
color: var(--tuwadocs-color-slate-500);
|
|
1186
1184
|
}
|
|
@@ -1259,12 +1257,12 @@ html {
|
|
|
1259
1257
|
outline-style: none;
|
|
1260
1258
|
}
|
|
1261
1259
|
@media (hover: hover) {
|
|
1260
|
+
.tuwadocs\:group-hover\:text-\[\#0052ff\]:is(:where(.tuwadocs\:group):hover *) {
|
|
1261
|
+
color: #0052ff;
|
|
1262
|
+
}
|
|
1262
1263
|
.tuwadocs\:group-hover\:text-\[var\(--tuwa-text-primary\)\]:is(:where(.tuwadocs\:group):hover *) {
|
|
1263
1264
|
color: var(--tuwa-text-primary);
|
|
1264
1265
|
}
|
|
1265
|
-
.tuwadocs\:group-hover\:text-cyan-300:is(:where(.tuwadocs\:group):hover *) {
|
|
1266
|
-
color: var(--tuwadocs-color-cyan-300);
|
|
1267
|
-
}
|
|
1268
1266
|
.tuwadocs\:group-hover\:text-yellow-400:is(:where(.tuwadocs\:group):hover *) {
|
|
1269
1267
|
color: var(--tuwadocs-color-yellow-400);
|
|
1270
1268
|
}
|
|
@@ -1472,11 +1470,14 @@ html {
|
|
|
1472
1470
|
}
|
|
1473
1471
|
:root {
|
|
1474
1472
|
--tuwa-primary: #0052ff;
|
|
1475
|
-
--tuwa-secondary: #
|
|
1473
|
+
--tuwa-secondary: #0284c7;
|
|
1476
1474
|
--tuwa-success: #10b981;
|
|
1477
1475
|
--tuwa-warning: #f59e0b;
|
|
1478
1476
|
--tuwa-error: #ef4444;
|
|
1479
|
-
--tuwa-gradient: linear-gradient(135deg, #0052ff 0%, #
|
|
1477
|
+
--tuwa-gradient: linear-gradient(135deg, #0052ff 0%, #1d4ed8 50%, #0284c7 100%);
|
|
1478
|
+
--tuwa-hero-gradient-from: #0052ff;
|
|
1479
|
+
--tuwa-hero-gradient-via: #1d4ed8;
|
|
1480
|
+
--tuwa-hero-gradient-to: #0284c7;
|
|
1480
1481
|
--tuwa-button-gradient-from: #0052ff;
|
|
1481
1482
|
--tuwa-button-gradient-to: #00d2ff;
|
|
1482
1483
|
--tuwa-button-gradient-from-hover: #0045d8;
|
|
@@ -1506,9 +1507,13 @@ html {
|
|
|
1506
1507
|
}
|
|
1507
1508
|
.dark {
|
|
1508
1509
|
--tuwa-primary: #38bdf8;
|
|
1509
|
-
--tuwa-secondary: #
|
|
1510
|
+
--tuwa-secondary: #7dd3fc;
|
|
1510
1511
|
--nextra-bg: 10 14 39;
|
|
1511
1512
|
--tuwa-bg-dark: #0a0e27;
|
|
1513
|
+
--tuwa-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #7dd3fc 100%);
|
|
1514
|
+
--tuwa-hero-gradient-from: #2563eb;
|
|
1515
|
+
--tuwa-hero-gradient-via: #3b82f6;
|
|
1516
|
+
--tuwa-hero-gradient-to: #7dd3fc;
|
|
1512
1517
|
--tuwa-button-gradient-from: #2563eb;
|
|
1513
1518
|
--tuwa-button-gradient-to: #00d2ff;
|
|
1514
1519
|
--tuwa-button-gradient-from-hover: #1d4ed8;
|
|
@@ -1669,17 +1674,17 @@ html.dark .nextra-border {
|
|
|
1669
1674
|
border-color: var(--tuwa-primary) !important;
|
|
1670
1675
|
}
|
|
1671
1676
|
.dark .nextra-sidebar a[data-active] {
|
|
1672
|
-
color: var(--tuwa-
|
|
1673
|
-
background-color: rgb(
|
|
1674
|
-
border-color: var(--tuwa-
|
|
1677
|
+
color: var(--tuwa-primary) !important;
|
|
1678
|
+
background-color: rgb(56 189 248 / 0.1) !important;
|
|
1679
|
+
border-color: var(--tuwa-primary) !important;
|
|
1675
1680
|
}
|
|
1676
1681
|
.nextra-sidebar a:hover {
|
|
1677
1682
|
color: var(--tuwa-primary) !important;
|
|
1678
1683
|
background-color: rgb(0 82 255 / 0.05) !important;
|
|
1679
1684
|
}
|
|
1680
1685
|
.dark .nextra-sidebar a:hover {
|
|
1681
|
-
color: var(--tuwa-
|
|
1682
|
-
background-color: rgb(
|
|
1686
|
+
color: var(--tuwa-primary) !important;
|
|
1687
|
+
background-color: rgb(56 189 248 / 0.05) !important;
|
|
1683
1688
|
}
|
|
1684
1689
|
.nextra-search input {
|
|
1685
1690
|
border-color: rgb(229 231 235);
|
|
@@ -1691,8 +1696,8 @@ html.dark .nextra-border {
|
|
|
1691
1696
|
box-shadow: 0 0 0 3px rgb(0 82 255 / 0.15) !important;
|
|
1692
1697
|
}
|
|
1693
1698
|
.dark .nextra-search input:focus {
|
|
1694
|
-
border-color: var(--tuwa-
|
|
1695
|
-
box-shadow: 0 0 0 3px rgb(
|
|
1699
|
+
border-color: var(--tuwa-primary) !important;
|
|
1700
|
+
box-shadow: 0 0 0 3px rgb(56 189 248 / 0.15) !important;
|
|
1696
1701
|
}
|
|
1697
1702
|
.nextra-breadcrumb,
|
|
1698
1703
|
.nextra-breadcrumbs {
|
|
@@ -1809,7 +1814,7 @@ article a:hover {
|
|
|
1809
1814
|
}
|
|
1810
1815
|
.nextra-callout[class*='border-blue-'] {
|
|
1811
1816
|
border-color: var(--tuwa-primary) !important;
|
|
1812
|
-
background: rgb(
|
|
1817
|
+
background: rgb(0 82 255 / 0.05) !important;
|
|
1813
1818
|
}
|
|
1814
1819
|
.nextra-callout[class*='border-yellow-'] {
|
|
1815
1820
|
border-color: var(--tuwa-warning) !important;
|
|
@@ -1840,7 +1845,7 @@ article .nextra-border a:hover {
|
|
|
1840
1845
|
color: var(--tuwa-primary) !important;
|
|
1841
1846
|
}
|
|
1842
1847
|
.nextra-hamburger:hover {
|
|
1843
|
-
background-color: rgb(
|
|
1848
|
+
background-color: rgb(0 82 255 / 0.1) !important;
|
|
1844
1849
|
}
|
|
1845
1850
|
.nextra-toc .nextra-border a {
|
|
1846
1851
|
color: var(--tuwa-primary) !important;
|
|
@@ -1954,7 +1959,7 @@ article .nextra-border a:hover {
|
|
|
1954
1959
|
}
|
|
1955
1960
|
.tuwa-button:hover {
|
|
1956
1961
|
transform: translateY(-1px);
|
|
1957
|
-
box-shadow: 0 4px 12px rgb(
|
|
1962
|
+
box-shadow: 0 4px 12px rgb(0 82 255 / 0.3);
|
|
1958
1963
|
}
|
|
1959
1964
|
@keyframes slideToDark {
|
|
1960
1965
|
from {
|