diff --git a/docs/src/examples/style/styleOverview.html b/docs/src/examples/style/styleOverview.html index 9c5c9526..1ec64f3b 100644 --- a/docs/src/examples/style/styleOverview.html +++ b/docs/src/examples/style/styleOverview.html @@ -17,6 +17,14 @@ grid-template-columns: max-content max-content; grid-column-gap: 1em; } + .drop-size { + width: 40px; + height:40px; + } + .drop-shape { + border-radius: 50% 15% 50% 50%; + transform: rotate(-45deg) ; + } .flow { display: flex; gap: 1em; @@ -120,5 +128,8 @@

CSS custom properties

resetFlatterClasses(); } + + +
diff --git a/docs/src/examples/style/useStyles.js b/docs/src/examples/style/useStyles.js index 0c68b4d1..c2ace7e6 100644 --- a/docs/src/examples/style/useStyles.js +++ b/docs/src/examples/style/useStyles.js @@ -11,13 +11,12 @@ import { const root = document.querySelector("#out"); -const dimensions = "width: 40px; height:40px;"; const stanza = ( colorName, color, cssName) => dom (`

${colorName}

${cssName}

-
-
+
+
`); const stanza2= ( colorName, color, cssName) => dom (` @@ -25,10 +24,10 @@ const stanza2= ( colorName, color, cssName) => dom (`

${colorName}

${"--kb-rgb-" + cssName}, ${"--kb-hsla-" + cssName}

-
+
-
-
+
+
`); @@ -41,8 +40,8 @@ root.append( ... stanza( "shadowColor", shadowColor ,"--kolibri-color-shadow" root.append( ... dom (`

shadow

--kolibri-box-shadow

-
-
+
+
`));