일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- react
- API
- JS
- es6
- Python
- CSS
- developerlife
- 변수
- ES6+
- ES5+
- 최적화
- hatso
- git
- AI
- 햇소
- github
- 우아한테코톡
- DOM
- gitCLI
- html5
- hooks
- dev
- learn next.js
- next.js
- 선택자
- This
- object
- JavaScript
- array
- 함수
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