Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
834 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
giu 20
7482
1
apr 18
4349
2
giu 17
5554
0
dic 15
57
2
giu 15
5956