Skip to Content
मेन्यू
This question has been flagged
803 Views

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
}



 


Avatar
Discard
Related Posts Replies Views Activity
2
जून 20
7444
1
अप्रैल 18
4335
2
जून 17
5548
0
दिस॰ 15
57
2
जून 15
5955