@s9a/dew
v0.3.0
Published
cascading color mode
Downloads
12
Readme
dew fresh
html sample template
<html class="dew-media dew-wet">
meta
<meta name="color-scheme" content="dark light">
<meta name="theme-color" content="hotpink">
stylesheet
<link rel="stylesheet" href="dew.css" media="(color)">
element surface
<link rel="stylesheet" href="surface.css">
icon switch
<link rel="icon" href="icon.svg">
classes
<samp class="dew-media">
<a href="dew-polar" href="#hello">hello</a>
<a href="dew-polar" href="#world">world</a>
</samp>
customize
<html class="dew-media dew-wet dew-diy">
<!-- ... -->
<link rel="stylesheet" href="dew.css">
<link rel="stylesheet" href="diy.css">
--dew-shift: color 0ms;
--dew-slick: mistyrose;
--dew-slime: deeppink;
--dew-solar: orchid;
--dew-lunar: #111;
--dew-locus: currentColor;
--dew-focus: invert(100%);
--dew-hover: hue-rotate(0deg);
--dew-vapor: opacity(60%);