@tuwaio/docs-ui 0.0.20 → 0.0.21

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.
Files changed (2) hide show
  1. package/dist/index.css +96 -1
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -536,13 +536,26 @@
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);
551
+ --tuwadocs-text-5xl: 3rem;
552
+ --tuwadocs-text-5xl--line-height: 1;
553
+ --tuwadocs-text-6xl: 3.75rem;
554
+ --tuwadocs-text-6xl--line-height: 1;
543
555
  --tuwadocs-font-weight-medium: 500;
544
556
  --tuwadocs-font-weight-semibold: 600;
545
557
  --tuwadocs-font-weight-bold: 700;
558
+ --tuwadocs-font-weight-extrabold: 800;
546
559
  --tuwadocs-tracking-tight: -0.025em;
547
560
  --tuwadocs-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
548
561
  --tuwadocs-blur-sm: 8px;
@@ -888,6 +901,15 @@
888
901
  }
889
902
  }
890
903
  }
904
+ html {
905
+ font-size: 16px;
906
+ transition: font-size 0.2s ease-in-out;
907
+ }
908
+ @media (max-width: 1536px) {
909
+ html {
910
+ font-size: 15px;
911
+ }
912
+ }
891
913
  :root {
892
914
  --tuwa-primary: #6366f1;
893
915
  --tuwa-secondary: #8b5cf6;
@@ -1041,8 +1063,81 @@
1041
1063
  article h1,
1042
1064
  article h2,
1043
1065
  article h3,
1044
- article h4 {
1066
+ article h4,
1067
+ article h5,
1068
+ article h6 {
1045
1069
  font-family: var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
1070
+ color: var(--tuwa-text-primary) !important;
1071
+ --tw-tracking: var(--tuwadocs-tracking-tight);
1072
+ letter-spacing: var(--tuwadocs-tracking-tight);
1073
+ }
1074
+ article h1 {
1075
+ font-size: var(--tuwadocs-text-4xl);
1076
+ line-height: var(--tw-leading, var(--tuwadocs-text-4xl--line-height));
1077
+ --tw-font-weight: var(--tuwadocs-font-weight-extrabold);
1078
+ font-weight: var(--tuwadocs-font-weight-extrabold);
1079
+ @media (width >= 40rem) {
1080
+ font-size: var(--tuwadocs-text-5xl);
1081
+ line-height: var(--tw-leading, var(--tuwadocs-text-5xl--line-height));
1082
+ }
1083
+ @media (width >= 80rem) {
1084
+ font-size: var(--tuwadocs-text-6xl);
1085
+ line-height: var(--tw-leading, var(--tuwadocs-text-6xl--line-height));
1086
+ }
1087
+ }
1088
+ article h2 {
1089
+ font-size: var(--tuwadocs-text-3xl);
1090
+ line-height: var(--tw-leading, var(--tuwadocs-text-3xl--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-4xl);
1095
+ line-height: var(--tw-leading, var(--tuwadocs-text-4xl--line-height));
1096
+ }
1097
+ @media (width >= 64rem) {
1098
+ font-size: var(--tuwadocs-text-5xl);
1099
+ line-height: var(--tw-leading, var(--tuwadocs-text-5xl--line-height));
1100
+ }
1101
+ }
1102
+ article h3 {
1103
+ font-size: var(--tuwadocs-text-xl);
1104
+ line-height: var(--tw-leading, var(--tuwadocs-text-xl--line-height));
1105
+ --tw-font-weight: var(--tuwadocs-font-weight-bold);
1106
+ font-weight: var(--tuwadocs-font-weight-bold);
1107
+ @media (width >= 48rem) {
1108
+ font-size: var(--tuwadocs-text-2xl);
1109
+ line-height: var(--tw-leading, var(--tuwadocs-text-2xl--line-height));
1110
+ }
1111
+ @media (width >= 64rem) {
1112
+ font-size: var(--tuwadocs-text-3xl);
1113
+ line-height: var(--tw-leading, var(--tuwadocs-text-3xl--line-height));
1114
+ }
1115
+ }
1116
+ article h4 {
1117
+ font-size: var(--tuwadocs-text-lg);
1118
+ line-height: var(--tw-leading, var(--tuwadocs-text-lg--line-height));
1119
+ --tw-font-weight: var(--tuwadocs-font-weight-semibold);
1120
+ font-weight: var(--tuwadocs-font-weight-semibold);
1121
+ @media (width >= 48rem) {
1122
+ font-size: var(--tuwadocs-text-xl);
1123
+ line-height: var(--tw-leading, var(--tuwadocs-text-xl--line-height));
1124
+ }
1125
+ }
1126
+ article h5 {
1127
+ font-size: var(--tuwadocs-text-base);
1128
+ line-height: var(--tw-leading, var(--tuwadocs-text-base--line-height));
1129
+ --tw-font-weight: var(--tuwadocs-font-weight-semibold);
1130
+ font-weight: var(--tuwadocs-font-weight-semibold);
1131
+ @media (width >= 48rem) {
1132
+ font-size: var(--tuwadocs-text-lg);
1133
+ line-height: var(--tw-leading, var(--tuwadocs-text-lg--line-height));
1134
+ }
1135
+ }
1136
+ article h6 {
1137
+ font-size: var(--tuwadocs-text-sm);
1138
+ line-height: var(--tw-leading, var(--tuwadocs-text-sm--line-height));
1139
+ --tw-font-weight: var(--tuwadocs-font-weight-semibold);
1140
+ font-weight: var(--tuwadocs-font-weight-semibold);
1046
1141
  }
1047
1142
  .nextra-code button:hover {
1048
1143
  background-color: var(--tuwa-primary) !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuwaio/docs-ui",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "private": false,
5
5
  "author": "Oleksandr Tkach",
6
6
  "license": "Apache-2.0",