@tuwaio/docs-ui 0.0.16 → 0.0.18

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 +37 -44
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -1014,125 +1014,118 @@
1014
1014
  .tuwa-badge--success {
1015
1015
  background: linear-gradient(135deg, var(--tuwa-success) 0%, #059669 100%);
1016
1016
  }
1017
- [data-nextra-navbar] {
1017
+ .nextra-navbar {
1018
1018
  background: rgba(255, 255, 255, 0.9);
1019
1019
  backdrop-filter: blur(8px);
1020
1020
  border-bottom: 1px solid rgb(229 231 235 / 0.8);
1021
1021
  }
1022
- .dark [data-nextra-navbar] {
1022
+ .dark .nextra-navbar {
1023
1023
  background: rgba(15, 23, 42, 0.9);
1024
1024
  backdrop-filter: blur(8px);
1025
1025
  border-bottom: 1px solid rgb(55 65 81 / 0.8);
1026
1026
  }
1027
- [data-nextra-sidebar] {
1027
+ .nextra-sidebar {
1028
1028
  border-right: 1px solid rgb(229 231 235 / 0.8);
1029
1029
  }
1030
- .dark [data-nextra-sidebar] {
1030
+ .dark .nextra-sidebar {
1031
1031
  border-right-color: rgb(55 65 81 / 0.8);
1032
1032
  }
1033
- [data-nextra-sidebar] a[data-active='true'] {
1033
+ .nextra-sidebar a[data-active] {
1034
1034
  color: var(--tuwa-primary) !important;
1035
1035
  background-color: rgb(99 102 241 / 0.1) !important;
1036
1036
  border-color: var(--tuwa-primary) !important;
1037
1037
  }
1038
- [data-nextra-sidebar] a:hover {
1038
+ .nextra-sidebar a:hover {
1039
1039
  color: var(--tuwa-primary) !important;
1040
1040
  background-color: rgb(99 102 241 / 0.05) !important;
1041
1041
  }
1042
- [data-nextra-search] input {
1042
+ .nextra-search input {
1043
1043
  border-color: rgb(229 231 235);
1044
1044
  transition: all 0.2s ease;
1045
1045
  border-radius: var(--tuwa-rounded-corners);
1046
1046
  }
1047
- [data-nextra-search] input:focus {
1047
+ .nextra-search input:focus {
1048
1048
  border-color: var(--tuwa-primary) !important;
1049
1049
  box-shadow: 0 0 0 3px rgb(99 102 241 / 0.1) !important;
1050
1050
  }
1051
- [data-nextra-search] [data-reach-combobox-input]:focus {
1052
- border-color: var(--tuwa-primary) !important;
1053
- box-shadow: 0 0 0 2px var(--tuwa-primary) !important;
1051
+ article h1,
1052
+ article h2,
1053
+ article h3,
1054
+ article h4 {
1055
+ font-family: var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
1054
1056
  }
1055
- [data-nextra-content] h1 {
1057
+ article h1 {
1056
1058
  background: var(--tuwa-gradient);
1057
1059
  -webkit-background-clip: text;
1058
1060
  -webkit-text-fill-color: transparent;
1059
1061
  background-clip: text;
1060
1062
  }
1061
- [data-nextra-content] h2 {
1063
+ article h2 {
1062
1064
  color: var(--tuwa-primary);
1063
1065
  }
1064
- [data-nextra-content] h3 {
1066
+ article h3 {
1065
1067
  color: var(--tuwa-primary);
1066
1068
  }
1067
- [data-nextra-code] {
1069
+ .nextra-code {
1068
1070
  border-radius: var(--tuwa-rounded-corners);
1069
1071
  border: 1px solid rgb(229 231 235);
1070
1072
  background: rgb(249 250 251);
1071
1073
  }
1072
- .dark [data-nextra-code] {
1074
+ .dark .nextra-code {
1073
1075
  border-color: rgb(55 65 81);
1074
1076
  background: rgb(23 23 23);
1075
1077
  }
1076
- [data-nextra-code] button:hover {
1078
+ .nextra-code button:hover {
1077
1079
  background-color: var(--tuwa-primary) !important;
1078
1080
  }
1079
- [data-nextra-content] a {
1081
+ article a {
1080
1082
  color: var(--tuwa-primary) !important;
1081
1083
  text-decoration-color: rgb(99 102 241 / 0.3);
1082
1084
  transition: all 0.2s ease;
1083
1085
  }
1084
- [data-nextra-content] a:hover {
1086
+ article a:hover {
1085
1087
  color: var(--tuwa-secondary) !important;
1086
1088
  text-decoration-color: var(--tuwa-primary);
1087
1089
  }
1088
- [data-nextra-callout='info'] {
1090
+ .nextra-callout[class*='border-blue-'] {
1089
1091
  border-color: var(--tuwa-primary) !important;
1090
1092
  background: rgb(99 102 241 / 0.05) !important;
1091
1093
  }
1092
- [data-nextra-callout='warning'] {
1094
+ .nextra-callout[class*='border-yellow-'] {
1093
1095
  border-color: var(--tuwa-warning) !important;
1094
1096
  background: rgb(245 158 11 / 0.05) !important;
1095
1097
  }
1096
- [data-nextra-callout='error'] {
1098
+ .nextra-callout[class*='border-red-'] {
1097
1099
  border-color: var(--tuwa-error) !important;
1098
1100
  background: rgb(239 68 68 / 0.05) !important;
1099
1101
  }
1100
- [data-nextra-toc] a {
1102
+ .nextra-toc a {
1101
1103
  transition: all 0.2s ease;
1102
1104
  }
1103
- [data-nextra-toc] a:hover {
1105
+ .nextra-toc a:hover {
1104
1106
  color: var(--tuwa-primary) !important;
1105
1107
  }
1106
- [data-nextra-toc] a[data-active='true'] {
1108
+ .nextra-toc a[data-active] {
1107
1109
  color: var(--tuwa-primary) !important;
1108
1110
  border-color: var(--tuwa-primary) !important;
1109
1111
  }
1110
- [data-nextra-nav] button[data-active='true'] {
1112
+ .nextra-nav-container button[data-active] {
1111
1113
  color: var(--tuwa-primary) !important;
1112
1114
  }
1113
- [data-nextra-nav] button:hover {
1115
+ .nextra-nav-container button:hover {
1114
1116
  color: var(--tuwa-primary) !important;
1115
1117
  }
1116
- [data-nextra-pagination] a:hover {
1118
+ article .nextra-border a:hover {
1117
1119
  border-color: var(--tuwa-primary) !important;
1118
1120
  color: var(--tuwa-primary) !important;
1119
1121
  }
1120
- [data-nextra-theme-toggle]:hover {
1121
- background-color: rgb(99 102 241 / 0.1) !important;
1122
- }
1123
- [data-nextra-hamburger]:hover {
1122
+ .nextra-hamburger:hover {
1124
1123
  background-color: rgb(99 102 241 / 0.1) !important;
1125
1124
  }
1126
- [data-nextra-edit-page] {
1127
- color: var(--tuwa-primary) !important;
1128
- }
1129
- [data-nextra-edit-page]:hover {
1130
- color: var(--tuwa-secondary) !important;
1131
- }
1132
- [data-nextra-feedback] {
1125
+ .nextra-toc .nextra-border a {
1133
1126
  color: var(--tuwa-primary) !important;
1134
1127
  }
1135
- [data-nextra-feedback]:hover {
1128
+ .nextra-toc .nextra-border a:hover {
1136
1129
  color: var(--tuwa-secondary) !important;
1137
1130
  }
1138
1131
  .tuwa-button {
@@ -1186,15 +1179,15 @@
1186
1179
  .nextra-toc a[data-active] {
1187
1180
  color: var(--tuwa-primary) !important;
1188
1181
  }
1189
- [data-nextra-content] a[href^='http']:after {
1182
+ article a[href^='http']:after {
1190
1183
  filter: hue-rotate(210deg) saturate(1.5);
1191
1184
  }
1192
1185
  @media (max-width: 768px) {
1193
- [data-nextra-navbar] {
1186
+ .nextra-navbar {
1194
1187
  backdrop-filter: none;
1195
1188
  background: white;
1196
1189
  }
1197
- .dark [data-nextra-navbar] {
1190
+ .dark .nextra-navbar {
1198
1191
  background: rgb(15 23 42);
1199
1192
  }
1200
1193
  .tuwa-footer-link span {
@@ -1234,7 +1227,7 @@
1234
1227
  transform: scale(1.1);
1235
1228
  }
1236
1229
  }
1237
- [data-nextra-content]:focus {
1230
+ article:focus {
1238
1231
  outline: 2px solid var(--tuwa-primary);
1239
1232
  outline-offset: 2px;
1240
1233
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuwaio/docs-ui",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "private": false,
5
5
  "author": "Oleksandr Tkach",
6
6
  "license": "Apache-2.0",