starlight-cannoli-plugins 1.2.0 → 1.2.1

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.
@@ -167,7 +167,6 @@ div > div[class="page"] > svg {
167
167
 
168
168
  // invert img.note-svg when on dark mode
169
169
  img.note-svg {
170
- color-scheme: light dark;
171
170
  padding-top: 1em;
172
171
  padding-bottom: 1em;
173
172
 
@@ -181,5 +180,9 @@ img.note-svg {
181
180
  }
182
181
 
183
182
  .tex-compiled {
184
- background-color: white;
183
+ background-color: transparent;
184
+
185
+ html[data-theme="dark"] & {
186
+ filter: invert(1) hue-rotate(180deg);
187
+ }
185
188
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "starlight-cannoli-plugins",
3
3
  "type": "module",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "description": "Starlight plugins for automatic sidebar generation and link validation",
6
6
  "license": "ISC",
7
7
  "main": "./dist/index.js",