๐ŸŽฉ You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP โ†’
Sign In

cli-hue-forge

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-hue-forge - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+1
-1
package.json
{
"name": "cli-hue-forge",
"version": "1.0.0",
"version": "1.0.1",
"description": "Generate OKLCH color shade ladders from CSS custom properties.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,2 +0,1 @@

# ๐ŸŽจ generate-shades-from-css

@@ -94,4 +93,15 @@

### Light/Dark Theme Setup ๐ŸŒ—
To enable the `light-dark()` functionality and apply your generated theme variables based on user preference, add the following snippet to your main CSS file. This toggles the `data-theme` attribute on `<html>` and sets the `color-scheme` property so built-in UI elements adapt correctly:
```css
@layer base {
html[data-theme="light"] {
color-scheme: light;
}
html[data-theme="dark"] {
color-scheme: dark;
}
}
```
#### Output to file ๐Ÿ’พ

@@ -98,0 +108,0 @@ ```sh