Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
840 Widoki

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
}



 


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
cze 20
7483
1
kwi 18
4351
2
cze 17
5554
0
gru 15
57
2
cze 15
5958