astro-color-mode
Advanced tools
Comparing version 0.5.1 to 0.5.2
{ | ||
"name": "astro-color-mode", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Provides system or user-defined color scheme preference, with a toggle mechanism. Settings are persisted, component is progressively enhanced and flash of unstyled content avoided. Also, it will provide an easier way to target theme with CSS / SCSS / JS.", | ||
"main": "index.js", | ||
"main": "index.ts", | ||
"type": "module", | ||
"files": [ | ||
"index.ts", | ||
"Props.ts", | ||
"ColorMode.astro", | ||
"use-color-mode.scss", | ||
"CHANGELOG.md" | ||
], | ||
"publishConfig": { | ||
@@ -8,0 +15,0 @@ "access": "public" |
@@ -30,3 +30,3 @@ # 🚀 Astro — Color mode, with user override | ||
```sh | ||
pnpm i @julian_cataldo/astro-color-mode | ||
pnpm i astro-color-mode | ||
``` | ||
@@ -38,3 +38,3 @@ | ||
--- | ||
import ColorMode from '@julian_cataldo/astro-color-mode/ColorMode.astro'; | ||
import { ColorMode } from 'astro-color-mode'; | ||
// ... | ||
@@ -41,0 +41,0 @@ --- |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
9935
8