-
Notifications
You must be signed in to change notification settings - Fork 5
[fix] 색상 변수 생성 및 적용 #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[fix] 색상 변수 생성 및 적용 #163
Changes from all commits
f4caaab
6f1f465
50daecf
e72ab9d
0b3f3be
692ad74
3eb8626
ffadc30
4cf739f
7bcb318
9c9a150
c5d8a71
4f3ee67
505d144
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
- name: Node.js 설정 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
node-version: 24 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. node.js v24로 변경 |
||
cache: 'npm' | ||
|
||
- name: 의존성 설치 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,9 @@ | |
<body | ||
class="bg-background-light dark:bg-background-dark h-full flex-col text-base dark:text-white" | ||
> | ||
<!-- 숨겨진 div: Tailwind가 사용할 클래스들을 강제 인식하게 함 --> | ||
<div class="hidden bg-docker-primary bg-docker-hover text-docker-link"></div> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 이거 제가 코드스페이스에서 주석 처리하고 돌려보면 문제되는 지점이 없어보이는데, tailwindcss에서 빌드 과정 중에 필요없는 색상 변수를 제거하는 역할이라고 저는 생각했는데, 이 의도로 추가한 코드가 맞나요?? 그렇다면 이 코드는 제거해도 되지 않나 싶어서요 |
||
|
||
<!-- 최상단 헤더 --> | ||
<header-component></header-component> | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
font-weight: 500; | ||
margin-bottom: 1rem; | ||
margin-top: 2rem; | ||
color: #444; | ||
color: var(--color-content-heading); | ||
} | ||
|
||
#content h1 { | ||
|
@@ -30,14 +30,14 @@ | |
font-size: 1rem; | ||
line-height: 1.6; | ||
margin-bottom: 0.5rem; | ||
color: #222; | ||
color: var(--color-content-text); | ||
} | ||
|
||
#content ul, | ||
#content ol { | ||
margin-left: 1.5rem; | ||
padding-left: 1rem; | ||
color: #222; | ||
color: var(--color-content-text); | ||
} | ||
|
||
#content ul { | ||
|
@@ -64,7 +64,8 @@ | |
|
||
#content pre { | ||
padding: 0.5rem; | ||
border: 2px solid #e1e2e6; | ||
border: 2px solid var(--color-content-code-border); | ||
background: var(--color-content-code-bg); | ||
border-radius: 8px; | ||
overflow-x: auto; | ||
line-height: 1.5; | ||
|
@@ -73,36 +74,36 @@ | |
|
||
#content pre code { | ||
display: block; | ||
background: #fff; | ||
color: #000000; | ||
background: var(--color-white); | ||
color: var(--color-black); | ||
white-space: pre-wrap; | ||
} | ||
|
||
#content code { | ||
font-size: 13px; | ||
background-color: #e1e2e6; | ||
color: #000000; | ||
background-color: var(--color-content-code-inline); | ||
color: var(--color-black); | ||
padding: 2px 6px; | ||
border-radius: 4px; | ||
white-space: nowrap; | ||
} | ||
Comment on lines
75
to
89
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
#content blockquote { | ||
border-left: 4px solid #007bff; | ||
border-left: 4px solid var(--color-content-blockquote); | ||
padding: 0.75rem 1rem; | ||
margin: 1rem 0; | ||
background-color: #f8f9fa; | ||
background-color: var(--color-content-code-bg); | ||
font-style: italic; | ||
color: #555; | ||
color: var(--color-content-muted); | ||
} | ||
|
||
#content a { | ||
color: #007bff; | ||
color: var(--color-content-link); | ||
text-decoration: none; | ||
transition: color 0.2s ease-in-out; | ||
|
||
&:hover { | ||
color: #007bff; | ||
color: var(--color-content-link); | ||
} | ||
|
||
&.external-link::after { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
module.exports = { | ||
darkMode: 'media', // 또는 'class' | ||
/** @type {import('tailwindcss').Config} */ | ||
export default { | ||
content: [ | ||
'./index.html', | ||
'./src/**/*.{js,ts,jsx,tsx}', | ||
'./public/**/*.md', | ||
'./src/scripts/components/*.{js,ts,jsx,tsx}' | ||
], | ||
] | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
node.js v24로 변경