@tuwaio/docs-ui 0.0.20 → 0.0.22
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/index.css +84 -7
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -536,13 +536,22 @@
|
|
|
536
536
|
--tuwadocs-text-xs--line-height: calc(1 / 0.75);
|
|
537
537
|
--tuwadocs-text-sm: 0.875rem;
|
|
538
538
|
--tuwadocs-text-sm--line-height: calc(1.25 / 0.875);
|
|
539
|
+
--tuwadocs-text-base: 1rem;
|
|
540
|
+
--tuwadocs-text-base--line-height: calc(1.5 / 1);
|
|
539
541
|
--tuwadocs-text-lg: 1.125rem;
|
|
540
542
|
--tuwadocs-text-lg--line-height: calc(1.75 / 1.125);
|
|
543
|
+
--tuwadocs-text-xl: 1.25rem;
|
|
544
|
+
--tuwadocs-text-xl--line-height: calc(1.75 / 1.25);
|
|
541
545
|
--tuwadocs-text-2xl: 1.5rem;
|
|
542
546
|
--tuwadocs-text-2xl--line-height: calc(2 / 1.5);
|
|
547
|
+
--tuwadocs-text-3xl: 1.875rem;
|
|
548
|
+
--tuwadocs-text-3xl--line-height: calc(2.25 / 1.875);
|
|
549
|
+
--tuwadocs-text-4xl: 2.25rem;
|
|
550
|
+
--tuwadocs-text-4xl--line-height: calc(2.5 / 2.25);
|
|
543
551
|
--tuwadocs-font-weight-medium: 500;
|
|
544
552
|
--tuwadocs-font-weight-semibold: 600;
|
|
545
553
|
--tuwadocs-font-weight-bold: 700;
|
|
554
|
+
--tuwadocs-font-weight-extrabold: 800;
|
|
546
555
|
--tuwadocs-tracking-tight: -0.025em;
|
|
547
556
|
--tuwadocs-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
548
557
|
--tuwadocs-blur-sm: 8px;
|
|
@@ -888,6 +897,15 @@
|
|
|
888
897
|
}
|
|
889
898
|
}
|
|
890
899
|
}
|
|
900
|
+
html {
|
|
901
|
+
font-size: 16px;
|
|
902
|
+
transition: font-size 0.2s ease-in-out;
|
|
903
|
+
}
|
|
904
|
+
@media (max-width: 1536px) {
|
|
905
|
+
html {
|
|
906
|
+
font-size: 15px;
|
|
907
|
+
}
|
|
908
|
+
}
|
|
891
909
|
:root {
|
|
892
910
|
--tuwa-primary: #6366f1;
|
|
893
911
|
--tuwa-secondary: #8b5cf6;
|
|
@@ -1014,12 +1032,6 @@
|
|
|
1014
1032
|
.tuwa-badge--success {
|
|
1015
1033
|
background: linear-gradient(135deg, var(--tuwa-success) 0%, #059669 100%);
|
|
1016
1034
|
}
|
|
1017
|
-
.nextra-sidebar {
|
|
1018
|
-
border-right: 1px solid rgb(229 231 235 / 0.8);
|
|
1019
|
-
}
|
|
1020
|
-
.dark .nextra-sidebar {
|
|
1021
|
-
border-right-color: rgb(55 65 81 / 0.8);
|
|
1022
|
-
}
|
|
1023
1035
|
.nextra-sidebar a[data-active] {
|
|
1024
1036
|
color: var(--tuwa-primary) !important;
|
|
1025
1037
|
background-color: rgb(99 102 241 / 0.1) !important;
|
|
@@ -1038,11 +1050,76 @@
|
|
|
1038
1050
|
border-color: var(--tuwa-primary) !important;
|
|
1039
1051
|
box-shadow: 0 0 0 3px rgb(99 102 241 / 0.1) !important;
|
|
1040
1052
|
}
|
|
1053
|
+
.nextra-breadcrumb,
|
|
1054
|
+
.nextra-breadcrumbs {
|
|
1055
|
+
font-family: var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
|
|
1056
|
+
}
|
|
1041
1057
|
article h1,
|
|
1042
1058
|
article h2,
|
|
1043
1059
|
article h3,
|
|
1044
|
-
article h4
|
|
1060
|
+
article h4,
|
|
1061
|
+
article h5,
|
|
1062
|
+
article h6 {
|
|
1045
1063
|
font-family: var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
|
|
1064
|
+
color: var(--tuwa-text-primary) !important;
|
|
1065
|
+
--tw-tracking: var(--tuwadocs-tracking-tight);
|
|
1066
|
+
letter-spacing: var(--tuwadocs-tracking-tight);
|
|
1067
|
+
}
|
|
1068
|
+
article h1 {
|
|
1069
|
+
font-size: var(--tuwadocs-text-3xl);
|
|
1070
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-3xl--line-height));
|
|
1071
|
+
--tw-font-weight: var(--tuwadocs-font-weight-extrabold);
|
|
1072
|
+
font-weight: var(--tuwadocs-font-weight-extrabold);
|
|
1073
|
+
@media (width >= 40rem) {
|
|
1074
|
+
font-size: var(--tuwadocs-text-4xl);
|
|
1075
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-4xl--line-height));
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
article h2 {
|
|
1079
|
+
font-size: var(--tuwadocs-text-2xl);
|
|
1080
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-2xl--line-height));
|
|
1081
|
+
--tw-font-weight: var(--tuwadocs-font-weight-bold);
|
|
1082
|
+
font-weight: var(--tuwadocs-font-weight-bold);
|
|
1083
|
+
@media (width >= 40rem) {
|
|
1084
|
+
font-size: var(--tuwadocs-text-3xl);
|
|
1085
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-3xl--line-height));
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
article h3 {
|
|
1089
|
+
font-size: var(--tuwadocs-text-xl);
|
|
1090
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-xl--line-height));
|
|
1091
|
+
--tw-font-weight: var(--tuwadocs-font-weight-bold);
|
|
1092
|
+
font-weight: var(--tuwadocs-font-weight-bold);
|
|
1093
|
+
@media (width >= 40rem) {
|
|
1094
|
+
font-size: var(--tuwadocs-text-2xl);
|
|
1095
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-2xl--line-height));
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
article h4 {
|
|
1099
|
+
font-size: var(--tuwadocs-text-lg);
|
|
1100
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-lg--line-height));
|
|
1101
|
+
--tw-font-weight: var(--tuwadocs-font-weight-semibold);
|
|
1102
|
+
font-weight: var(--tuwadocs-font-weight-semibold);
|
|
1103
|
+
@media (width >= 40rem) {
|
|
1104
|
+
font-size: var(--tuwadocs-text-xl);
|
|
1105
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-xl--line-height));
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
article h5 {
|
|
1109
|
+
font-size: var(--tuwadocs-text-base);
|
|
1110
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-base--line-height));
|
|
1111
|
+
--tw-font-weight: var(--tuwadocs-font-weight-semibold);
|
|
1112
|
+
font-weight: var(--tuwadocs-font-weight-semibold);
|
|
1113
|
+
@media (width >= 40rem) {
|
|
1114
|
+
font-size: var(--tuwadocs-text-lg);
|
|
1115
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-lg--line-height));
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
article h6 {
|
|
1119
|
+
font-size: var(--tuwadocs-text-sm);
|
|
1120
|
+
line-height: var(--tw-leading, var(--tuwadocs-text-sm--line-height));
|
|
1121
|
+
--tw-font-weight: var(--tuwadocs-font-weight-semibold);
|
|
1122
|
+
font-weight: var(--tuwadocs-font-weight-semibold);
|
|
1046
1123
|
}
|
|
1047
1124
|
.nextra-code button:hover {
|
|
1048
1125
|
background-color: var(--tuwa-primary) !important;
|