@tuwaio/docs-ui 0.0.17 → 0.0.19

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 +31 -65
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -1014,131 +1014,97 @@
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 {
1062
- background: var(--tuwa-gradient);
1063
- -webkit-background-clip: text;
1064
- -webkit-text-fill-color: transparent;
1065
- background-clip: text;
1066
- }
1067
- [data-nextra-content] h2 {
1068
- color: var(--tuwa-primary);
1069
- }
1070
- [data-nextra-content] h3 {
1071
- color: var(--tuwa-primary);
1072
- }
1073
- [data-nextra-code] {
1074
- border-radius: var(--tuwa-rounded-corners);
1075
- border: 1px solid rgb(229 231 235);
1076
- background: rgb(249 250 251);
1077
- }
1078
- .dark [data-nextra-code] {
1079
- border-color: rgb(55 65 81);
1080
- background: rgb(23 23 23);
1081
- }
1082
- [data-nextra-code] button:hover {
1057
+ .nextra-code button:hover {
1083
1058
  background-color: var(--tuwa-primary) !important;
1084
1059
  }
1085
- [data-nextra-content] a {
1060
+ article a {
1086
1061
  color: var(--tuwa-primary) !important;
1087
1062
  text-decoration-color: rgb(99 102 241 / 0.3);
1088
1063
  transition: all 0.2s ease;
1089
1064
  }
1090
- [data-nextra-content] a:hover {
1065
+ article a:hover {
1091
1066
  color: var(--tuwa-secondary) !important;
1092
1067
  text-decoration-color: var(--tuwa-primary);
1093
1068
  }
1094
- [data-nextra-callout='info'] {
1069
+ .nextra-callout[class*='border-blue-'] {
1095
1070
  border-color: var(--tuwa-primary) !important;
1096
1071
  background: rgb(99 102 241 / 0.05) !important;
1097
1072
  }
1098
- [data-nextra-callout='warning'] {
1073
+ .nextra-callout[class*='border-yellow-'] {
1099
1074
  border-color: var(--tuwa-warning) !important;
1100
1075
  background: rgb(245 158 11 / 0.05) !important;
1101
1076
  }
1102
- [data-nextra-callout='error'] {
1077
+ .nextra-callout[class*='border-red-'] {
1103
1078
  border-color: var(--tuwa-error) !important;
1104
1079
  background: rgb(239 68 68 / 0.05) !important;
1105
1080
  }
1106
- [data-nextra-toc] a {
1081
+ .nextra-toc a {
1107
1082
  transition: all 0.2s ease;
1108
1083
  }
1109
- [data-nextra-toc] a:hover {
1084
+ .nextra-toc a:hover {
1110
1085
  color: var(--tuwa-primary) !important;
1111
1086
  }
1112
- [data-nextra-toc] a[data-active='true'] {
1087
+ .nextra-toc a[data-active] {
1113
1088
  color: var(--tuwa-primary) !important;
1114
1089
  border-color: var(--tuwa-primary) !important;
1115
1090
  }
1116
- [data-nextra-nav] button[data-active='true'] {
1091
+ .nextra-nav-container button[data-active] {
1117
1092
  color: var(--tuwa-primary) !important;
1118
1093
  }
1119
- [data-nextra-nav] button:hover {
1094
+ .nextra-nav-container button:hover {
1120
1095
  color: var(--tuwa-primary) !important;
1121
1096
  }
1122
- [data-nextra-pagination] a:hover {
1097
+ article .nextra-border a:hover {
1123
1098
  border-color: var(--tuwa-primary) !important;
1124
1099
  color: var(--tuwa-primary) !important;
1125
1100
  }
1126
- [data-nextra-theme-toggle]:hover {
1127
- background-color: rgb(99 102 241 / 0.1) !important;
1128
- }
1129
- [data-nextra-hamburger]:hover {
1101
+ .nextra-hamburger:hover {
1130
1102
  background-color: rgb(99 102 241 / 0.1) !important;
1131
1103
  }
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] {
1104
+ .nextra-toc .nextra-border a {
1139
1105
  color: var(--tuwa-primary) !important;
1140
1106
  }
1141
- [data-nextra-feedback]:hover {
1107
+ .nextra-toc .nextra-border a:hover {
1142
1108
  color: var(--tuwa-secondary) !important;
1143
1109
  }
1144
1110
  .tuwa-button {
@@ -1192,15 +1158,15 @@
1192
1158
  .nextra-toc a[data-active] {
1193
1159
  color: var(--tuwa-primary) !important;
1194
1160
  }
1195
- [data-nextra-content] a[href^='http']:after {
1161
+ article a[href^='http']:after {
1196
1162
  filter: hue-rotate(210deg) saturate(1.5);
1197
1163
  }
1198
1164
  @media (max-width: 768px) {
1199
- [data-nextra-navbar] {
1165
+ .nextra-navbar {
1200
1166
  backdrop-filter: none;
1201
1167
  background: white;
1202
1168
  }
1203
- .dark [data-nextra-navbar] {
1169
+ .dark .nextra-navbar {
1204
1170
  background: rgb(15 23 42);
1205
1171
  }
1206
1172
  .tuwa-footer-link span {
@@ -1240,7 +1206,7 @@
1240
1206
  transform: scale(1.1);
1241
1207
  }
1242
1208
  }
1243
- [data-nextra-content]:focus {
1209
+ article:focus {
1244
1210
  outline: 2px solid var(--tuwa-primary);
1245
1211
  outline-offset: 2px;
1246
1212
  }
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.19",
4
4
  "private": false,
5
5
  "author": "Oleksandr Tkach",
6
6
  "license": "Apache-2.0",