0ce66837ae15a697cfe3155bdf2c5e9d45998e0d
This commit adds a sass function that, given one or two colors, returns an odoo palette in sass-map format. The palette will be generated using the safest values possible, setting 'o-color-4' always to '#FFF' and shifting predefined colors' HUE to match the primary color passed to the function. Overrides (eg. 'menu': 4) are supported trough the '$-overrides-map' method. The commit will also allows to customize the "has-enough-contrast" function threshold. Indeed, prior to this commit, the threshold value was locked to '500' in order to spot contrast issues against the tiniest elements (eg. small text). Using a more forgiving '300' value, for example, allows to verify readability of a solid button against a bg. task-2656337 X-original-commit: 61f014a955ed9b9d33e7289c2a8a273a4179b088 Part-of: odoo/odoo#77857
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%