前端修改样式
This commit is contained in:
10
code_backend_theme/static/src/js/fields/colors.js
Normal file
10
code_backend_theme/static/src/js/fields/colors.js
Normal file
@@ -0,0 +1,10 @@
|
||||
/** @odoo-module **/
|
||||
import { getColor } from "@web/views/graph/colors";
|
||||
|
||||
var code_backend_color = ["#556ee6", "#f1b44c", "#50a5f1", "#ffbb78", "#34c38f", "#98df8a", "#d62728",
|
||||
"#ff9896", "#9467bd", "#c5b0d5", "#8c564b", "#c49c94", "#e377c2", "#f7b6d2",
|
||||
"#7f7f7f", "#c7c7c7", "#bcbd22", "#dbdb8d", "#17becf", "#9edae5"];
|
||||
|
||||
for (let i=0;i<code_backend_color.length;i++){
|
||||
getColor[i] = code_backend_color[i]
|
||||
}
|
||||
Reference in New Issue
Block a user