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