/* Undercooked palette (phase 07, task 01). * * The single source of every colour the DOM and the Canvas 2D renderer * both use. The canvas half re-exports the same hex values from * app/static/js/render/palette.js; tests/unit/test_assets.py asserts the * two files agree, so the CSS and the canvas can never drift apart. * * The four cook colours are what a player sees their own and their * teammates' cooks in; [data-palette="cb"] swaps them for the Okabe-Ito * set, which stays distinguishable under deuteranopia/protanopia. The * semantic colours name the game's state vocabulary (a danger reads red, * a ready reads green, dirt reads mud) and are shared by the CSS, the * JS module and the SVG var() fallbacks in app/static/assets/. */ :root { --uc-cook-1: #e0533d; --uc-cook-2: #3d84a8; --uc-cook-3: #7da84b; --uc-cook-4: #b0699a; --uc-danger: #ff5a4e; --uc-hot: #ffa63d; --uc-ready: #67d16c; --uc-dirty: #9a8f7a; } /* Okabe-Ito cook colours: colourblind-safe (deutan/protan) without losing the "four different cooks" signal. */ [data-palette="cb"] { --uc-cook-1: #d55e00; --uc-cook-2: #0072b2; --uc-cook-3: #009e73; --uc-cook-4: #cc79a7; }