일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- es6
- array
- dev
- html5
- 함수
- JS
- JavaScript
- object
- ES5+
- AI
- react
- Python
- 최적화
- hatso
- git
- gitCLI
- DOM
- 햇소
- CSS
- API
- 선택자
- github
- hooks
- developerlife
- ES6+
- learn next.js
- 우아한테코톡
- next.js
- 변수
- This
Archives
- Today
- Total
목록유지보수 (1)
codinghatso

Theme 정의하는 방법 테마 객체를 만들어 일관성 있는 디자인 시스템을 구축하는 방법입니다. 유지보수가 용이하며, 생산력을 높여줄 수 있는 방법입니다. // theme.js export const theme = { colors: { primary: '#3498db', secondary: '#2ecc71', text: '#333', background: '#ecf0f1', }, spacing: { small: '8px', medium: '16px', large: '24px', }, }; // App.js import React from 'react'; import { ThemeProvider } from 'styled-components'; import { theme } from './theme'; im..
WEB/React
2024. 1. 10. 23:32