Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

astro-color-mode

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astro-color-mode - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

index.ts

11

package.json
{
"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"

4

README.md

@@ -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 @@ ---

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc