Skip to content

Commit

Permalink
�fix: 폰트 변경 이슈 수정 (#117)
Browse files Browse the repository at this point in the history
* fix: font 복구

* fix: 동아리 정렬 기준 수정
  • Loading branch information
yougyung committed Feb 22, 2024
1 parent 9f8e3ab commit 7ba4b1e
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 156 deletions.
17 changes: 0 additions & 17 deletions components.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/modal/FilterOption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function FilterOption({
const [active, setActive] = useState<string>('');

useEffect(() => handleList(), [option]);
useEffect(() => handleFilter(), [categoryClubList, recruitClubList]);
useEffect(() => handleFilter(), [sort, categoryClubList, recruitClubList]);

function handleFilter() {
const filtered = recruitClubList.filter((item) =>
Expand Down
86 changes: 28 additions & 58 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,66 +2,36 @@
@tailwind components;
@tailwind utilities;

@layer base {
:root {
--background: 0 0% 100%;
--foreground: 222.2 84% 4.9%;

--card: 0 0% 100%;
--card-foreground: 222.2 84% 4.9%;

--popover: 0 0% 100%;
--popover-foreground: 222.2 84% 4.9%;

--primary: 222.2 47.4% 11.2%;
--primary-foreground: 210 40% 98%;

--secondary: 210 40% 96.1%;
--secondary-foreground: 222.2 47.4% 11.2%;

--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;

--accent: 210 40% 96.1%;
--accent-foreground: 222.2 47.4% 11.2%;

--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;

--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--ring: 222.2 84% 4.9%;

--radius: 0.5rem;
}

.dark {
--background: 222.2 84% 4.9%;
--foreground: 210 40% 98%;

--card: 222.2 84% 4.9%;
--card-foreground: 210 40% 98%;

--popover: 222.2 84% 4.9%;
--popover-foreground: 210 40% 98%;

--primary: 210 40% 98%;
--primary-foreground: 222.2 47.4% 11.2%;

--secondary: 217.2 32.6% 17.5%;
--secondary-foreground: 210 40% 98%;
html {
font-family: 'Pretendard Variable', Pretendard, -apple-system,
BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI',
'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji',
'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
word-break: keep-all;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
::-webkit-scrollbar {
display: none;
}

--muted: 217.2 32.6% 17.5%;
--muted-foreground: 215 20.2% 65.1%;
* {
-webkit-tap-highlight-color: transparent;
}

--accent: 217.2 32.6% 17.5%;
--accent-foreground: 210 40% 98%;
body {
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
}

--destructive: 0 62.8% 30.6%;
--destructive-foreground: 210 40% 98%;
.box-shadow {
box-shadow: 0 0 6px rgba(73, 80, 87, 0.05);
}

--border: 217.2 32.6% 17.5%;
--input: 217.2 32.6% 17.5%;
--ring: 212.7 26.8% 83.9%;
}
.button-shadow {
box-shadow: 0 32px 8px rgba(255, 255, 255, 1);
}
80 changes: 0 additions & 80 deletions tailwind.config.ts

This file was deleted.

0 comments on commit 7ba4b1e

Please sign in to comment.