From 5d7e0a2956de369fab36a2ac7daf2cf0cde111fd Mon Sep 17 00:00:00 2001 From: Adam Argyle Date: Mon, 18 Sep 2023 20:50:11 -0700 Subject: [PATCH] restore --- build/props.js | 10 +++++----- src/props.masks.edges.css | 14 ++++++++------ 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/build/props.js b/build/props.js index 1603aed2..fc8a4f06 100644 --- a/build/props.js +++ b/build/props.js @@ -57,10 +57,10 @@ const individual_colors_hsl = Object.keys(ColorsHSL) [`${pfx}props.${hueName.toLowerCase()}-hsl.css`]: ColorsHSL[hueName] }), {}) -// const individuals = { -// 'props.masks.edges.css': MaskEdges, -// 'props.masks.corner-cuts.css': MaskCornerCuts, -// } +const individuals = { + 'props.masks.edges.css': MaskEdges, + 'props.masks.corner-cuts.css': MaskCornerCuts, +} // gen design tokens const jsonbundle = Object.entries({ @@ -107,7 +107,7 @@ Object.entries({ ...mainbundle, ...individual_colors, ...individual_colors_hsl, - // ...individuals, + ...individuals, }).forEach(([filename, props]) => { buildPropsStylesheet({filename, props}, {selector, prefix}) }) diff --git a/src/props.masks.edges.css b/src/props.masks.edges.css index c7e1a8cc..bcff9799 100644 --- a/src/props.masks.edges.css +++ b/src/props.masks.edges.css @@ -1,13 +1,13 @@ :where(html) { --mask-edge-scoop-bottom: radial-gradient(20px at 50% 100%,#0000 97%,#000) 50% / calc(1.9 * 20px) 100%; --mask-edge-scoop-top: radial-gradient(20px at 50% 0,#0000 97%,#000) 50% / calc(1.9 * 20px) 100%; - --mask-edge-scoop-vertical: radial-gradient(20px at 50% 20px,#0000 97%,#000) 50% -20px / calc(1.9 * 20px) 100%; + --mask-edge-scoop-vertical: radial-gradient(20px at 50% 20px,#0000 97%,#000) 50% -20px/ calc(1.9 * 20px) 100%; --mask-edge-scoop-left: radial-gradient(20px at 0 50%,#0000 97%,#000) 50%/ 100% calc(1.9 * 20px); - --mask-edge-scoop-right: radial-gradient(20px at 100% 50%,#0000 97%,#000) 50% / 100% calc(1.9 * 20px); - --mask-edge-scoop-horizontal: radial-gradient(20px at 20px 50%,#0000 97%,#000) -20px / 100% calc(1.9 * 20px); + --mask-edge-scoop-right: radial-gradient(20px at 100% 50%,#0000 97%,#000) 50%/ 100% calc(1.9 * 20px); + --mask-edge-scoop-horizontal: radial-gradient(20px at 20px 50%,#0000 97%,#000) -20px/ 100% calc(1.9 * 20px); --mask-edge-scalloped: radial-gradient(farthest-side,#000 97%,#0000) 0 0 / 20px 20px round, - linear-gradient(#000 0 0) 50% / calc(100% - 20px) calc(100% - 20px) no-repeat + linear-gradient(#000 0 0) 50%/calc(100% - 20px) calc(100% - 20px) no-repeat ; --mask-edge-scalloped-bottom: linear-gradient(to top,#0000 20px,#000 0), @@ -67,8 +67,10 @@ --mask-edge-zig-zag-right: conic-gradient(from -135deg at right,#0000,#000 1deg 90deg,#0000 91deg) 50% / 100% calc(2 * 20px); --mask-edge-zig-zag-horizontal: conic-gradient(from 45deg at left ,#0000,#000 1deg 90deg,#0000 91deg) left / 51% calc(2 * 20px) repeat-y, - conic-gradient(from -135deg at right,#0000,#000 1deg 90deg,#0000 91deg) right / 51% calc(2 * 20px) repeat-y; + conic-gradient(from -135deg at right,#0000,#000 1deg 90deg,#0000 91deg) right / 51% calc(2 * 20px) repeat-y + ; --mask-edge-zig-zag-vertical: conic-gradient(from 135deg at top ,#0000,#000 1deg 90deg,#0000 91deg) top / calc(2 * 20px) 51% repeat-x, - conic-gradient(from -45deg at bottom,#0000,#000 1deg 90deg,#0000 91deg) bottom / calc(2 * 20px) 51% repeat-x; + conic-gradient(from -45deg at bottom,#0000,#000 1deg 90deg,#0000 91deg) bottom / calc(2 * 20px) 51% repeat-x + ; }