@farming-labs/theme 0.0.3-beta.5 → 0.0.3-beta.7

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farming-labs/theme",
3
- "version": "0.0.3-beta.5",
3
+ "version": "0.0.3-beta.7",
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.5"
101
+ "@farming-labs/docs": "0.0.3-beta.7"
102
102
  },
103
103
  "peerDependencies": {
104
104
  "@farming-labs/docs": ">=0.0.1",
@@ -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,15 +111,41 @@ 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
150
  left: 9;
126
151
  top: 20%;
@@ -725,3 +750,14 @@ details > :not(summary) {
725
750
  .fd-sidebar::-webkit-scrollbar-track {
726
751
  background: transparent;
727
752
  }
753
+ /* model selector */
754
+
755
+ .fd-ai-model-dropdown-menu {
756
+ box-shadow: none;
757
+ }
758
+
759
+ .fd-ai-model-dropdown-item {
760
+ padding: 6px 10px;
761
+ border: none;
762
+ border-radius: var(--radius, 8px) !important;
763
+ }