Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
792 มุมมอง

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
}



 


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มิ.ย. 20
7441
How to add quantity in Asset Management? แก้ไขแล้ว
1
เม.ย. 18
4323
2
มิ.ย. 17
5543
0
ธ.ค. 15
57
2
มิ.ย. 15
5954