소스 검색

restore less css module className

afc163 7 년 전
부모
커밋
05a7245fe6
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/components/SettingDrawer/ThemeColor.js
  2. 1 1
      src/components/SettingDrawer/ThemeColor.less

+ 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 {