تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
798 أدوات العرض

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
يونيو 20
7442
1
أبريل 18
4324
2
يونيو 17
5544
0
ديسمبر 15
57
2
يونيو 15
5954