跳至内容
菜单
此问题已终结
833 查看

Hi everyone, 

Could someone explain to me how I can add new scss variables to dark mode to use them in my custom module? 

// Variables
// light mode
$field-hr-br-left: #113377;
$field-hr-bg-color: #f5f6f8;
// dark mode 
$field-hr-br-left: #919367;
$field-hr-bg-color: #353648;
// where I want to use the variables
.data-group-fields .o_wrap_input {
​​border-left: 3px solid $field-hr-br-left !important;
​background-color: $field-hr-bg-color;
​border-radius: 0 10px 10px 0
}



 


形象
丢弃
相关帖文 回复 查看 活动
2
6月 20
7482
1
4月 18
4349
2
6月 17
5554
0
12月 15
57
2
6月 15
5956