Avatar for the reflex-dev user
reflex-dev
reflex
BlogDocsChangelog

fix: improve invalid color error messages for literal color props

#6433
Comparing
BABTUNA:fix-4955-invalid-color-error-message
(
4a9b718
) with
main
(
ada8c53
)
CodSpeed Performance Gauge
0%
Untouched
17
Skipped
2

Benchmarks

19 total
test_compile_page[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
+2%
1.7 ms1.7 ms
test_get_all_imports_single_pass[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
test_get_all_imports_single_pass[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
448.7 µs447.6 µs
test_compile_page_single_pass[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
13.3 ms13.2 ms
test_process_event
tests/benchmarks/test_event_processing.py
CodSpeed Performance Gauge
0%
7.5 ms7.5 ms
test_compile_page[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
8.4 ms8.4 ms
test_compile_single_pass_all_artifacts[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
13 ms13 ms
test_compile_page_full_context[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
15.9 ms15.9 ms
test_get_all_imports[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
test_compile_single_pass_all_artifacts[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
134.6 ms134.8 ms
test_compile_page_single_pass[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
139.2 ms139.5 ms
test_evaluate_page[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
6.5 ms6.5 ms
test_evaluate_page_single_pass[_stateful_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
0%
7.3 ms7.3 ms
test_get_all_imports[_stateful_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
551.5 µs553.4 µs
test_compile_page_full_context[_complicated_page]
tests/benchmarks/test_compilation.py
CodSpeed Performance Gauge
0%
147.4 ms148.1 ms
test_evaluate_page_single_pass[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
-1%
39.8 ms40.2 ms
test_evaluate_page[_complicated_page]
tests/benchmarks/test_evaluate.py
CodSpeed Performance Gauge
-1%
39 ms39.4 ms
test_compile_stateful[_stateful_page]
tests/benchmarks/test_compilation.py
Skipped
147.9 µs*
test_compile_stateful[_complicated_page]
tests/benchmarks/test_compilation.py
Skipped
594 µs*

Commits

Click on a commit to change the comparison range
Base
main
ada8c53
-6.29%
fix(types): avoid TypedDict subclass checks in color validation
6d2c747
17 hours ago
by BABTUNA
+6.04%
fix(style): allow Reflex color tokens and tighten color checks
9df8c10
17 hours ago
by BABTUNA
+0.15%
fix(style): allow legacy none and border-color var shorthands
4a9b718
16 hours ago
by BABTUNA
© 2026 CodSpeed Technology
Home Terms Privacy Docs