Skip to content

Commit bd6b223

Browse files
authored
Merge pull request #3286 from codecrafters-io/pk-branch-7
pk-branch-7
2 parents 43fcf8f + 1b46cff commit bd6b223

File tree

201 files changed

+318
-318
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+318
-318
lines changed

app/components/affiliate-link-page/accept-referral-container.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<div class="flex flex-col items-center">
3131
{{! Disabled buttons can be translucent, the added background makes them more visible }}
32-
<div class="inline-flex bg-white dark:bg-gray-900 rounded-sm">
32+
<div class="inline-flex bg-white dark:bg-gray-925 rounded-sm">
3333
<AffiliateLinkPage::AcceptReferralButton @affiliateLink={{@affiliateLink}} @course={{@course}} />
3434
</div>
3535

app/components/affiliate-link-page/hero-section.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div class="flex flex-col md:flex-row gap-12" ...attributes>
22
<div class="flex flex-col">
3-
<h1 class="text-3xl text-gray-925 font-bold mb-6 md:text-4xl">
3+
<h1 class="text-3xl text-gray-950 font-bold mb-6 md:text-4xl">
44
Become a
55
<span class="font-extrabold">better, confident</span>
66
programmer.
77
</h1>
8-
<p class="text-lg text-gray-850">Stop letting advanced programming projects intimidate you. Start approaching them with the calm and confidence of
8+
<p class="text-lg text-gray-900">Stop letting advanced programming projects intimidate you. Start approaching them with the calm and confidence of
99
a craftsman who has seen it before.</p>
1010

1111
<hr class="h-1 text-gray-200 mt-5 mb-5" />

app/components/badges-page/badge-earned-modal.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div
2-
class="rounded-md shadow-xs overflow-hidden border border-gray-850 relative shrink overflow-y-auto px-6 sm:px-16 py-16 min-h-0 w-full max-w-(--breakpoint-lg) from-[#181818] to-[#0A0A0A] bg-linear-to-br"
2+
class="rounded-md shadow-xs overflow-hidden border border-gray-900 relative shrink overflow-y-auto px-6 sm:px-16 py-16 min-h-0 w-full max-w-(--breakpoint-lg) from-[#181818] to-[#0A0A0A] bg-linear-to-br"
33
{{on-click-outside @onClose}}
44
...attributes
55
data-test-badge-earned-modal

app/components/billing-status-badge/discount-timer-badge.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<LinkTo
22
@route="pay"
3-
class="flex bg-linear-to-b from-gray-600 to-gray-925 border border-yellow-600 rounded-sm shadow-xs
3+
class="flex bg-linear-to-b from-gray-600 to-gray-950 border border-yellow-600 rounded-sm shadow-xs
44
{{if (eq @size 'small') 'px-1.5 py-1 text-xs'}}
55
{{if (eq @size 'large') 'px-2 py-1.5 text-sm'}}"
66
data-test-discount-timer-badge

app/components/code-walkthrough-page/header.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="text-gray-400 uppercase text-xs font-bold tracking-wider mb-2">
66
SOURCE WALKTHROUGH
77
</div>
8-
<h1 class="text-gray-850 text-2xl md:text-5xl font-bold mb-4">
8+
<h1 class="text-gray-900 text-2xl md:text-5xl font-bold mb-4">
99
{{@codeWalkthrough.title}}
1010
</h1>
1111
<div class="text-gray-600 max-w-lg leading-relaxed mb-4">

app/components/collapsible-faq-list-item.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{{svg-jar "chevron-down" class=(concat "w-5 h-5 transition-transform duration-500 " (if @isOpen "rotate-180"))}}
1010
</div>
1111

12-
<div class="font-semibold text-gray-850 dark:text-gray-200">{{@faq.question_markdown}}</div>
12+
<div class="font-semibold text-gray-900 dark:text-gray-200">{{@faq.question_markdown}}</div>
1313
</div>
1414

1515
<AnimatedContainer>

app/components/comment-card/downvote-button.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<button
22
type="button"
3-
class="hover:bg-white dark:hover:bg-gray-850 px-1 py-0.5 rounded-sm flex items-center border
3+
class="hover:bg-white dark:hover:bg-gray-900 px-1 py-0.5 rounded-sm flex items-center border
44
{{if
55
this.currentUserHasDownvoted
66
'border-red-500 hover:border-red-600'

app/components/comment-card/index.hbs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div
22
data-test-comment-card
33
data-test-child-comment="{{if @comment.parentComment true false}}"
4-
class="w-full {{if @comment.parentComment 'min-w-0' 'bg-white dark:bg-gray-900 rounded-sm'}}"
4+
class="w-full {{if @comment.parentComment 'min-w-0' 'bg-white dark:bg-gray-925 rounded-sm'}}"
55
...attributes
66
>
77
{{#if this.isEditing}}
@@ -17,7 +17,7 @@
1717
{{if
1818
@comment.parentComment
1919
'py-1'
20-
'bg-gray-100 dark:bg-gray-825 rounded-t py-2 px-4 border-b border-gray-200 dark:border-white/5 shadow-xs'
20+
'bg-gray-100 dark:bg-gray-850 rounded-t py-2 px-4 border-b border-gray-200 dark:border-white/5 shadow-xs'
2121
}}"
2222
>
2323
<div class="flex items-center flex-wrap">
@@ -64,20 +64,20 @@
6464
</dd.Trigger>
6565
<dd.Content>
6666
<div
67-
class="py-2 border border-gray-200 rounded-sm shadow-sm text-sm text-gray-600 min-w-[150px] max-w-xl bg-white dark:bg-gray-900"
67+
class="py-2 border border-gray-200 rounded-sm shadow-sm text-sm text-gray-600 min-w-[150px] max-w-xl bg-white dark:bg-gray-925"
6868
data-test-more-dropdown-content
6969
>
70-
<div class="px-3 py-1 hover:bg-gray-50 dark:hover:bg-gray-850 flex items-center justify-between group">
70+
<div class="px-3 py-1 hover:bg-gray-50 dark:hover:bg-gray-900 flex items-center justify-between group">
7171
<div role="button" {{on "click" (fn this.updateCommentStatus "approved" dd.actions)}}>
7272
Approved
7373
</div>
7474
</div>
75-
<div class="px-3 py-1 hover:bg-gray-50 dark:hover:bg-gray-850 flex items-center justify-between group">
75+
<div class="px-3 py-1 hover:bg-gray-50 dark:hover:bg-gray-900 flex items-center justify-between group">
7676
<div role="button" {{on "click" (fn this.updateCommentStatus "rejected" dd.actions)}}>
7777
Rejected
7878
</div>
7979
</div>
80-
<div class="px-3 py-1 hover:bg-gray-50 dark:hover:bg-gray-850 flex items-center justify-between group">
80+
<div class="px-3 py-1 hover:bg-gray-50 dark:hover:bg-gray-900 flex items-center justify-between group">
8181
<div role="button" {{on "click" (fn this.updateCommentStatus "awaiting_approval" dd.actions)}}>
8282
Awaiting Approval
8383
</div>
@@ -123,7 +123,7 @@
123123
{{/if}}
124124

125125
{{#if (gt this.visibleChildComments.length 0)}}
126-
<div class="bg-gray-50 dark:bg-gray-825 py-2 px-4 border-t border-gray-200 dark:border-white/5 {{if this.shouldShowReplyForm '' 'rounded-b'}}">
126+
<div class="bg-gray-50 dark:bg-gray-850 py-2 px-4 border-t border-gray-200 dark:border-white/5 {{if this.shouldShowReplyForm '' 'rounded-b'}}">
127127
{{#each this.visibleChildComments as |childComment|}}
128128
<div class="flex items-start">
129129
<a href={{childComment.user.codecraftersProfileUrl}} class="mt-0.5 flex items-center shrink-0" target="_blank" rel="noopener noreferrer">
@@ -151,7 +151,7 @@
151151
Hide rejected replies
152152
</TertiaryButton>
153153
</div>
154-
<div class="bg-gray-50 dark:bg-gray-825 py-2 px-4 border-t border-gray-200 dark:border-white/5 rounded-b">
154+
<div class="bg-gray-50 dark:bg-gray-850 py-2 px-4 border-t border-gray-200 dark:border-white/5 rounded-b">
155155
{{#each this.rejectedChildComments as |childComment|}}
156156
<div class="flex items-start">
157157
<a href={{childComment.user.codecraftersProfileUrl}} class="mt-0.5 flex items-center shrink-0" target="_blank" rel="noopener noreferrer">

app/components/comment-card/more-dropdown.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</dd.Trigger>
77
<dd.Content>
88
<div
9-
class="py-2 border border-gray-200 dark:border-white/10 rounded-sm shadow-sm text-sm text-gray-600 dark:text-gray-300 min-w-[150px] max-w-xl bg-white dark:bg-gray-900"
9+
class="py-2 border border-gray-200 dark:border-white/10 rounded-sm shadow-sm text-sm text-gray-600 dark:text-gray-300 min-w-[150px] max-w-xl bg-white dark:bg-gray-925"
1010
data-test-more-dropdown-content
1111
>
1212
{{#if (eq this.currentUser @comment.user)}}

app/components/comment-card/reply-button.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{! @glint-nocheck: not typesafe yet }}
22
<button
33
type="button"
4-
class="pr-2 pl-1 py-0.5 rounded-sm flex items-center hover:bg-white dark:hover:bg-gray-850 border border-gray-200 dark:border-white/5 hover:border-gray-300 dark:hover:border-gray-700/60 transition-all duration-75"
4+
class="pr-2 pl-1 py-0.5 rounded-sm flex items-center hover:bg-white dark:hover:bg-gray-900 border border-gray-200 dark:border-white/5 hover:border-gray-300 dark:hover:border-gray-700/60 transition-all duration-75"
55
...attributes
66
data-test-reply-button
77
>

0 commit comments

Comments
 (0)