cosmos-docusaurus-theme 1.1.3 → 1.1.4

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/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
 
8
8
  ---
9
9
 
10
+ ## [1.1.4] — 2026-03-10
11
+
12
+ ### Fixed
13
+
14
+ - Tooltip now appears **below** the toggle button instead of above (was clipped
15
+ by the top of the viewport since the navbar sits at the very top of the page)
16
+ - Arrow direction corrected accordingly (points up toward the button)
17
+
10
18
  ## [1.1.3] — 2026-03-10
11
19
 
12
20
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cosmos-docusaurus-theme",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "A clean, dark-first Docusaurus CSS theme based on TailAdmin design system with Outfit typography",
5
5
  "keywords": [
6
6
  "docusaurus",
package/src/css/theme.css CHANGED
@@ -177,7 +177,7 @@ button[aria-label*="dark and light mode"] {
177
177
  button[aria-label*="dark and light mode"]::after {
178
178
  content: attr(title);
179
179
  position: absolute;
180
- bottom: calc(100% + 10px);
180
+ top: calc(100% + 10px);
181
181
  left: 50%;
182
182
  transform: translateX(-50%);
183
183
  padding: 5px 10px;
@@ -195,15 +195,15 @@ button[aria-label*="dark and light mode"]::after {
195
195
  z-index: 100;
196
196
  }
197
197
 
198
- /* Arrow pointing down from tooltip */
198
+ /* Arrow pointing up toward button */
199
199
  button[aria-label*="dark and light mode"]::before {
200
200
  content: '';
201
201
  position: absolute;
202
- bottom: calc(100% + 4px);
202
+ top: calc(100% + 4px);
203
203
  left: 50%;
204
204
  transform: translateX(-50%);
205
205
  border: 5px solid transparent;
206
- border-top-color: #1f2937;
206
+ border-bottom-color: #1f2937;
207
207
  pointer-events: none;
208
208
  opacity: 0;
209
209
  transition: opacity 0.15s ease;
@@ -223,7 +223,8 @@ button[aria-label*="dark and light mode"]:hover::before {
223
223
  }
224
224
 
225
225
  [data-theme='light'] button[aria-label*="dark and light mode"]::before {
226
- border-top-color: #e5e7eb;
226
+ border-bottom-color: #e5e7eb;
227
+ border-top-color: transparent;
227
228
  }
228
229
 
229
230
  /* ── Navbar ──────────────────────────────────────────────────────────────── */