diff --git a/addons/beyond_base/static/src/scss/beyond_variables.scss b/addons/beyond_base/static/src/scss/beyond_variables.scss index 4c12e8c..36055f6 100644 --- a/addons/beyond_base/static/src/scss/beyond_variables.scss +++ b/addons/beyond_base/static/src/scss/beyond_variables.scss @@ -11,12 +11,17 @@ // the backend and the POS: Odoo's own variables are declared with !default and // therefore respect whatever is defined here. // -// SCOPE — only cross-cutting brand tokens live here. The launcher's orange -// (#C55A22) and purple (#8C4A72) are deliberately NOT tokens: they are not -// brand colours, they are the colour-coding of the three launcher blocks and -// mean nothing outside that screen. Publishing them in this bundle would push -// them into the backend and POS and invite their use as semantic colours. -// They live as local variables in webclient/beyond_launcher.scss. +// SCOPE — only cross-cutting brand tokens live here. A colour graduates to a +// token when a second screen needs it, not before. +// · The purple graduated (18-aug-2026): it started as the launcher's "QR" +// block and now also paints the kiosk page and the "Abrir código QR" +// dialog, so it is the checador's colour and lives here as +// $beyond-kiosco. +// · The launcher's orange (#C55A22) did NOT: it is still the colour-coding +// of one block on one screen and means nothing outside it. It stays a +// local variable in webclient/beyond_launcher.scss. Publishing it in this +// bundle would push it into the backend and POS and invite its use as a +// semantic colour. // // TYPOGRAPHY — the design uses Manrope. The @font-face rules are declared in // webclient/beyond_launcher.scss because the woff2 files are only wired into @@ -29,13 +34,21 @@ $beyond-primary: #0E6B57; $beyond-primary-dark: #0A5B49; $beyond-primary-darker: #084C3D; +// Checador purple. The launcher's "QR" block, the kiosk page background and +// the "Abrir código QR" dialog, with its hover/pressed states. +$beyond-kiosco: #8C4A72; +$beyond-kiosco-dark: #7C3E64; +$beyond-kiosco-darker: #6B3556; + // Surfaces $beyond-surface: #F6F5F1; // warm page background $beyond-surface-hover: #ECEAE3; // hover on a surface-coloured control +$beyond-surface-active: #E2DFD6; // pressed/hover on an already-tinted control // Ink $beyond-ink: #23201D; // primary text, icon strokes, focus ring $beyond-ink-soft: #4A453E; // secondary labels +$beyond-ink-softer: #7A736A; // body copy, table cells, muted icon strokes $beyond-ink-muted: #A39C91; // supporting text (signature, metadata) // Web client brand colour: $o-brand-primary, $o-action and Bootstrap's diff --git a/addons/beyond_base/static/src/webclient/beyond_launcher.scss b/addons/beyond_base/static/src/webclient/beyond_launcher.scss index 9023ba9..cee9b79 100644 --- a/addons/beyond_base/static/src/webclient/beyond_launcher.scss +++ b/addons/beyond_base/static/src/webclient/beyond_launcher.scss @@ -12,9 +12,10 @@ // popover service writes. :has() is supported by the target browsers // (BRIEF §8). // -// Local, on purpose: the orange and purple below are the launcher's block -// colour-coding, not brand colours, so they are NOT tokens in -// scss/beyond_variables.scss. See the SCOPE note there. +// Local, on purpose: the orange below is this one block's colour-coding, not a +// brand colour, so it is NOT a token in scss/beyond_variables.scss. The purple +// used to live here too and graduated to $beyond-kiosco once the kiosk page and +// the "Abrir código QR" dialog started using it. See the SCOPE note there. // ============================================================================= // "Panel General" block @@ -22,11 +23,6 @@ $beyond-launcher-panel: #C55A22; $beyond-launcher-panel-hover: #B14E1B; $beyond-launcher-panel-active: #984115; -// "QR" block -$beyond-launcher-qr: #8C4A72; -$beyond-launcher-qr-hover: #7C3E64; -$beyond-launcher-qr-active: #6B3556; - $beyond-font-family: Manrope, ui-sans-serif, system-ui, sans-serif; // ----------------------------------------------------------------------------- @@ -229,10 +225,10 @@ $beyond-font-family: Manrope, ui-sans-serif, system-ui, sans-serif; } .beyond_block_qr { - background: $beyond-launcher-qr; + background: $beyond-kiosco; - &:hover { background: $beyond-launcher-qr-hover; } - &:active { background: $beyond-launcher-qr-active; } + &:hover { background: $beyond-kiosco-dark; } + &:active { background: $beyond-kiosco-darker; } } // -------------------------------------------------------------------------