@tuwaio/docs-ui 0.0.2
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/LICENSE +201 -0
- package/README.md +15 -0
- package/dist/index.cjs +1 -0
- package/dist/index.css +1069 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -0
- package/package.json +75 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2025 FOP Tkach Oleksandr
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# TUWA Docs UI
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@tuwaio/docs-ui)
|
|
4
|
+
[](./LICENSE)
|
|
5
|
+
|
|
6
|
+
The shared design system and UI components used across the **TUWA Ecosystem** documentation sites. This package ensures visual consistency and strictly adheres to the **DRY (Don't Repeat Yourself)** principle.
|
|
7
|
+
|
|
8
|
+
## ✨ Features
|
|
9
|
+
|
|
10
|
+
- **Shared Components:** Ready-to-use React components for documentation (Callouts, Hero sections, Feature Cards).
|
|
11
|
+
- **Design Tokens:** Shared Tailwind CSS configuration and brand colors.
|
|
12
|
+
|
|
13
|
+
## 📄 License
|
|
14
|
+
|
|
15
|
+
This project is licensed under the **Apache-2.0 License** - see the [LICENSE](./LICENSE) file for details.
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var novaCore=require('@tuwaio/nova-core'),jsxRuntime=require('react/jsx-runtime');function a({href:e,children:t}){return jsxRuntime.jsx("a",{className:novaCore.cn("tuwadocs:font-medium tuwadocs:text-[var(--tuwa-text-accent)]","tuwadocs:transition-all tuwadocs:hover:underline tuwadocs:underline-offset-4"),href:e,target:"_blank",rel:"noopener noreferrer",children:t})}exports.StyledLink=a;
|
package/dist/index.css
ADDED
|
@@ -0,0 +1,1069 @@
|
|
|
1
|
+
/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
|
2
|
+
/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
|
|
3
|
+
@layer properties;
|
|
4
|
+
@layer properties;
|
|
5
|
+
@layer theme, base, components, utilities;
|
|
6
|
+
@layer theme {
|
|
7
|
+
:root, :host {
|
|
8
|
+
--novacore-color-black: #000;
|
|
9
|
+
--novacore-spacing: 0.25rem;
|
|
10
|
+
--novacore-text-sm: 0.875rem;
|
|
11
|
+
--novacore-text-sm--line-height: calc(1.25 / 0.875);
|
|
12
|
+
--novacore-text-lg: 1.125rem;
|
|
13
|
+
--novacore-text-lg--line-height: calc(1.75 / 1.125);
|
|
14
|
+
--novacore-font-weight-semibold: 600;
|
|
15
|
+
--novacore-font-weight-bold: 700;
|
|
16
|
+
--novacore-tracking-tight: -0.025em;
|
|
17
|
+
--novacore-radius-md: 0.375rem;
|
|
18
|
+
--novacore-radius-2xl: 1rem;
|
|
19
|
+
--novacore-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
20
|
+
--novacore-blur-sm: 8px;
|
|
21
|
+
--novacore-default-transition-duration: 150ms;
|
|
22
|
+
--novacore-default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@layer utilities {
|
|
26
|
+
.novacore\:absolute {
|
|
27
|
+
position: absolute;
|
|
28
|
+
}
|
|
29
|
+
.novacore\:fixed {
|
|
30
|
+
position: fixed;
|
|
31
|
+
}
|
|
32
|
+
.novacore\:relative {
|
|
33
|
+
position: relative;
|
|
34
|
+
}
|
|
35
|
+
.novacore\:sticky {
|
|
36
|
+
position: sticky;
|
|
37
|
+
}
|
|
38
|
+
.novacore\:inset-0 {
|
|
39
|
+
inset: calc(var(--novacore-spacing) * 0);
|
|
40
|
+
}
|
|
41
|
+
.novacore\:top-0 {
|
|
42
|
+
top: calc(var(--novacore-spacing) * 0);
|
|
43
|
+
}
|
|
44
|
+
.novacore\:top-2 {
|
|
45
|
+
top: calc(var(--novacore-spacing) * 2);
|
|
46
|
+
}
|
|
47
|
+
.novacore\:right-2 {
|
|
48
|
+
right: calc(var(--novacore-spacing) * 2);
|
|
49
|
+
}
|
|
50
|
+
.novacore\:bottom-0 {
|
|
51
|
+
bottom: calc(var(--novacore-spacing) * 0);
|
|
52
|
+
}
|
|
53
|
+
.novacore\:left-0 {
|
|
54
|
+
left: calc(var(--novacore-spacing) * 0);
|
|
55
|
+
}
|
|
56
|
+
.novacore\:z-1 {
|
|
57
|
+
z-index: 1;
|
|
58
|
+
}
|
|
59
|
+
.novacore\:z-11 {
|
|
60
|
+
z-index: 11;
|
|
61
|
+
}
|
|
62
|
+
.novacore\:z-50 {
|
|
63
|
+
z-index: 50;
|
|
64
|
+
}
|
|
65
|
+
.novacore\:m-0 {
|
|
66
|
+
margin: calc(var(--novacore-spacing) * 0);
|
|
67
|
+
}
|
|
68
|
+
.novacore\:flex {
|
|
69
|
+
display: flex;
|
|
70
|
+
}
|
|
71
|
+
.novacore\:h-4 {
|
|
72
|
+
height: calc(var(--novacore-spacing) * 4);
|
|
73
|
+
}
|
|
74
|
+
.novacore\:h-5 {
|
|
75
|
+
height: calc(var(--novacore-spacing) * 5);
|
|
76
|
+
}
|
|
77
|
+
.novacore\:h-full {
|
|
78
|
+
height: 100%;
|
|
79
|
+
}
|
|
80
|
+
.novacore\:max-h-\[98dvh\] {
|
|
81
|
+
max-height: 98dvh;
|
|
82
|
+
}
|
|
83
|
+
.novacore\:w-4 {
|
|
84
|
+
width: calc(var(--novacore-spacing) * 4);
|
|
85
|
+
}
|
|
86
|
+
.novacore\:w-5 {
|
|
87
|
+
width: calc(var(--novacore-spacing) * 5);
|
|
88
|
+
}
|
|
89
|
+
.novacore\:w-full {
|
|
90
|
+
width: 100%;
|
|
91
|
+
}
|
|
92
|
+
.novacore\:animate-pulse {
|
|
93
|
+
animation: var(--novacore-animate-pulse);
|
|
94
|
+
}
|
|
95
|
+
.novacore\:cursor-pointer {
|
|
96
|
+
cursor: pointer;
|
|
97
|
+
}
|
|
98
|
+
.novacore\:flex-col {
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
}
|
|
101
|
+
.novacore\:flex-col-reverse {
|
|
102
|
+
flex-direction: column-reverse;
|
|
103
|
+
}
|
|
104
|
+
.novacore\:flex-row {
|
|
105
|
+
flex-direction: row;
|
|
106
|
+
}
|
|
107
|
+
.novacore\:items-center {
|
|
108
|
+
align-items: center;
|
|
109
|
+
}
|
|
110
|
+
.novacore\:justify-between {
|
|
111
|
+
justify-content: space-between;
|
|
112
|
+
}
|
|
113
|
+
.novacore\:gap-1 {
|
|
114
|
+
gap: calc(var(--novacore-spacing) * 1);
|
|
115
|
+
}
|
|
116
|
+
.novacore\:gap-3 {
|
|
117
|
+
gap: calc(var(--novacore-spacing) * 3);
|
|
118
|
+
}
|
|
119
|
+
.novacore\:overflow-hidden {
|
|
120
|
+
overflow: hidden;
|
|
121
|
+
}
|
|
122
|
+
.novacore\:overflow-y-auto {
|
|
123
|
+
overflow-y: auto;
|
|
124
|
+
}
|
|
125
|
+
.novacore\:rounded-full {
|
|
126
|
+
border-radius: calc(infinity * 1px);
|
|
127
|
+
}
|
|
128
|
+
.novacore\:rounded-md {
|
|
129
|
+
border-radius: var(--novacore-radius-md);
|
|
130
|
+
}
|
|
131
|
+
.novacore\:rounded-t-2xl {
|
|
132
|
+
border-top-left-radius: var(--novacore-radius-2xl);
|
|
133
|
+
border-top-right-radius: var(--novacore-radius-2xl);
|
|
134
|
+
}
|
|
135
|
+
.novacore\:border {
|
|
136
|
+
border-style: var(--tw-border-style);
|
|
137
|
+
border-width: 1px;
|
|
138
|
+
}
|
|
139
|
+
.novacore\:border-b {
|
|
140
|
+
border-bottom-style: var(--tw-border-style);
|
|
141
|
+
border-bottom-width: 1px;
|
|
142
|
+
}
|
|
143
|
+
.novacore\:border-\[var\(--tuwa-border-primary\)\] {
|
|
144
|
+
border-color: var(--tuwa-border-primary);
|
|
145
|
+
}
|
|
146
|
+
.novacore\:bg-\[var\(--tuwa-bg-muted\)\] {
|
|
147
|
+
background-color: var(--tuwa-bg-muted);
|
|
148
|
+
}
|
|
149
|
+
.novacore\:bg-\[var\(--tuwa-bg-primary\)\] {
|
|
150
|
+
background-color: var(--tuwa-bg-primary);
|
|
151
|
+
}
|
|
152
|
+
.novacore\:bg-\[var\(--tuwa-standart-button-bg\)\] {
|
|
153
|
+
background-color: var(--tuwa-standart-button-bg);
|
|
154
|
+
}
|
|
155
|
+
.novacore\:bg-black\/55 {
|
|
156
|
+
background-color: var(--novacore-color-black);
|
|
157
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
158
|
+
background-color: var(--novacore-color-black);
|
|
159
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
160
|
+
background-color: color-mix(in oklab, var(--novacore-color-black) 55%, transparent);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
.novacore\:p-0 {
|
|
165
|
+
padding: calc(var(--novacore-spacing) * 0);
|
|
166
|
+
}
|
|
167
|
+
.novacore\:p-1 {
|
|
168
|
+
padding: calc(var(--novacore-spacing) * 1);
|
|
169
|
+
}
|
|
170
|
+
.novacore\:p-4 {
|
|
171
|
+
padding: calc(var(--novacore-spacing) * 4);
|
|
172
|
+
}
|
|
173
|
+
.novacore\:px-3 {
|
|
174
|
+
padding-inline: calc(var(--novacore-spacing) * 3);
|
|
175
|
+
}
|
|
176
|
+
.novacore\:py-2 {
|
|
177
|
+
padding-block: calc(var(--novacore-spacing) * 2);
|
|
178
|
+
}
|
|
179
|
+
.novacore\:text-lg {
|
|
180
|
+
font-size: var(--novacore-text-lg);
|
|
181
|
+
line-height: var(--tw-leading, var(--novacore-text-lg--line-height));
|
|
182
|
+
}
|
|
183
|
+
.novacore\:text-sm {
|
|
184
|
+
font-size: var(--novacore-text-sm);
|
|
185
|
+
line-height: var(--tw-leading, var(--novacore-text-sm--line-height));
|
|
186
|
+
}
|
|
187
|
+
.novacore\:leading-none {
|
|
188
|
+
--tw-leading: 1;
|
|
189
|
+
line-height: 1;
|
|
190
|
+
}
|
|
191
|
+
.novacore\:font-bold {
|
|
192
|
+
--tw-font-weight: var(--novacore-font-weight-bold);
|
|
193
|
+
font-weight: var(--novacore-font-weight-bold);
|
|
194
|
+
}
|
|
195
|
+
.novacore\:font-semibold {
|
|
196
|
+
--tw-font-weight: var(--novacore-font-weight-semibold);
|
|
197
|
+
font-weight: var(--novacore-font-weight-semibold);
|
|
198
|
+
}
|
|
199
|
+
.novacore\:tracking-tight {
|
|
200
|
+
--tw-tracking: var(--novacore-tracking-tight);
|
|
201
|
+
letter-spacing: var(--novacore-tracking-tight);
|
|
202
|
+
}
|
|
203
|
+
.novacore\:text-\[var\(--tuwa-text-primary\)\] {
|
|
204
|
+
color: var(--tuwa-text-primary);
|
|
205
|
+
}
|
|
206
|
+
.novacore\:text-\[var\(--tuwa-text-secondary\)\] {
|
|
207
|
+
color: var(--tuwa-text-secondary);
|
|
208
|
+
}
|
|
209
|
+
.novacore\:text-\[var\(--tuwa-text-tertiary\)\] {
|
|
210
|
+
color: var(--tuwa-text-tertiary);
|
|
211
|
+
}
|
|
212
|
+
.novacore\:shadow-2xl {
|
|
213
|
+
--tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));
|
|
214
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
215
|
+
}
|
|
216
|
+
.novacore\:backdrop-blur-sm {
|
|
217
|
+
--tw-backdrop-blur: blur(var(--novacore-blur-sm));
|
|
218
|
+
backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
219
|
+
}
|
|
220
|
+
.novacore\:backdrop-saturate-150 {
|
|
221
|
+
--tw-backdrop-saturate: saturate(150%);
|
|
222
|
+
backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
223
|
+
}
|
|
224
|
+
.novacore\:transition-colors {
|
|
225
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
226
|
+
transition-timing-function: var(--tw-ease, var(--novacore-default-transition-timing-function));
|
|
227
|
+
transition-duration: var(--tw-duration, var(--novacore-default-transition-duration));
|
|
228
|
+
}
|
|
229
|
+
.novacore\:outline-none {
|
|
230
|
+
--tw-outline-style: none;
|
|
231
|
+
outline-style: none;
|
|
232
|
+
}
|
|
233
|
+
.novacore\:hover\:bg-\[var\(--tuwa-bg-muted\)\] {
|
|
234
|
+
&:hover {
|
|
235
|
+
@media (hover: hover) {
|
|
236
|
+
background-color: var(--tuwa-bg-muted);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
.novacore\:hover\:bg-\[var\(--tuwa-standart-button-hover\)\] {
|
|
241
|
+
&:hover {
|
|
242
|
+
@media (hover: hover) {
|
|
243
|
+
background-color: var(--tuwa-standart-button-hover);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
.novacore\:hover\:text-\[var\(--tuwa-text-primary\)\] {
|
|
248
|
+
&:hover {
|
|
249
|
+
@media (hover: hover) {
|
|
250
|
+
color: var(--tuwa-text-primary);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
.novacore\:disabled\:cursor-not-allowed {
|
|
255
|
+
&:disabled {
|
|
256
|
+
cursor: not-allowed;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
.novacore\:disabled\:opacity-50 {
|
|
260
|
+
&:disabled {
|
|
261
|
+
opacity: 50%;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
.novacore\:sm\:top-\[50\%\] {
|
|
265
|
+
@media (width >= 40rem) {
|
|
266
|
+
top: 50%;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
.novacore\:sm\:bottom-auto {
|
|
270
|
+
@media (width >= 40rem) {
|
|
271
|
+
bottom: auto;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
.novacore\:sm\:left-\[50\%\] {
|
|
275
|
+
@media (width >= 40rem) {
|
|
276
|
+
left: 50%;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
.novacore\:sm\:translate-x-\[-50\%\] {
|
|
280
|
+
@media (width >= 40rem) {
|
|
281
|
+
--tw-translate-x: -50%;
|
|
282
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
.novacore\:sm\:translate-y-\[-50\%\] {
|
|
286
|
+
@media (width >= 40rem) {
|
|
287
|
+
--tw-translate-y: -50%;
|
|
288
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
.novacore\:sm\:flex-row {
|
|
292
|
+
@media (width >= 40rem) {
|
|
293
|
+
flex-direction: row;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
.novacore\:sm\:justify-end {
|
|
297
|
+
@media (width >= 40rem) {
|
|
298
|
+
justify-content: flex-end;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
.novacore\:sm\:space-x-2 {
|
|
302
|
+
@media (width >= 40rem) {
|
|
303
|
+
:where(& > :not(:last-child)) {
|
|
304
|
+
--tw-space-x-reverse: 0;
|
|
305
|
+
margin-inline-start: calc(calc(var(--novacore-spacing) * 2) * var(--tw-space-x-reverse));
|
|
306
|
+
margin-inline-end: calc(calc(var(--novacore-spacing) * 2) * calc(1 - var(--tw-space-x-reverse)));
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
.novacore\:sm\:rounded-2xl {
|
|
311
|
+
@media (width >= 40rem) {
|
|
312
|
+
border-radius: var(--novacore-radius-2xl);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
.novacore\:sm\:p-4 {
|
|
316
|
+
@media (width >= 40rem) {
|
|
317
|
+
padding: calc(var(--novacore-spacing) * 4);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
.novacore\:\[\&_path\]\:first-of-type\:fill-\[var\(--tuwa-testnet-icons\)\] {
|
|
321
|
+
& path {
|
|
322
|
+
&:first-of-type {
|
|
323
|
+
fill: var(--tuwa-testnet-icons);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
:root {
|
|
329
|
+
--tuwa-success-bg: oklch(96.2% 0.044 156.743);
|
|
330
|
+
--tuwa-success-text: oklch(52.7% 0.154 150.069);
|
|
331
|
+
--tuwa-success-icon: oklch(72.3% 0.219 149.579);
|
|
332
|
+
--tuwa-error-bg: oklch(93.6% 0.032 17.717);
|
|
333
|
+
--tuwa-error-text: oklch(50.5% 0.213 27.518);
|
|
334
|
+
--tuwa-error-icon: oklch(63.7% 0.237 25.331);
|
|
335
|
+
--tuwa-pending-bg: oklch(97.3% 0.071 103.193);
|
|
336
|
+
--tuwa-pending-text: oklch(47.6% 0.114 61.907);
|
|
337
|
+
--tuwa-pending-icon: oklch(68.1% 0.162 75.834);
|
|
338
|
+
--tuwa-info-bg: oklch(96.7% 0.003 264.542);
|
|
339
|
+
--tuwa-info-text: oklch(44.6% 0.03 256.802);
|
|
340
|
+
--tuwa-info-icon: oklch(55.1% 0.027 264.364);
|
|
341
|
+
--tuwa-text-primary: oklch(21% 0.034 264.665);
|
|
342
|
+
--tuwa-text-secondary: oklch(55.1% 0.027 264.364);
|
|
343
|
+
--tuwa-text-tertiary: oklch(70.7% 0.022 261.325);
|
|
344
|
+
--tuwa-text-accent: oklch(54.6% 0.245 262.881);
|
|
345
|
+
--tuwa-text-on-accent: #fff;
|
|
346
|
+
--tuwa-bg-primary: #fff;
|
|
347
|
+
--tuwa-bg-secondary: oklch(98.5% 0.002 247.839);
|
|
348
|
+
--tuwa-bg-muted: oklch(96.7% 0.003 264.542);
|
|
349
|
+
--tuwa-border-primary: oklch(92.8% 0.006 264.531);
|
|
350
|
+
--tuwa-border-secondary: oklch(96.7% 0.003 264.542);
|
|
351
|
+
--tuwa-button-gradient-from: oklch(54.6% 0.245 262.881);
|
|
352
|
+
--tuwa-button-gradient-to: oklch(55.8% 0.288 302.321);
|
|
353
|
+
--tuwa-button-gradient-from-hover: oklch(48.8% 0.243 264.376);
|
|
354
|
+
--tuwa-button-gradient-to-hover: oklch(49.6% 0.265 301.924);
|
|
355
|
+
--tuwa-standart-button-bg: oklch(96.7% 0.003 264.542);
|
|
356
|
+
--tuwa-standart-button-hover: oklch(92.8% 0.006 264.531);
|
|
357
|
+
--tuwa-testnet-icons: #c4bfb8;
|
|
358
|
+
}
|
|
359
|
+
.dark {
|
|
360
|
+
--tuwa-success-bg: oklch(39.3% 0.095 152.535);
|
|
361
|
+
--tuwa-success-text: oklch(87.1% 0.15 154.449);
|
|
362
|
+
--tuwa-success-icon: oklch(79.2% 0.209 151.711);
|
|
363
|
+
--tuwa-error-bg: oklch(39.6% 0.141 25.723);
|
|
364
|
+
--tuwa-error-text: oklch(80.8% 0.114 19.571);
|
|
365
|
+
--tuwa-error-icon: oklch(70.4% 0.191 22.216);
|
|
366
|
+
--tuwa-pending-bg: oklch(42.1% 0.095 57.708);
|
|
367
|
+
--tuwa-pending-text: oklch(90.5% 0.182 98.111);
|
|
368
|
+
--tuwa-pending-icon: oklch(85.2% 0.199 91.936);
|
|
369
|
+
--tuwa-info-bg: oklch(37.3% 0.034 259.733);
|
|
370
|
+
--tuwa-info-text: oklch(87.2% 0.01 258.338);
|
|
371
|
+
--tuwa-info-icon: oklch(70.7% 0.022 261.325);
|
|
372
|
+
--tuwa-text-primary: oklch(98.5% 0.002 247.839);
|
|
373
|
+
--tuwa-text-secondary: oklch(70.7% 0.022 261.325);
|
|
374
|
+
--tuwa-text-tertiary: oklch(55.1% 0.027 264.364);
|
|
375
|
+
--tuwa-text-accent: oklch(70.7% 0.165 254.624);
|
|
376
|
+
--tuwa-text-on-accent: #fff;
|
|
377
|
+
--tuwa-bg-primary: oklch(21% 0.034 264.665);
|
|
378
|
+
--tuwa-bg-secondary: oklch(27.8% 0.033 256.848);
|
|
379
|
+
--tuwa-bg-muted: oklch(37.3% 0.034 259.733);
|
|
380
|
+
--tuwa-border-primary: oklch(37.3% 0.034 259.733);
|
|
381
|
+
--tuwa-border-secondary: oklch(27.8% 0.033 256.848);
|
|
382
|
+
--tuwa-button-gradient-from: oklch(62.3% 0.214 259.815);
|
|
383
|
+
--tuwa-button-gradient-to: oklch(62.7% 0.265 303.9);
|
|
384
|
+
--tuwa-button-gradient-from-hover: oklch(54.6% 0.245 262.881);
|
|
385
|
+
--tuwa-button-gradient-to-hover: oklch(55.8% 0.288 302.321);
|
|
386
|
+
--tuwa-standart-button-bg: oklch(37.3% 0.034 259.733);
|
|
387
|
+
--tuwa-standart-button-hover: oklch(27.8% 0.033 256.848);
|
|
388
|
+
--tuwa-testnet-icons: #c4bfb8;
|
|
389
|
+
}
|
|
390
|
+
.Toastify {
|
|
391
|
+
pointer-events: auto;
|
|
392
|
+
}
|
|
393
|
+
.Toastify__toast {
|
|
394
|
+
padding: 0;
|
|
395
|
+
background: transparent;
|
|
396
|
+
}
|
|
397
|
+
@media (hover: hover) {
|
|
398
|
+
.NovaNoScrolling {
|
|
399
|
+
scrollbar-width: none;
|
|
400
|
+
}
|
|
401
|
+
.NovaCustomScroll {
|
|
402
|
+
animation: scrolling forwards;
|
|
403
|
+
animation-timeline: scroll(self);
|
|
404
|
+
}
|
|
405
|
+
.NovaCustomScroll::-webkit-scrollbar {
|
|
406
|
+
width: 4px;
|
|
407
|
+
border-radius: 4px;
|
|
408
|
+
background-color: var(--tuwa-border-primary);
|
|
409
|
+
}
|
|
410
|
+
.NovaCustomScroll::-webkit-scrollbar-thumb {
|
|
411
|
+
background-color: var(--tuwa-text-secondary);
|
|
412
|
+
border-radius: 4px;
|
|
413
|
+
}
|
|
414
|
+
.NovaCustomScroll::-webkit-scrollbar-thumb:hover {
|
|
415
|
+
background-color: var(--tuwa-text-primary);
|
|
416
|
+
}
|
|
417
|
+
@keyframes scrolling {
|
|
418
|
+
0%, to {
|
|
419
|
+
padding-right: 2px;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
.NovaCustomScrollNoPadding::-webkit-scrollbar {
|
|
423
|
+
width: 4px;
|
|
424
|
+
border-radius: 4px;
|
|
425
|
+
background-color: var(--tuwa-border-primary);
|
|
426
|
+
}
|
|
427
|
+
.NovaCustomScrollNoPadding::-webkit-scrollbar-thumb {
|
|
428
|
+
background-color: var(--tuwa-text-secondary);
|
|
429
|
+
border-radius: 4px;
|
|
430
|
+
}
|
|
431
|
+
.NovaCustomScrollNoPadding::-webkit-scrollbar-thumb:hover {
|
|
432
|
+
background-color: var(--tuwa-text-primary);
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
.NovaModalOpen {
|
|
436
|
+
overflow: hidden;
|
|
437
|
+
}
|
|
438
|
+
@property --tw-border-style {
|
|
439
|
+
syntax: "*";
|
|
440
|
+
inherits: false;
|
|
441
|
+
initial-value: solid;
|
|
442
|
+
}
|
|
443
|
+
@property --tw-leading {
|
|
444
|
+
syntax: "*";
|
|
445
|
+
inherits: false;
|
|
446
|
+
}
|
|
447
|
+
@property --tw-font-weight {
|
|
448
|
+
syntax: "*";
|
|
449
|
+
inherits: false;
|
|
450
|
+
}
|
|
451
|
+
@property --tw-tracking {
|
|
452
|
+
syntax: "*";
|
|
453
|
+
inherits: false;
|
|
454
|
+
}
|
|
455
|
+
@property --tw-shadow {
|
|
456
|
+
syntax: "*";
|
|
457
|
+
inherits: false;
|
|
458
|
+
initial-value: 0 0 #0000;
|
|
459
|
+
}
|
|
460
|
+
@property --tw-shadow-color {
|
|
461
|
+
syntax: "*";
|
|
462
|
+
inherits: false;
|
|
463
|
+
}
|
|
464
|
+
@property --tw-shadow-alpha {
|
|
465
|
+
syntax: "<percentage>";
|
|
466
|
+
inherits: false;
|
|
467
|
+
initial-value: 100%;
|
|
468
|
+
}
|
|
469
|
+
@property --tw-inset-shadow {
|
|
470
|
+
syntax: "*";
|
|
471
|
+
inherits: false;
|
|
472
|
+
initial-value: 0 0 #0000;
|
|
473
|
+
}
|
|
474
|
+
@property --tw-inset-shadow-color {
|
|
475
|
+
syntax: "*";
|
|
476
|
+
inherits: false;
|
|
477
|
+
}
|
|
478
|
+
@property --tw-inset-shadow-alpha {
|
|
479
|
+
syntax: "<percentage>";
|
|
480
|
+
inherits: false;
|
|
481
|
+
initial-value: 100%;
|
|
482
|
+
}
|
|
483
|
+
@property --tw-ring-color {
|
|
484
|
+
syntax: "*";
|
|
485
|
+
inherits: false;
|
|
486
|
+
}
|
|
487
|
+
@property --tw-ring-shadow {
|
|
488
|
+
syntax: "*";
|
|
489
|
+
inherits: false;
|
|
490
|
+
initial-value: 0 0 #0000;
|
|
491
|
+
}
|
|
492
|
+
@property --tw-inset-ring-color {
|
|
493
|
+
syntax: "*";
|
|
494
|
+
inherits: false;
|
|
495
|
+
}
|
|
496
|
+
@property --tw-inset-ring-shadow {
|
|
497
|
+
syntax: "*";
|
|
498
|
+
inherits: false;
|
|
499
|
+
initial-value: 0 0 #0000;
|
|
500
|
+
}
|
|
501
|
+
@property --tw-ring-inset {
|
|
502
|
+
syntax: "*";
|
|
503
|
+
inherits: false;
|
|
504
|
+
}
|
|
505
|
+
@property --tw-ring-offset-width {
|
|
506
|
+
syntax: "<length>";
|
|
507
|
+
inherits: false;
|
|
508
|
+
initial-value: 0px;
|
|
509
|
+
}
|
|
510
|
+
@property --tw-ring-offset-color {
|
|
511
|
+
syntax: "*";
|
|
512
|
+
inherits: false;
|
|
513
|
+
initial-value: #fff;
|
|
514
|
+
}
|
|
515
|
+
@property --tw-ring-offset-shadow {
|
|
516
|
+
syntax: "*";
|
|
517
|
+
inherits: false;
|
|
518
|
+
initial-value: 0 0 #0000;
|
|
519
|
+
}
|
|
520
|
+
@property --tw-backdrop-blur {
|
|
521
|
+
syntax: "*";
|
|
522
|
+
inherits: false;
|
|
523
|
+
}
|
|
524
|
+
@property --tw-backdrop-brightness {
|
|
525
|
+
syntax: "*";
|
|
526
|
+
inherits: false;
|
|
527
|
+
}
|
|
528
|
+
@property --tw-backdrop-contrast {
|
|
529
|
+
syntax: "*";
|
|
530
|
+
inherits: false;
|
|
531
|
+
}
|
|
532
|
+
@property --tw-backdrop-grayscale {
|
|
533
|
+
syntax: "*";
|
|
534
|
+
inherits: false;
|
|
535
|
+
}
|
|
536
|
+
@property --tw-backdrop-hue-rotate {
|
|
537
|
+
syntax: "*";
|
|
538
|
+
inherits: false;
|
|
539
|
+
}
|
|
540
|
+
@property --tw-backdrop-invert {
|
|
541
|
+
syntax: "*";
|
|
542
|
+
inherits: false;
|
|
543
|
+
}
|
|
544
|
+
@property --tw-backdrop-opacity {
|
|
545
|
+
syntax: "*";
|
|
546
|
+
inherits: false;
|
|
547
|
+
}
|
|
548
|
+
@property --tw-backdrop-saturate {
|
|
549
|
+
syntax: "*";
|
|
550
|
+
inherits: false;
|
|
551
|
+
}
|
|
552
|
+
@property --tw-backdrop-sepia {
|
|
553
|
+
syntax: "*";
|
|
554
|
+
inherits: false;
|
|
555
|
+
}
|
|
556
|
+
@property --tw-translate-x {
|
|
557
|
+
syntax: "*";
|
|
558
|
+
inherits: false;
|
|
559
|
+
initial-value: 0;
|
|
560
|
+
}
|
|
561
|
+
@property --tw-translate-y {
|
|
562
|
+
syntax: "*";
|
|
563
|
+
inherits: false;
|
|
564
|
+
initial-value: 0;
|
|
565
|
+
}
|
|
566
|
+
@property --tw-translate-z {
|
|
567
|
+
syntax: "*";
|
|
568
|
+
inherits: false;
|
|
569
|
+
initial-value: 0;
|
|
570
|
+
}
|
|
571
|
+
@property --tw-space-x-reverse {
|
|
572
|
+
syntax: "*";
|
|
573
|
+
inherits: false;
|
|
574
|
+
initial-value: 0;
|
|
575
|
+
}
|
|
576
|
+
@keyframes pulse {
|
|
577
|
+
50% {
|
|
578
|
+
opacity: 0.5;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
@layer properties {
|
|
582
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
583
|
+
*, ::before, ::after, ::backdrop {
|
|
584
|
+
--tw-border-style: solid;
|
|
585
|
+
--tw-leading: initial;
|
|
586
|
+
--tw-font-weight: initial;
|
|
587
|
+
--tw-tracking: initial;
|
|
588
|
+
--tw-shadow: 0 0 #0000;
|
|
589
|
+
--tw-shadow-color: initial;
|
|
590
|
+
--tw-shadow-alpha: 100%;
|
|
591
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
592
|
+
--tw-inset-shadow-color: initial;
|
|
593
|
+
--tw-inset-shadow-alpha: 100%;
|
|
594
|
+
--tw-ring-color: initial;
|
|
595
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
596
|
+
--tw-inset-ring-color: initial;
|
|
597
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
598
|
+
--tw-ring-inset: initial;
|
|
599
|
+
--tw-ring-offset-width: 0px;
|
|
600
|
+
--tw-ring-offset-color: #fff;
|
|
601
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
602
|
+
--tw-backdrop-blur: initial;
|
|
603
|
+
--tw-backdrop-brightness: initial;
|
|
604
|
+
--tw-backdrop-contrast: initial;
|
|
605
|
+
--tw-backdrop-grayscale: initial;
|
|
606
|
+
--tw-backdrop-hue-rotate: initial;
|
|
607
|
+
--tw-backdrop-invert: initial;
|
|
608
|
+
--tw-backdrop-opacity: initial;
|
|
609
|
+
--tw-backdrop-saturate: initial;
|
|
610
|
+
--tw-backdrop-sepia: initial;
|
|
611
|
+
--tw-translate-x: 0;
|
|
612
|
+
--tw-translate-y: 0;
|
|
613
|
+
--tw-translate-z: 0;
|
|
614
|
+
--tw-space-x-reverse: 0;
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
@layer theme, base, components, utilities;
|
|
619
|
+
@layer theme {
|
|
620
|
+
:root, :host {
|
|
621
|
+
--tuwadocs-color-gray-200: oklch(92.8% 0.006 264.531);
|
|
622
|
+
--tuwadocs-color-gray-700: oklch(37.3% 0.034 259.733);
|
|
623
|
+
--tuwadocs-color-gray-900: oklch(21% 0.034 264.665);
|
|
624
|
+
--tuwadocs-color-black: #000;
|
|
625
|
+
--tuwadocs-color-white: #fff;
|
|
626
|
+
--tuwadocs-spacing: 0.25rem;
|
|
627
|
+
--tuwadocs-text-xs: 0.75rem;
|
|
628
|
+
--tuwadocs-text-xs--line-height: calc(1 / 0.75);
|
|
629
|
+
--tuwadocs-text-sm: 0.875rem;
|
|
630
|
+
--tuwadocs-text-sm--line-height: calc(1.25 / 0.875);
|
|
631
|
+
--tuwadocs-text-lg: 1.125rem;
|
|
632
|
+
--tuwadocs-text-lg--line-height: calc(1.75 / 1.125);
|
|
633
|
+
--tuwadocs-font-weight-medium: 500;
|
|
634
|
+
--tuwadocs-font-weight-semibold: 600;
|
|
635
|
+
--tuwadocs-font-weight-bold: 700;
|
|
636
|
+
--tuwadocs-tracking-tight: -0.025em;
|
|
637
|
+
--tuwadocs-radius-md: 0.375rem;
|
|
638
|
+
--tuwadocs-radius-xl: 0.75rem;
|
|
639
|
+
--tuwadocs-radius-2xl: 1rem;
|
|
640
|
+
--tuwadocs-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
641
|
+
--tuwadocs-blur-sm: 8px;
|
|
642
|
+
--tuwadocs-default-transition-duration: 150ms;
|
|
643
|
+
--tuwadocs-default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
@layer utilities {
|
|
647
|
+
.tuwadocs\:font-medium {
|
|
648
|
+
--tw-font-weight: var(--tuwadocs-font-weight-medium);
|
|
649
|
+
font-weight: var(--tuwadocs-font-weight-medium);
|
|
650
|
+
}
|
|
651
|
+
.tuwadocs\:text-\[var\(--tuwa-text-accent\)\] {
|
|
652
|
+
color: var(--tuwa-text-accent);
|
|
653
|
+
}
|
|
654
|
+
.tuwadocs\:underline-offset-4 {
|
|
655
|
+
text-underline-offset: 4px;
|
|
656
|
+
}
|
|
657
|
+
.tuwadocs\:transition-all {
|
|
658
|
+
transition-property: all;
|
|
659
|
+
transition-timing-function: var(--tw-ease, var(--tuwadocs-default-transition-timing-function));
|
|
660
|
+
transition-duration: var(--tw-duration, var(--tuwadocs-default-transition-duration));
|
|
661
|
+
}
|
|
662
|
+
.tuwadocs\:hover\:underline {
|
|
663
|
+
&:hover {
|
|
664
|
+
@media (hover: hover) {
|
|
665
|
+
text-decoration-line: underline;
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
:root {
|
|
671
|
+
--tuwa-primary: #6366f1;
|
|
672
|
+
--tuwa-secondary: #8b5cf6;
|
|
673
|
+
--tuwa-success: #10b981;
|
|
674
|
+
--tuwa-warning: #f59e0b;
|
|
675
|
+
--tuwa-error: #ef4444;
|
|
676
|
+
--tuwa-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
677
|
+
--nextra-primary-hue: 240;
|
|
678
|
+
--nextra-primary-saturation: 100%;
|
|
679
|
+
--x-color-primary-50: rgb(238 242 255);
|
|
680
|
+
--x-color-primary-100: rgb(224 231 255);
|
|
681
|
+
--x-color-primary-200: rgb(199 210 254);
|
|
682
|
+
--x-color-primary-300: rgb(165 180 252);
|
|
683
|
+
--x-color-primary-400: rgb(129 140 248);
|
|
684
|
+
--x-color-primary-500: #6366f1;
|
|
685
|
+
--x-color-primary-600: rgb(79 70 229);
|
|
686
|
+
--x-color-primary-700: rgb(67 56 202);
|
|
687
|
+
--x-color-primary-800: rgb(55 48 163);
|
|
688
|
+
--x-color-primary-900: rgb(49 46 129);
|
|
689
|
+
--x-color-primary-950: rgb(30 27 75);
|
|
690
|
+
--tuwa-footer-border: rgb(229 231 235);
|
|
691
|
+
--tuwa-footer-text-primary: rgb(75 85 99);
|
|
692
|
+
--tuwa-footer-text-secondary: rgb(107 114 128);
|
|
693
|
+
--tuwa-footer-text-muted: rgb(156 163 175);
|
|
694
|
+
--tuwa-footer-link-color: rgb(107 114 128);
|
|
695
|
+
--tuwa-footer-link-hover: rgb(55 65 81);
|
|
696
|
+
--tuwa-footer-npm-hover: rgb(220 38 38);
|
|
697
|
+
--tuwa-footer-discord-hover: var(--tuwa-primary);
|
|
698
|
+
--tuwa-footer-github-hover: rgb(31 41 55);
|
|
699
|
+
}
|
|
700
|
+
.dark {
|
|
701
|
+
--x-color-primary-50: rgb(30 27 75);
|
|
702
|
+
--x-color-primary-100: rgb(49 46 129);
|
|
703
|
+
--x-color-primary-200: rgb(55 48 163);
|
|
704
|
+
--x-color-primary-300: rgb(67 56 202);
|
|
705
|
+
--x-color-primary-400: rgb(79 70 229);
|
|
706
|
+
--x-color-primary-500: var(--tuwa-secondary);
|
|
707
|
+
--x-color-primary-600: rgb(129 140 248);
|
|
708
|
+
--x-color-primary-700: rgb(165 180 252);
|
|
709
|
+
--x-color-primary-800: rgb(199 210 254);
|
|
710
|
+
--x-color-primary-900: rgb(224 231 255);
|
|
711
|
+
--x-color-primary-950: rgb(238 242 255);
|
|
712
|
+
--tuwa-footer-border: rgb(55 65 81);
|
|
713
|
+
--tuwa-footer-text-primary: rgb(209 213 219);
|
|
714
|
+
--tuwa-footer-text-secondary: rgb(156 163 175);
|
|
715
|
+
--tuwa-footer-text-muted: rgb(107 114 128);
|
|
716
|
+
--tuwa-footer-link-color: rgb(156 163 175);
|
|
717
|
+
--tuwa-footer-link-hover: rgb(243 244 246);
|
|
718
|
+
--tuwa-footer-npm-hover: rgb(248 113 113);
|
|
719
|
+
--tuwa-footer-discord-hover: var(--tuwa-secondary);
|
|
720
|
+
--tuwa-footer-github-hover: rgb(243 244 246);
|
|
721
|
+
}
|
|
722
|
+
.tuwa-gradient-text {
|
|
723
|
+
background: var(--tuwa-gradient);
|
|
724
|
+
-webkit-background-clip: text;
|
|
725
|
+
-webkit-text-fill-color: transparent;
|
|
726
|
+
background-clip: text;
|
|
727
|
+
}
|
|
728
|
+
.tuwa-footer-border {
|
|
729
|
+
border-color: var(--tuwa-footer-border);
|
|
730
|
+
border-top-width: 1px;
|
|
731
|
+
}
|
|
732
|
+
.tuwa-footer-description {
|
|
733
|
+
font-size: var(--tuwadocs-text-sm);
|
|
734
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-sm--line-height));
|
|
735
|
+
color: var(--tuwa-footer-text-primary);
|
|
736
|
+
}
|
|
737
|
+
.tuwa-footer-license {
|
|
738
|
+
margin-top: calc(var(--tuwadocs-spacing) * 1);
|
|
739
|
+
font-size: var(--tuwadocs-text-xs);
|
|
740
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-xs--line-height));
|
|
741
|
+
color: var(--tuwa-footer-text-secondary);
|
|
742
|
+
}
|
|
743
|
+
.tuwa-footer-copyright {
|
|
744
|
+
font-size: var(--tuwadocs-text-xs);
|
|
745
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-xs--line-height));
|
|
746
|
+
color: var(--tuwa-footer-text-muted);
|
|
747
|
+
}
|
|
748
|
+
.tuwa-footer-link {
|
|
749
|
+
color: var(--tuwa-footer-link-color);
|
|
750
|
+
transition: all 0.2s ease;
|
|
751
|
+
}
|
|
752
|
+
.tuwa-footer-link:hover {
|
|
753
|
+
color: var(--tuwa-footer-link-hover);
|
|
754
|
+
}
|
|
755
|
+
.tuwa-footer-link--npm:hover {
|
|
756
|
+
color: var(--tuwa-footer-npm-hover);
|
|
757
|
+
}
|
|
758
|
+
.tuwa-footer-link--discord:hover {
|
|
759
|
+
color: var(--tuwa-footer-discord-hover);
|
|
760
|
+
}
|
|
761
|
+
.tuwa-footer-link--github:hover {
|
|
762
|
+
color: var(--tuwa-footer-github-hover);
|
|
763
|
+
}
|
|
764
|
+
.tuwa-heart {
|
|
765
|
+
display: inline-block;
|
|
766
|
+
animation: tuwa-heartbeat 2s ease-in-out infinite;
|
|
767
|
+
color: #ef4444;
|
|
768
|
+
}
|
|
769
|
+
.tuwa-badge {
|
|
770
|
+
display: inline-flex;
|
|
771
|
+
align-items: center;
|
|
772
|
+
border-radius: calc(infinity * 1px);
|
|
773
|
+
padding-inline: calc(var(--tuwadocs-spacing) * 2.5);
|
|
774
|
+
padding-block: calc(var(--tuwadocs-spacing) * 0.5);
|
|
775
|
+
font-size: var(--tuwadocs-text-xs);
|
|
776
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-xs--line-height));
|
|
777
|
+
--tw-font-weight: var(--tuwadocs-font-weight-medium);
|
|
778
|
+
font-weight: var(--tuwadocs-font-weight-medium);
|
|
779
|
+
background: var(--tuwa-gradient);
|
|
780
|
+
color: white;
|
|
781
|
+
transition: all 0.2s ease;
|
|
782
|
+
}
|
|
783
|
+
.tuwa-badge:hover {
|
|
784
|
+
transform: translateY(-1px);
|
|
785
|
+
box-shadow: 0 2px 8px rgb(99 102 241 / 0.25);
|
|
786
|
+
}
|
|
787
|
+
.tuwa-badge--secondary {
|
|
788
|
+
background: linear-gradient(135deg, var(--tuwa-secondary) 0%, #a855f7 100%);
|
|
789
|
+
}
|
|
790
|
+
.tuwa-badge--success {
|
|
791
|
+
background: linear-gradient(135deg, var(--tuwa-success) 0%, #059669 100%);
|
|
792
|
+
}
|
|
793
|
+
[data-nextra-navbar] {
|
|
794
|
+
background: rgba(255, 255, 255, 0.9);
|
|
795
|
+
backdrop-filter: blur(8px);
|
|
796
|
+
border-bottom: 1px solid rgb(229 231 235 / 0.8);
|
|
797
|
+
}
|
|
798
|
+
.dark [data-nextra-navbar] {
|
|
799
|
+
background: rgba(15, 23, 42, 0.9);
|
|
800
|
+
backdrop-filter: blur(8px);
|
|
801
|
+
border-bottom: 1px solid rgb(55 65 81 / 0.8);
|
|
802
|
+
}
|
|
803
|
+
[data-nextra-sidebar] {
|
|
804
|
+
border-right: 1px solid rgb(229 231 235 / 0.8);
|
|
805
|
+
}
|
|
806
|
+
.dark [data-nextra-sidebar] {
|
|
807
|
+
border-right-color: rgb(55 65 81 / 0.8);
|
|
808
|
+
}
|
|
809
|
+
[data-nextra-sidebar] a[data-active='true'] {
|
|
810
|
+
color: var(--tuwa-primary) !important;
|
|
811
|
+
background-color: rgb(99 102 241 / 0.1) !important;
|
|
812
|
+
border-color: var(--tuwa-primary) !important;
|
|
813
|
+
}
|
|
814
|
+
[data-nextra-sidebar] a:hover {
|
|
815
|
+
color: var(--tuwa-primary) !important;
|
|
816
|
+
background-color: rgb(99 102 241 / 0.05) !important;
|
|
817
|
+
}
|
|
818
|
+
[data-nextra-search] input {
|
|
819
|
+
border-color: rgb(229 231 235);
|
|
820
|
+
transition: all 0.2s ease;
|
|
821
|
+
border-radius: 0.5rem;
|
|
822
|
+
}
|
|
823
|
+
[data-nextra-search] input:focus {
|
|
824
|
+
border-color: var(--tuwa-primary) !important;
|
|
825
|
+
box-shadow: 0 0 0 3px rgb(99 102 241 / 0.1) !important;
|
|
826
|
+
}
|
|
827
|
+
[data-nextra-search] [data-reach-combobox-input]:focus {
|
|
828
|
+
border-color: var(--tuwa-primary) !important;
|
|
829
|
+
box-shadow: 0 0 0 2px var(--tuwa-primary) !important;
|
|
830
|
+
}
|
|
831
|
+
[data-nextra-content] h1 {
|
|
832
|
+
background: var(--tuwa-gradient);
|
|
833
|
+
-webkit-background-clip: text;
|
|
834
|
+
-webkit-text-fill-color: transparent;
|
|
835
|
+
background-clip: text;
|
|
836
|
+
}
|
|
837
|
+
[data-nextra-content] h2 {
|
|
838
|
+
color: var(--tuwa-primary);
|
|
839
|
+
}
|
|
840
|
+
[data-nextra-content] h3 {
|
|
841
|
+
color: var(--tuwa-primary);
|
|
842
|
+
}
|
|
843
|
+
[data-nextra-code] {
|
|
844
|
+
border-radius: 0.5rem;
|
|
845
|
+
border: 1px solid rgb(229 231 235);
|
|
846
|
+
background: rgb(249 250 251);
|
|
847
|
+
}
|
|
848
|
+
.dark [data-nextra-code] {
|
|
849
|
+
border-color: rgb(55 65 81);
|
|
850
|
+
background: rgb(23 23 23);
|
|
851
|
+
}
|
|
852
|
+
[data-nextra-code] button:hover {
|
|
853
|
+
background-color: var(--tuwa-primary) !important;
|
|
854
|
+
}
|
|
855
|
+
[data-nextra-content] a {
|
|
856
|
+
color: var(--tuwa-primary) !important;
|
|
857
|
+
text-decoration-color: rgb(99 102 241 / 0.3);
|
|
858
|
+
transition: all 0.2s ease;
|
|
859
|
+
}
|
|
860
|
+
[data-nextra-content] a:hover {
|
|
861
|
+
color: var(--tuwa-secondary) !important;
|
|
862
|
+
text-decoration-color: var(--tuwa-primary);
|
|
863
|
+
}
|
|
864
|
+
[data-nextra-callout='info'] {
|
|
865
|
+
border-color: var(--tuwa-primary) !important;
|
|
866
|
+
background: rgb(99 102 241 / 0.05) !important;
|
|
867
|
+
}
|
|
868
|
+
[data-nextra-callout='warning'] {
|
|
869
|
+
border-color: var(--tuwa-warning) !important;
|
|
870
|
+
background: rgb(245 158 11 / 0.05) !important;
|
|
871
|
+
}
|
|
872
|
+
[data-nextra-callout='error'] {
|
|
873
|
+
border-color: var(--tuwa-error) !important;
|
|
874
|
+
background: rgb(239 68 68 / 0.05) !important;
|
|
875
|
+
}
|
|
876
|
+
[data-nextra-toc] a {
|
|
877
|
+
transition: all 0.2s ease;
|
|
878
|
+
}
|
|
879
|
+
[data-nextra-toc] a:hover {
|
|
880
|
+
color: var(--tuwa-primary) !important;
|
|
881
|
+
}
|
|
882
|
+
[data-nextra-toc] a[data-active='true'] {
|
|
883
|
+
color: var(--tuwa-primary) !important;
|
|
884
|
+
border-color: var(--tuwa-primary) !important;
|
|
885
|
+
}
|
|
886
|
+
[data-nextra-nav] button[data-active='true'] {
|
|
887
|
+
color: var(--tuwa-primary) !important;
|
|
888
|
+
}
|
|
889
|
+
[data-nextra-nav] button:hover {
|
|
890
|
+
color: var(--tuwa-primary) !important;
|
|
891
|
+
}
|
|
892
|
+
[data-nextra-pagination] a:hover {
|
|
893
|
+
border-color: var(--tuwa-primary) !important;
|
|
894
|
+
color: var(--tuwa-primary) !important;
|
|
895
|
+
}
|
|
896
|
+
[data-nextra-theme-toggle]:hover {
|
|
897
|
+
background-color: rgb(99 102 241 / 0.1) !important;
|
|
898
|
+
}
|
|
899
|
+
[data-nextra-hamburger]:hover {
|
|
900
|
+
background-color: rgb(99 102 241 / 0.1) !important;
|
|
901
|
+
}
|
|
902
|
+
[data-nextra-edit-page] {
|
|
903
|
+
color: var(--tuwa-primary) !important;
|
|
904
|
+
}
|
|
905
|
+
[data-nextra-edit-page]:hover {
|
|
906
|
+
color: var(--tuwa-secondary) !important;
|
|
907
|
+
}
|
|
908
|
+
[data-nextra-feedback] {
|
|
909
|
+
color: var(--tuwa-primary) !important;
|
|
910
|
+
}
|
|
911
|
+
[data-nextra-feedback]:hover {
|
|
912
|
+
color: var(--tuwa-secondary) !important;
|
|
913
|
+
}
|
|
914
|
+
.tuwa-button {
|
|
915
|
+
display: inline-flex;
|
|
916
|
+
align-items: center;
|
|
917
|
+
border-radius: var(--tuwadocs-radius-md);
|
|
918
|
+
border-style: var(--tw-border-style);
|
|
919
|
+
border-width: 1px;
|
|
920
|
+
border-color: transparent;
|
|
921
|
+
padding-inline: calc(var(--tuwadocs-spacing) * 4);
|
|
922
|
+
padding-block: calc(var(--tuwadocs-spacing) * 2);
|
|
923
|
+
font-size: var(--tuwadocs-text-sm);
|
|
924
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-sm--line-height));
|
|
925
|
+
--tw-font-weight: var(--tuwadocs-font-weight-medium);
|
|
926
|
+
font-weight: var(--tuwadocs-font-weight-medium);
|
|
927
|
+
background: var(--tuwa-gradient);
|
|
928
|
+
color: white;
|
|
929
|
+
transition: all 0.2s ease;
|
|
930
|
+
}
|
|
931
|
+
.tuwa-button:hover {
|
|
932
|
+
transform: translateY(-1px);
|
|
933
|
+
box-shadow: 0 4px 12px rgb(99 102 241 / 0.3);
|
|
934
|
+
}
|
|
935
|
+
.tuwa-card {
|
|
936
|
+
border-radius: var(--tuwadocs-radius-xl);
|
|
937
|
+
border-style: var(--tw-border-style);
|
|
938
|
+
border-width: 1px;
|
|
939
|
+
border-color: var(--tuwadocs-color-gray-200);
|
|
940
|
+
background-color: var(--tuwadocs-color-white);
|
|
941
|
+
padding: calc(var(--tuwadocs-spacing) * 6);
|
|
942
|
+
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
943
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
944
|
+
transition-property: all;
|
|
945
|
+
transition-timing-function: var(--tw-ease, var(--tuwadocs-default-transition-timing-function));
|
|
946
|
+
transition-duration: var(--tw-duration, var(--tuwadocs-default-transition-duration));
|
|
947
|
+
--tw-duration: 200ms;
|
|
948
|
+
transition-duration: 200ms;
|
|
949
|
+
&:hover {
|
|
950
|
+
@media (hover: hover) {
|
|
951
|
+
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
952
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
@media (prefers-color-scheme: dark) {
|
|
956
|
+
border-color: var(--tuwadocs-color-gray-700);
|
|
957
|
+
}
|
|
958
|
+
@media (prefers-color-scheme: dark) {
|
|
959
|
+
background-color: var(--tuwadocs-color-gray-900);
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
.nextra-nav-container .nx-text-primary-600 {
|
|
963
|
+
color: var(--tuwa-primary) !important;
|
|
964
|
+
}
|
|
965
|
+
.nextra-sidebar-container a[data-active] {
|
|
966
|
+
color: var(--tuwa-primary) !important;
|
|
967
|
+
}
|
|
968
|
+
.nextra-toc a[data-active] {
|
|
969
|
+
color: var(--tuwa-primary) !important;
|
|
970
|
+
}
|
|
971
|
+
[data-nextra-content] a[href^='http']:after {
|
|
972
|
+
filter: hue-rotate(210deg) saturate(1.5);
|
|
973
|
+
}
|
|
974
|
+
@media (max-width: 768px) {
|
|
975
|
+
[data-nextra-navbar] {
|
|
976
|
+
backdrop-filter: none;
|
|
977
|
+
background: white;
|
|
978
|
+
}
|
|
979
|
+
.dark [data-nextra-navbar] {
|
|
980
|
+
background: rgb(15 23 42);
|
|
981
|
+
}
|
|
982
|
+
.tuwa-footer-link span {
|
|
983
|
+
display: none;
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
@keyframes tuwa-float {
|
|
987
|
+
0%,
|
|
988
|
+
100% {
|
|
989
|
+
transform: translateY(0px);
|
|
990
|
+
}
|
|
991
|
+
50% {
|
|
992
|
+
transform: translateY(-4px);
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
.tuwa-float {
|
|
996
|
+
animation: tuwa-float 3s ease-in-out infinite;
|
|
997
|
+
}
|
|
998
|
+
@keyframes tuwa-pulse {
|
|
999
|
+
0%,
|
|
1000
|
+
100% {
|
|
1001
|
+
opacity: 1;
|
|
1002
|
+
}
|
|
1003
|
+
50% {
|
|
1004
|
+
opacity: 0.5;
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
.tuwa-pulse {
|
|
1008
|
+
animation: tuwa-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
1009
|
+
}
|
|
1010
|
+
@keyframes tuwa-heartbeat {
|
|
1011
|
+
0%,
|
|
1012
|
+
100% {
|
|
1013
|
+
transform: scale(1);
|
|
1014
|
+
}
|
|
1015
|
+
50% {
|
|
1016
|
+
transform: scale(1.1);
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
[data-nextra-content]:focus {
|
|
1020
|
+
outline: 2px solid var(--tuwa-primary);
|
|
1021
|
+
outline-offset: 2px;
|
|
1022
|
+
}
|
|
1023
|
+
@property --tw-duration {
|
|
1024
|
+
syntax: "*";
|
|
1025
|
+
inherits: false;
|
|
1026
|
+
}
|
|
1027
|
+
@keyframes pulse {
|
|
1028
|
+
50% {
|
|
1029
|
+
opacity: 0.5;
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
@layer properties {
|
|
1033
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
1034
|
+
*, ::before, ::after, ::backdrop {
|
|
1035
|
+
--tw-border-style: solid;
|
|
1036
|
+
--tw-leading: initial;
|
|
1037
|
+
--tw-font-weight: initial;
|
|
1038
|
+
--tw-tracking: initial;
|
|
1039
|
+
--tw-shadow: 0 0 #0000;
|
|
1040
|
+
--tw-shadow-color: initial;
|
|
1041
|
+
--tw-shadow-alpha: 100%;
|
|
1042
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
1043
|
+
--tw-inset-shadow-color: initial;
|
|
1044
|
+
--tw-inset-shadow-alpha: 100%;
|
|
1045
|
+
--tw-ring-color: initial;
|
|
1046
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
1047
|
+
--tw-inset-ring-color: initial;
|
|
1048
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
1049
|
+
--tw-ring-inset: initial;
|
|
1050
|
+
--tw-ring-offset-width: 0px;
|
|
1051
|
+
--tw-ring-offset-color: #fff;
|
|
1052
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
1053
|
+
--tw-backdrop-blur: initial;
|
|
1054
|
+
--tw-backdrop-brightness: initial;
|
|
1055
|
+
--tw-backdrop-contrast: initial;
|
|
1056
|
+
--tw-backdrop-grayscale: initial;
|
|
1057
|
+
--tw-backdrop-hue-rotate: initial;
|
|
1058
|
+
--tw-backdrop-invert: initial;
|
|
1059
|
+
--tw-backdrop-opacity: initial;
|
|
1060
|
+
--tw-backdrop-saturate: initial;
|
|
1061
|
+
--tw-backdrop-sepia: initial;
|
|
1062
|
+
--tw-translate-x: 0;
|
|
1063
|
+
--tw-translate-y: 0;
|
|
1064
|
+
--tw-translate-z: 0;
|
|
1065
|
+
--tw-space-x-reverse: 0;
|
|
1066
|
+
--tw-duration: initial;
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
}
|
package/dist/index.d.cts
ADDED
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {cn}from'@tuwaio/nova-core';import {jsx}from'react/jsx-runtime';function a({href:e,children:t}){return jsx("a",{className:cn("tuwadocs:font-medium tuwadocs:text-[var(--tuwa-text-accent)]","tuwadocs:transition-all tuwadocs:hover:underline tuwadocs:underline-offset-4"),href:e,target:"_blank",rel:"noopener noreferrer",children:t})}export{a as StyledLink};
|
package/package.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tuwaio/docs-ui",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"private": false,
|
|
5
|
+
"author": "Oleksandr Tkach",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"description": "Unified documentation package for the TUWA Ecosystem.",
|
|
8
|
+
"main": "./dist/index.cjs",
|
|
9
|
+
"module": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"type": "module",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"import": "./dist/index.js",
|
|
15
|
+
"require": "./dist/index.cjs",
|
|
16
|
+
"types": "./dist/index.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./dist/index.css": "./dist/index.css"
|
|
19
|
+
},
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
26
|
+
"keywords": [
|
|
27
|
+
"react",
|
|
28
|
+
"tailwindcss",
|
|
29
|
+
"ui-kit",
|
|
30
|
+
"utils",
|
|
31
|
+
"tuwa",
|
|
32
|
+
"docs"
|
|
33
|
+
],
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/TuwaIO/docs.git",
|
|
37
|
+
"directory": "packages/docs-ui"
|
|
38
|
+
},
|
|
39
|
+
"homepage": "https://github.com/TuwaIO/docs",
|
|
40
|
+
"bugs": {
|
|
41
|
+
"url": "https://github.com/TuwaIO/docs/issues"
|
|
42
|
+
},
|
|
43
|
+
"contributors": [
|
|
44
|
+
{
|
|
45
|
+
"name": "Oleksandr Tkach",
|
|
46
|
+
"url": "https://github.com/Argeare5"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@heroicons/react": "^2.2.0",
|
|
51
|
+
"@tuwaio/nova-core": "^0.2.6",
|
|
52
|
+
"clsx": "^2.1.1",
|
|
53
|
+
"react-syntax-highlighter": "^16.1.0",
|
|
54
|
+
"@types/react-syntax-highlighter": "^15.5.13",
|
|
55
|
+
"tailwind-merge": "^3.4.0"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"react": ">=19.2.3"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@tailwindcss/postcss": "^4.1.18",
|
|
62
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
63
|
+
"@types/react": "^19.2.9",
|
|
64
|
+
"autoprefixer": "^10.4.23",
|
|
65
|
+
"postcss": "^8.5.6",
|
|
66
|
+
"postcss-cli": "^11.0.1",
|
|
67
|
+
"react": "^19.2.3",
|
|
68
|
+
"tailwindcss": "^4.1.18",
|
|
69
|
+
"tsup": "^8.5.1",
|
|
70
|
+
"typescript": "^5.9.3"
|
|
71
|
+
},
|
|
72
|
+
"scripts": {
|
|
73
|
+
"build": "tsup && pnpm exec postcss src/styles/general.css -o ./dist/index.css"
|
|
74
|
+
}
|
|
75
|
+
}
|