Skip to content

Commit

Permalink
fix: apply dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
NaGyeong-Park committed Jul 22, 2023
1 parent 448f83c commit 1e3ffa1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
12 changes: 8 additions & 4 deletions components/session/Table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ export const TableWrapper = styled('div', {
overflowY: 'hidden',
});
export const Table = styled('table', {
border: '1px solid #1C1C1C',
border: '1px solid',
borderCoolor: '$backgroundPrimary',
borderCollapse: 'collapse',
width: 'auto',
});
export const Tr = styled('tr', {
border: '1px solid #1C1C1C',
border: '1px solid',
borderCoolor: '$backgroundPrimary',
textAlign: 'center',
});
export const TdContent = styled('div', {
Expand All @@ -29,11 +31,12 @@ export const TdContent = styled('div', {
},
});
export const Td = styled('td', {
border: '1px solid #1C1C1C',
border: '1px solid',
borderCoolor: '$backgroundPrimary',
textAlign: 'center',
variants: {
c: {
head: { border: '2px solid #1C1C1C' },
head: { border: '2px solid', borderCoolor: '$backgroundPrimary' },
},
},
});
Expand All @@ -57,6 +60,7 @@ export const B5 = styled('p', {
export const CategoryTag = styled('p', {
fontSize: 13,
fontWeight: 400,
color: '#1c1c1c', // 다크모드 미적용
whiteSpace: 'pre-wrap',
textAlign: 'center',
padding: '4px 8px',
Expand Down
6 changes: 3 additions & 3 deletions pages/session/schedule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const ContentBox = styled('div', {
});

const TableTitle = styled('div', {
background: '#000',
color: '#fff',
background: '$backgroundSecondary',
color: '$backgroundPrimary',
whiteSpace: 'pre-wrap',
textAlign: 'center',
padding: '1rem 0',
Expand All @@ -32,7 +32,7 @@ const SelectorBox = styled('div', {
padding: '30px 0',
});
const DaySelector = styled('a', {
color: '#000',
color: '$backgroundSecondary',
fontWeight: 700,
display: 'inline-block',
'&:hover': {
Expand Down

0 comments on commit 1e3ffa1

Please sign in to comment.