@tuwaio/docs-ui 0.0.17 → 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 +36 -49
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -1014,131 +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;
1054
- }
1055
- [data-nextra-content] h1,
1056
- [data-nextra-content] h2,
1057
- [data-nextra-content] h3,
1058
- [data-nextra-content] h4 {
1051
+ article h1,
1052
+ article h2,
1053
+ article h3,
1054
+ article h4 {
1059
1055
  font-family: var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
1060
1056
  }
1061
- [data-nextra-content] h1 {
1057
+ article h1 {
1062
1058
  background: var(--tuwa-gradient);
1063
1059
  -webkit-background-clip: text;
1064
1060
  -webkit-text-fill-color: transparent;
1065
1061
  background-clip: text;
1066
1062
  }
1067
- [data-nextra-content] h2 {
1063
+ article h2 {
1068
1064
  color: var(--tuwa-primary);
1069
1065
  }
1070
- [data-nextra-content] h3 {
1066
+ article h3 {
1071
1067
  color: var(--tuwa-primary);
1072
1068
  }
1073
- [data-nextra-code] {
1069
+ .nextra-code {
1074
1070
  border-radius: var(--tuwa-rounded-corners);
1075
1071
  border: 1px solid rgb(229 231 235);
1076
1072
  background: rgb(249 250 251);
1077
1073
  }
1078
- .dark [data-nextra-code] {
1074
+ .dark .nextra-code {
1079
1075
  border-color: rgb(55 65 81);
1080
1076
  background: rgb(23 23 23);
1081
1077
  }
1082
- [data-nextra-code] button:hover {
1078
+ .nextra-code button:hover {
1083
1079
  background-color: var(--tuwa-primary) !important;
1084
1080
  }
1085
- [data-nextra-content] a {
1081
+ article a {
1086
1082
  color: var(--tuwa-primary) !important;
1087
1083
  text-decoration-color: rgb(99 102 241 / 0.3);
1088
1084
  transition: all 0.2s ease;
1089
1085
  }
1090
- [data-nextra-content] a:hover {
1086
+ article a:hover {
1091
1087
  color: var(--tuwa-secondary) !important;
1092
1088
  text-decoration-color: var(--tuwa-primary);
1093
1089
  }
1094
- [data-nextra-callout='info'] {
1090
+ .nextra-callout[class*='border-blue-'] {
1095
1091
  border-color: var(--tuwa-primary) !important;
1096
1092
  background: rgb(99 102 241 / 0.05) !important;
1097
1093
  }
1098
- [data-nextra-callout='warning'] {
1094
+ .nextra-callout[class*='border-yellow-'] {
1099
1095
  border-color: var(--tuwa-warning) !important;
1100
1096
  background: rgb(245 158 11 / 0.05) !important;
1101
1097
  }
1102
- [data-nextra-callout='error'] {
1098
+ .nextra-callout[class*='border-red-'] {
1103
1099
  border-color: var(--tuwa-error) !important;
1104
1100
  background: rgb(239 68 68 / 0.05) !important;
1105
1101
  }
1106
- [data-nextra-toc] a {
1102
+ .nextra-toc a {
1107
1103
  transition: all 0.2s ease;
1108
1104
  }
1109
- [data-nextra-toc] a:hover {
1105
+ .nextra-toc a:hover {
1110
1106
  color: var(--tuwa-primary) !important;
1111
1107
  }
1112
- [data-nextra-toc] a[data-active='true'] {
1108
+ .nextra-toc a[data-active] {
1113
1109
  color: var(--tuwa-primary) !important;
1114
1110
  border-color: var(--tuwa-primary) !important;
1115
1111
  }
1116
- [data-nextra-nav] button[data-active='true'] {
1112
+ .nextra-nav-container button[data-active] {
1117
1113
  color: var(--tuwa-primary) !important;
1118
1114
  }
1119
- [data-nextra-nav] button:hover {
1115
+ .nextra-nav-container button:hover {
1120
1116
  color: var(--tuwa-primary) !important;
1121
1117
  }
1122
- [data-nextra-pagination] a:hover {
1118
+ article .nextra-border a:hover {
1123
1119
  border-color: var(--tuwa-primary) !important;
1124
1120
  color: var(--tuwa-primary) !important;
1125
1121
  }
1126
- [data-nextra-theme-toggle]:hover {
1127
- background-color: rgb(99 102 241 / 0.1) !important;
1128
- }
1129
- [data-nextra-hamburger]:hover {
1122
+ .nextra-hamburger:hover {
1130
1123
  background-color: rgb(99 102 241 / 0.1) !important;
1131
1124
  }
1132
- [data-nextra-edit-page] {
1133
- color: var(--tuwa-primary) !important;
1134
- }
1135
- [data-nextra-edit-page]:hover {
1136
- color: var(--tuwa-secondary) !important;
1137
- }
1138
- [data-nextra-feedback] {
1125
+ .nextra-toc .nextra-border a {
1139
1126
  color: var(--tuwa-primary) !important;
1140
1127
  }
1141
- [data-nextra-feedback]:hover {
1128
+ .nextra-toc .nextra-border a:hover {
1142
1129
  color: var(--tuwa-secondary) !important;
1143
1130
  }
1144
1131
  .tuwa-button {
@@ -1192,15 +1179,15 @@
1192
1179
  .nextra-toc a[data-active] {
1193
1180
  color: var(--tuwa-primary) !important;
1194
1181
  }
1195
- [data-nextra-content] a[href^='http']:after {
1182
+ article a[href^='http']:after {
1196
1183
  filter: hue-rotate(210deg) saturate(1.5);
1197
1184
  }
1198
1185
  @media (max-width: 768px) {
1199
- [data-nextra-navbar] {
1186
+ .nextra-navbar {
1200
1187
  backdrop-filter: none;
1201
1188
  background: white;
1202
1189
  }
1203
- .dark [data-nextra-navbar] {
1190
+ .dark .nextra-navbar {
1204
1191
  background: rgb(15 23 42);
1205
1192
  }
1206
1193
  .tuwa-footer-link span {
@@ -1240,7 +1227,7 @@
1240
1227
  transform: scale(1.1);
1241
1228
  }
1242
1229
  }
1243
- [data-nextra-content]:focus {
1230
+ article:focus {
1244
1231
  outline: 2px solid var(--tuwa-primary);
1245
1232
  outline-offset: 2px;
1246
1233
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuwaio/docs-ui",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "private": false,
5
5
  "author": "Oleksandr Tkach",
6
6
  "license": "Apache-2.0",