@farming-labs/theme 0.0.3-beta.4 → 0.0.3-beta.6
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/package.json +2 -2
- package/styles/greentree.css +29 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farming-labs/theme",
|
|
3
|
-
"version": "0.0.3-beta.
|
|
3
|
+
"version": "0.0.3-beta.6",
|
|
4
4
|
"description": "Theme package for @farming-labs/docs — layout, provider, MDX components, and styles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"next": ">=14.0.0",
|
|
99
99
|
"tsdown": "^0.20.3",
|
|
100
100
|
"typescript": "^5.9.3",
|
|
101
|
-
"@farming-labs/docs": "0.0.3-beta.
|
|
101
|
+
"@farming-labs/docs": "0.0.3-beta.6"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
104
|
"@farming-labs/docs": ">=0.0.1",
|
package/styles/greentree.css
CHANGED
|
@@ -86,7 +86,6 @@ aside#nd-sidebar,
|
|
|
86
86
|
background: var(--color-fd-background);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
/* ── Sidebar links — 14px, 500 weight ────────────────────────── */
|
|
90
89
|
aside a[data-active] {
|
|
91
90
|
font-size: 0.875rem;
|
|
92
91
|
line-height: 1.5;
|
|
@@ -112,21 +111,47 @@ aside a[data-active="true"] {
|
|
|
112
111
|
background-color: rgba(13, 147, 115, 0.08);
|
|
113
112
|
}
|
|
114
113
|
|
|
114
|
+
|
|
115
|
+
|
|
115
116
|
.dark aside a[data-active="true"] {
|
|
116
117
|
background: rgba(38, 189, 108, 0.1);
|
|
117
118
|
background-color: rgba(38, 189, 108, 0.1);
|
|
118
119
|
color: var(--color-fd-primary);
|
|
119
120
|
}
|
|
120
121
|
|
|
122
|
+
/* Reset: no left bar on any sidebar active link by default */
|
|
123
|
+
/* aside a[data-active="true"]::before {
|
|
124
|
+
content: none !important;
|
|
125
|
+
display: none !important;
|
|
126
|
+
width: 0 !important;
|
|
127
|
+
background: transparent !important;
|
|
128
|
+
} */
|
|
129
|
+
|
|
130
|
+
/* .dark aside a[data-active="true"]::before {
|
|
131
|
+
content: none !important;
|
|
132
|
+
display: none !important;
|
|
133
|
+
width: 0 !important;
|
|
134
|
+
background: transparent !important;
|
|
135
|
+
} */
|
|
136
|
+
|
|
137
|
+
aside a[data-active="true"].w-full::before,
|
|
138
|
+
aside .overscroll-contain > div > a[data-active="true"]::before,
|
|
139
|
+
aside .overscroll-contain > div > div > a[data-active="true"]::before {
|
|
140
|
+
content: none !important;
|
|
141
|
+
display: none !important;
|
|
142
|
+
width: 0 !important;
|
|
143
|
+
background: transparent !important;
|
|
144
|
+
}
|
|
145
|
+
|
|
121
146
|
aside a[data-active="true"]::before {
|
|
122
147
|
content: "";
|
|
123
|
-
display: block;
|
|
148
|
+
display: block !important;
|
|
124
149
|
position: absolute;
|
|
125
|
-
left:
|
|
150
|
+
left: 9;
|
|
126
151
|
top: 20%;
|
|
127
152
|
bottom: 20%;
|
|
128
153
|
width: 3px;
|
|
129
|
-
border-radius:
|
|
154
|
+
border-radius: 2px;
|
|
130
155
|
background: var(--color-fd-primary);
|
|
131
156
|
}
|
|
132
157
|
|
|
@@ -333,7 +358,6 @@ nav[class*="header"] {
|
|
|
333
358
|
* ═══════════════════════════════════════════════════════════════════ */
|
|
334
359
|
|
|
335
360
|
figure.shiki {
|
|
336
|
-
border-radius: 10px;
|
|
337
361
|
overflow: hidden;
|
|
338
362
|
border: 1px solid var(--color-fd-border);
|
|
339
363
|
}
|