You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b90563d
Browse filesBrowse the repository at this point in the historyBrowse files
description="A camera and QR recognition moment with a viewfinder sweep, bracket lock, confirmation pulse, and verified next beat."
16
-
variables={[{"id":"scanColor","type":"string","role":"style","label":"Scan color","description":"Any CSS color value used by the scan line and recognition glow.","default":"var(--brand)"},{"id":"targetLabel","type":"string","role":"content","label":"Target label","description":"Confirmation label revealed at recognition lock. Blank hides the line.","default":"Verified"},{"id":"sweepSpeed","type":"number","role":"timing","label":"Sweep speed","description":"Speed multiplier for the scan sweep phase only.","default":1,"min":0.8,"max":1.6,"step":0.1,"unit":"x"}]}
16
+
variables={[{"id":"scanColor","type":"string","role":"style","label":"Scan color","description":"Any CSS color value used by the scan line and recognition glow.","default":"var(--brand, #22c55e)"},{"id":"targetLabel","type":"string","role":"content","label":"Target label","description":"Confirmation label revealed at recognition lock. Blank hides the line.","default":"Verified"},{"id":"sweepSpeed","type":"number","role":"timing","label":"Sweep speed","description":"Speed multiplier for the scan sweep phase only.","default":1,"min":0.8,"max":1.6,"step":0.1,"unit":"x"}]}
@@ -40,7 +40,7 @@ import { InstallCommand } from "/snippets/install-command.jsx";
40
40
it for passive camera decoration or a generic loading state.
41
41
42
42
Variables (declared in data-composition-variables below):
43
-
- scanColor (string, default "var(--brand)"): any CSS color value used by
43
+
- scanColor (string, default "var(--brand, #22c55e)"): any CSS color value used by
44
44
the scan line, lock brackets, and confirmation glow.
45
45
- targetLabel (string, default "Verified"): label revealed at lock. Empty
46
46
string hides the label line entirely.
@@ -80,7 +80,7 @@ import { InstallCommand } from "/snippets/install-command.jsx";
80
80
<html
81
81
lang="en"
82
82
data-composition-variables='[
83
-
{ "id": "scanColor", "type": "string", "role": "style", "label": "Scan color", "description": "Any CSS color value used by the scan line and recognition glow.", "default": "var(--brand)" },
83
+
{ "id": "scanColor", "type": "string", "role": "style", "label": "Scan color", "description": "Any CSS color value used by the scan line and recognition glow.", "default": "var(--brand, #22c55e)" },
0 commit comments