Skip to content

Commit

Permalink
Merge pull request #7 from MARU-EGG/Client-Tailwin-config-setting
Browse files Browse the repository at this point in the history
Chore: tailwind CSS configuration setting
  • Loading branch information
swgvenghy authored Jul 19, 2024
2 parents c3d2f56 + 210f01b commit afc3305
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

@font-face {
font-family: 'Pretendard';
src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
}
23 changes: 22 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,28 @@
module.exports = {
content: ['./src/**/*.{html,js,jsx,ts,tsx}'],
theme: {
extend: {},
extend: {
colors: {
'primary-blue': '#002968',
'primary-selected-bg': 'rgba(0,41,104,0.06)',
'text-black': '#000000',
'text-white': '#FFFFFF',
'border-gray': '#EBEBEB',
},
screens: {
mobile: '360px',
desktop: '769px',
},
fontFamily: {
pretendard: 'Pretendard',
},
fontSize: {
body1: ['16px', { lineHeight: '24px', fontWeight: '400' }],
body2: ['16px', { lineHeight: '24px', fontWeight: '500' }],
body3: ['14px', { lineHeight: '20px', fontWeight: '500' }],
title: ['24px', { lineHeight: '32px', fontWeight: '700' }],
},
},
},
plugins: [],
};

0 comments on commit afc3305

Please sign in to comment.