From 9660307f00bd6e6a2c18b1953c44042e75146d8d Mon Sep 17 00:00:00 2001 From: Eva Marco Date: Tue, 11 Feb 2025 11:28:25 +0100 Subject: [PATCH] :bug: Fix opacity valid values (#5820) --- frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs b/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs index 60953fec9c..2a1618e19f 100644 --- a/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs @@ -67,7 +67,7 @@ [value has-references?] (let [parsed-value (wtt/parse-token-value value) - out-of-scope (< 100 (:value parsed-value)) + out-of-scope (not (<= 0 (:value parsed-value) 1)) references (seq (ctob/find-token-value-references value))] (cond (and parsed-value (not out-of-scope))