Explorar el Código

restore less css module className

afc163 hace 7 años
padre
commit
05a7245fe6

+ 1 - 1
src/components/SettingDrawer/ThemeColor.js

@@ -30,7 +30,7 @@ const ThemeColor = ({ colors, title, value, onChange }) => {
     ];
   }
   return (
-    <div className={styles.primaryColor}>
+    <div className={styles.themeColor}>
       <h3 className={styles.title}>{title}</h3>
       <div className={styles.content}>
         {colorList.map(color => {

+ 1 - 1
src/components/SettingDrawer/ThemeColor.less

@@ -1,4 +1,4 @@
-.primaryColor {
+.themeColor {
   overflow: hidden;
   margin-top: 24px;
   .title {