Explorar o código

date-picker: highlight current month and year (#14211)

Debiancc %!s(int64=6) %!d(string=hai) anos
pai
achega
0ddc10d652

+ 7 - 0
packages/theme-chalk/src/date-picker/month-table.scss

@@ -10,6 +10,13 @@
     padding: 20px 3px;
     cursor: pointer;
 
+    &.today {
+      .cell {
+        color: $--color-primary;
+        font-weight: bold;
+      }
+    }
+
     &.disabled .cell {
       background-color: $--background-color-base;
       cursor: not-allowed;

+ 7 - 0
packages/theme-chalk/src/date-picker/year-table.scss

@@ -14,6 +14,13 @@
     padding: 20px 3px;
     cursor: pointer;
 
+    &.today {
+      .cell {
+        color: $--color-primary;
+        font-weight: bold;
+      }
+    }
+
     &.disabled .cell {
       background-color: $--background-color-base;
       cursor: not-allowed;