starlight-cannoli-plugins 2.5.5 → 2.5.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.
@@ -1,5 +1,7 @@
1
1
  /********** Starlight Overrides **********/
2
2
 
3
+ $DARK_MODE_ROTATE: 178deg;
4
+
3
5
  .sl-container:where(.astro-7nkwcw3z) {
4
6
  max-width: 50rem;
5
7
  }
@@ -127,7 +129,7 @@ div > div[class="page"] > svg {
127
129
  html:not([data-theme="light"]) & {
128
130
  stroke: white;
129
131
  fill: white;
130
- filter: invert(1) hue-rotate(168deg);
132
+ filter: invert(1) hue-rotate($DARK_MODE_ROTATE);
131
133
  }
132
134
  }
133
135
 
@@ -175,7 +177,7 @@ img.note-svg {
175
177
  }
176
178
 
177
179
  html:not([data-theme="light"]) & {
178
- filter: invert(1) hue-rotate(168deg);
180
+ filter: invert(1) hue-rotate($DARK_MODE_ROTATE);
179
181
  }
180
182
  }
181
183
 
@@ -183,6 +185,6 @@ img.note-svg {
183
185
  background-color: transparent;
184
186
 
185
187
  html[data-theme="dark"] & {
186
- filter: invert(1) hue-rotate(168deg);
188
+ filter: invert(1) hue-rotate($DARK_MODE_ROTATE);
187
189
  }
188
190
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "starlight-cannoli-plugins",
3
3
  "type": "module",
4
- "version": "2.5.5",
4
+ "version": "2.5.6",
5
5
  "description": "Starlight plugins for automatic sidebar generation and link validation",
6
6
  "license": "ISC",
7
7
  "main": "./dist/index.js",