@tuwaio/docs-ui 0.5.4 → 0.5.6

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.
@@ -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: "#2563eb",
41
+ satellite: "#0052ff",
42
42
  pulsar: "#f59e0b",
43
- quasar: "#06b6d4",
44
- nova: "#00d2ff",
45
- sdk: "#3b82f6"
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(37,99,235,0.12)",
50
+ satellite: "rgba(0,82,255,0.12)",
51
51
  pulsar: "rgba(245,158,11,0.12)",
52
- quasar: "rgba(6,182,212,0.12)",
53
- nova: "rgba(0,210,255,0.12)",
54
- sdk: "rgba(59,130,246,0.12)"
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: [
@@ -5,20 +5,20 @@ import React from "react";
5
5
  const packageColors = {
6
6
  siwx: "#10b981",
7
7
  orbit: "#0d9488",
8
- satellite: "#2563eb",
8
+ satellite: "#0052ff",
9
9
  pulsar: "#f59e0b",
10
- quasar: "#06b6d4",
11
- nova: "#00d2ff",
12
- sdk: "#3b82f6"
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(37,99,235,0.12)",
17
+ satellite: "rgba(0,82,255,0.12)",
18
18
  pulsar: "rgba(245,158,11,0.12)",
19
- quasar: "rgba(6,182,212,0.12)",
20
- nova: "rgba(0,210,255,0.12)",
21
- sdk: "rgba(59,130,246,0.12)"
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-cyan-400" : "tuwadocs:text-slate-500 tuwadocs:group-hover:text-cyan-300"}`
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-cyan-400" : "tuwadocs:text-slate-500 tuwadocs:group-hover:text-cyan-300"}`
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
@@ -430,9 +430,9 @@
430
430
  --tuwa-border-primary: oklch(92.8% 0.006 264.531);
431
431
  --tuwa-border-secondary: oklch(96.7% 0.003 264.542);
432
432
  --tuwa-button-gradient-from: oklch(54.6% 0.245 262.881);
433
- --tuwa-button-gradient-to: oklch(55.8% 0.288 302.321);
433
+ --tuwa-button-gradient-to: oklch(58.8% 0.158 241.966);
434
434
  --tuwa-button-gradient-from-hover: oklch(48.8% 0.243 264.376);
435
- --tuwa-button-gradient-to-hover: oklch(49.6% 0.265 301.924);
435
+ --tuwa-button-gradient-to-hover: oklch(50% 0.134 242.749);
436
436
  --tuwa-standart-button-bg: oklch(96.7% 0.003 264.542);
437
437
  --tuwa-standart-button-hover: oklch(92.8% 0.006 264.531);
438
438
  --tuwa-testnet-icons: #c4bfb8;
@@ -482,9 +482,9 @@
482
482
  --tuwa-border-primary: oklch(37.3% 0.034 259.733);
483
483
  --tuwa-border-secondary: oklch(27.8% 0.033 256.848);
484
484
  --tuwa-button-gradient-from: oklch(62.3% 0.214 259.815);
485
- --tuwa-button-gradient-to: oklch(62.7% 0.265 303.9);
485
+ --tuwa-button-gradient-to: oklch(82.8% 0.111 230.318);
486
486
  --tuwa-button-gradient-from-hover: oklch(54.6% 0.245 262.881);
487
- --tuwa-button-gradient-to-hover: oklch(55.8% 0.288 302.321);
487
+ --tuwa-button-gradient-to-hover: oklch(74.6% 0.16 232.661);
488
488
  --tuwa-standart-button-bg: oklch(37.3% 0.034 259.733);
489
489
  --tuwa-standart-button-hover: oklch(27.8% 0.033 256.848);
490
490
  --tuwa-testnet-icons: #c4bfb8;
@@ -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,15 +1470,14 @@ html {
1472
1470
  }
1473
1471
  :root {
1474
1472
  --tuwa-primary: #0052ff;
1475
- --tuwa-secondary: #00d2ff;
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%, #00d2ff 100%);
1480
- --tuwa-button-gradient-from: #0052ff;
1481
- --tuwa-button-gradient-to: #00d2ff;
1482
- --tuwa-button-gradient-from-hover: #0045d8;
1483
- --tuwa-button-gradient-to-hover: #00bce6;
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;
1484
1481
  --nextra-primary-hue: 212;
1485
1482
  --nextra-primary-saturation: 100%;
1486
1483
  --x-color-primary-50: rgb(239 246 255);
@@ -1506,13 +1503,13 @@ html {
1506
1503
  }
1507
1504
  .dark {
1508
1505
  --tuwa-primary: #38bdf8;
1509
- --tuwa-secondary: #00d2ff;
1506
+ --tuwa-secondary: #7dd3fc;
1510
1507
  --nextra-bg: 10 14 39;
1511
1508
  --tuwa-bg-dark: #0a0e27;
1512
- --tuwa-button-gradient-from: #2563eb;
1513
- --tuwa-button-gradient-to: #00d2ff;
1514
- --tuwa-button-gradient-from-hover: #1d4ed8;
1515
- --tuwa-button-gradient-to-hover: #38bdf8;
1509
+ --tuwa-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #7dd3fc 100%);
1510
+ --tuwa-hero-gradient-from: #2563eb;
1511
+ --tuwa-hero-gradient-via: #3b82f6;
1512
+ --tuwa-hero-gradient-to: #7dd3fc;
1516
1513
  --x-color-primary-50: rgb(15 23 42);
1517
1514
  --x-color-primary-100: rgb(23 37 84);
1518
1515
  --x-color-primary-200: rgb(30 58 138);
@@ -1669,17 +1666,17 @@ html.dark .nextra-border {
1669
1666
  border-color: var(--tuwa-primary) !important;
1670
1667
  }
1671
1668
  .dark .nextra-sidebar a[data-active] {
1672
- color: var(--tuwa-secondary) !important;
1673
- background-color: rgb(0 210 255 / 0.1) !important;
1674
- border-color: var(--tuwa-secondary) !important;
1669
+ color: var(--tuwa-primary) !important;
1670
+ background-color: rgb(56 189 248 / 0.1) !important;
1671
+ border-color: var(--tuwa-primary) !important;
1675
1672
  }
1676
1673
  .nextra-sidebar a:hover {
1677
1674
  color: var(--tuwa-primary) !important;
1678
1675
  background-color: rgb(0 82 255 / 0.05) !important;
1679
1676
  }
1680
1677
  .dark .nextra-sidebar a:hover {
1681
- color: var(--tuwa-secondary) !important;
1682
- background-color: rgb(0 210 255 / 0.05) !important;
1678
+ color: var(--tuwa-primary) !important;
1679
+ background-color: rgb(56 189 248 / 0.05) !important;
1683
1680
  }
1684
1681
  .nextra-search input {
1685
1682
  border-color: rgb(229 231 235);
@@ -1691,8 +1688,8 @@ html.dark .nextra-border {
1691
1688
  box-shadow: 0 0 0 3px rgb(0 82 255 / 0.15) !important;
1692
1689
  }
1693
1690
  .dark .nextra-search input:focus {
1694
- border-color: var(--tuwa-secondary) !important;
1695
- box-shadow: 0 0 0 3px rgb(0 210 255 / 0.15) !important;
1691
+ border-color: var(--tuwa-primary) !important;
1692
+ box-shadow: 0 0 0 3px rgb(56 189 248 / 0.15) !important;
1696
1693
  }
1697
1694
  .nextra-breadcrumb,
1698
1695
  .nextra-breadcrumbs {
@@ -1809,7 +1806,7 @@ article a:hover {
1809
1806
  }
1810
1807
  .nextra-callout[class*='border-blue-'] {
1811
1808
  border-color: var(--tuwa-primary) !important;
1812
- background: rgb(99 102 241 / 0.05) !important;
1809
+ background: rgb(0 82 255 / 0.05) !important;
1813
1810
  }
1814
1811
  .nextra-callout[class*='border-yellow-'] {
1815
1812
  border-color: var(--tuwa-warning) !important;
@@ -1840,7 +1837,7 @@ article .nextra-border a:hover {
1840
1837
  color: var(--tuwa-primary) !important;
1841
1838
  }
1842
1839
  .nextra-hamburger:hover {
1843
- background-color: rgb(99 102 241 / 0.1) !important;
1840
+ background-color: rgb(0 82 255 / 0.1) !important;
1844
1841
  }
1845
1842
  .nextra-toc .nextra-border a {
1846
1843
  color: var(--tuwa-primary) !important;
@@ -1954,7 +1951,7 @@ article .nextra-border a:hover {
1954
1951
  }
1955
1952
  .tuwa-button:hover {
1956
1953
  transform: translateY(-1px);
1957
- box-shadow: 0 4px 12px rgb(99 102 241 / 0.3);
1954
+ box-shadow: 0 4px 12px rgb(0 82 255 / 0.3);
1958
1955
  }
1959
1956
  @keyframes slideToDark {
1960
1957
  from {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuwaio/docs-ui",
3
- "version": "0.5.4",
3
+ "version": "0.5.6",
4
4
  "private": false,
5
5
  "author": "Oleksandr Tkach",
6
6
  "license": "Apache-2.0",
@@ -71,7 +71,7 @@
71
71
  }
72
72
  ],
73
73
  "dependencies": {
74
- "@tuwaio/nova-core": "^0.10.3",
74
+ "@tuwaio/nova-core": "^0.10.5",
75
75
  "clsx": "^2.1.1",
76
76
  "html-react-parser": "^6.1.9",
77
77
  "tailwind-merge": "^3.7.0"