소스 검색

Change docs icon

main
Steve Ruiz 4 년 전
부모
커밋
9d63160521
2개의 변경된 파일4개의 추가작업 그리고 11개의 파일을 삭제
  1. 3
    9
      components/code-panel/code-panel.tsx
  2. 1
    2
      styles/globals.css

+ 3
- 9
components/code-panel/code-panel.tsx 파일 보기

@@ -8,15 +8,9 @@ import CodeDocs from './code-docs'
8 8
 import { generateFromCode } from 'state/code/generate'
9 9
 import * as Panel from '../panel'
10 10
 import { IconButton } from '../shared'
11
-import {
12
-  X,
13
-  Code,
14
-  Info,
15
-  PlayCircle,
16
-  ChevronUp,
17
-  ChevronDown,
18
-} from 'react-feather'
11
+import { X, Code, PlayCircle, ChevronUp, ChevronDown } from 'react-feather'
19 12
 import dynamic from 'next/dynamic'
13
+import { ReaderIcon } from '@radix-ui/react-icons'
20 14
 const CodeEditor = dynamic(() => import('./code-editor'))
21 15
 
22 16
 const increaseCodeSize = () => state.send('INCREASED_CODE_FONT_SIZE')
@@ -176,7 +170,7 @@ export default function CodePanel(): JSX.Element {
176 170
                 size="small"
177 171
                 onClick={toggleDocs}
178 172
               >
179
-                <Info />
173
+                <ReaderIcon />
180 174
               </IconButton>
181 175
               <IconButton
182 176
                 bp={{ '@initial': 'mobile', '@sm': 'small' }}

+ 1
- 2
styles/globals.css 파일 보기

@@ -8,7 +8,6 @@
8 8
   src: local('Verveine Regular'), url('/VerveineRegular.woff') format('woff');
9 9
 }
10 10
 
11
-
12 11
 .margin {
13 12
   user-select: none;
14
-}
13
+}

Loading…
취소
저장