Skip to content
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

Add dark-mode #3437

Merged
merged 63 commits into from
May 3, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
60f3b73
Update comment
dem4ron Feb 6, 2023
cb8a387
Update some whites to bgcolorA, Create vars for progress bar dark the…
dem4ron Feb 8, 2023
281a4c4
Track Overview, Syllabus, Exercises, About tweaks
dem4ron Feb 8, 2023
f5a289c
Tracks, Exercises tweaks
dem4ron Feb 8, 2023
b77f099
Replacing values with variables whereever possible at Exercises, Trac…
dem4ron Feb 9, 2023
09f5a6e
Add darkmode styles to Mentoring
dem4ron Feb 9, 2023
de718ff
Disable any changes on site-header, site-footer
dem4ron Feb 9, 2023
51400a0
Representation tweaks, donation tweaks - WIP
dem4ron Feb 9, 2023
4e02338
Automation modal, Profile
dem4ron Feb 10, 2023
e9b479f
Community page first pass
dem4ron Feb 10, 2023
df8f8b5
Community page swag border
dem4ron Feb 10, 2023
6bc6e73
Settings first pass
dem4ron Feb 14, 2023
b6e0c82
Impact, 12in23, track first pass
dem4ron Feb 14, 2023
98202aa
Fix one Ruby test
dem4ron Feb 14, 2023
1bbe9d6
Replace couple 's with &apos and &quot
dem4ron Feb 14, 2023
9d1e609
Merge main
dem4ron Feb 15, 2023
d2b52b6
Add `mask-image` to concept-map
dem4ron Feb 17, 2023
9803eb7
Fix a test
dem4ron Feb 17, 2023
1983838
Add prefer-color-scheme default (#3477)
iHiD Feb 21, 2023
1cb7c52
Add more filters, adjust colours on track show page, fix missing dark…
dem4ron Feb 22, 2023
467af12
Add track overview details, variables
dem4ron Feb 23, 2023
fe336b6
Track about page details, correct variables, svg masking
dem4ron Feb 23, 2023
35ed384
Add more missing variables, fix misplaced ones
dem4ron Feb 23, 2023
b73c446
Concept-page modifications, updates
dem4ron Feb 24, 2023
5a3ae0e
Fix HLJS theme-unset issue, add variables
dem4ron Feb 24, 2023
743121d
Add variables to multiple svgs, align colors with filters
dem4ron Feb 24, 2023
82fb877
Change Logo colour
dem4ron Feb 24, 2023
eb2e4fa
Fix filters, svg colours on about page
dem4ron Feb 27, 2023
700d241
About pages modifications, fixes
dem4ron Feb 27, 2023
6271cf6
Automation details, cursor color, tooltips - no dark mode, svgs
dem4ron Feb 27, 2023
47f762a
Add unset as modals default
dem4ron Feb 27, 2023
75493a7
Simplify variables, add missing variables
dem4ron Feb 27, 2023
4a5c789
Add more filters and exceptions
dem4ron Feb 27, 2023
ab3a5c1
Set purple filter to be the same in dark more
dem4ron Feb 27, 2023
c500fc0
Fix journey page, notification element svgs
dem4ron Mar 1, 2023
9c7fe5d
Merge main into dark-theme
dem4ron Apr 21, 2023
d66c949
Add Theme Preferences Setting (#3696)
dem4ron Apr 24, 2023
402ee99
change theme name
dem4ron Apr 24, 2023
578dbc2
Site header, footer, tracks list, reduce number of variables
dem4ron Apr 25, 2023
7f69f5c
Tons of stuff
dem4ron Apr 28, 2023
9ac87f6
Many-many changes, fixes
dem4ron Apr 28, 2023
dd17e18
Add more filters, alter some colours, change background for about pag…
dem4ron Apr 28, 2023
b258e61
Remove toggle button
dem4ron Apr 28, 2023
bdf9cc1
More dark mode
dem4ron Apr 28, 2023
9503f97
Move concept line variables into colors.css, add better filter on con…
dem4ron Apr 28, 2023
921d8e6
Add variable for mastered concept backgorund
dem4ron Apr 28, 2023
b6eaf53
Merge branch 'main' into dark-theme
dem4ron Apr 28, 2023
42c4978
Completed heading
dem4ron Apr 28, 2023
355408c
Merge branch 'dark-theme' of https://github.com/exercism/website into…
dem4ron Apr 28, 2023
a961773
Add key
iHiD May 1, 2023
0cd06cb
Add missing filters, make contrast better, tab colors, purple's dark …
dem4ron May 2, 2023
9c3eb6b
Copy text color, removing backgrounds in darkmode, difficulty tags, m…
dem4ron May 2, 2023
10eabcd
Change readonly hljs code background
dem4ron May 2, 2023
cb15f25
Remove blocking filter
dem4ron May 2, 2023
0ccfa49
Patch up donate page
dem4ron May 2, 2023
b27e8f4
12in23
dem4ron May 2, 2023
7ddabda
Adjustments, adding missing filters, etc
dem4ron May 2, 2023
8c25b1f
Turning card number color to grey now..
dem4ron May 2, 2023
d4af20f
Add accessibility-dark theme (#5331)
dem4ron May 3, 2023
4dc5410
Merge branch 'main' into dark-theme
iHiD May 3, 2023
d2f6838
Remove duplicate method
iHiD May 3, 2023
59dc871
Fix bullet issues
iHiD May 3, 2023
e16f645
Disable selected theme selector (#5329)
dem4ron May 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Disable any changes on site-header, site-footer
  • Loading branch information
dem4ron committed Feb 9, 2023
commit de718ffcfc6cab6f0af3b8d84cf6d196c7e1fffb
2 changes: 1 addition & 1 deletion app/css/components/exercise-header.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.c-exercise-header {
/* is it necessary? it creates a 2px top border (site header has 1px bottom-border)
while has a 1px bottom border
while it has a 1px bottom border
which looks a bit disturbing
*/
/* @apply border-t-1 border-color22; */
Expand Down
8 changes: 4 additions & 4 deletions app/css/components/site-footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ body.namespace-.controller-journey {
#site-footer {
/* Show this through JS to avoid CLS */
display: none;
background: #130b43;

margin-top: 100px;
@screen lg {
margin-top: 200px;
}

@apply bg-textColor2;
@apply border-t-8 border-purple;

& .external-section {
Expand Down Expand Up @@ -176,7 +176,7 @@ body.namespace-.controller-journey {
& li {
@apply mb-8;
& a {
@apply text-color22 font-medium text-16 leading-150;
@apply text-[#c8d5ef] font-medium text-16 leading-150;
}
}
}
Expand Down Expand Up @@ -233,10 +233,10 @@ body.namespace-.controller-journey {
}
}
& .legals {
@apply text-color22 text-16 leading-160;
@apply text-[#c8d5ef] text-16 leading-160;
& a {
@apply text-lightPurple font-medium;
@apply border-b-1 border-color22;
@apply border-b-1 border-[#c8d5ef];
}

& .copyright {
Expand Down
4 changes: 3 additions & 1 deletion app/css/components/site-header.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ body.devise {

& .announcement-bar {
@apply block;
@apply bg-textColor2 py-8;
@apply py-8;
/* hardcoding now to remain the same in dark mode */
background: #130b43;
@apply text-lightPurple font-semibold text-16 leading-160 text-center;
& strong {
@apply text-lightGold mx-4 font-semibold;
Expand Down
1 change: 1 addition & 0 deletions app/css/ui-kit/colors.css
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@
--box-shadow-lg: 0px 4px 42px 0px rgba(0, 0, 0, 0.6);
--box-shadow-lgZ1: 0px 4px 42px 0px rgba(0, 0, 0, 0.9);

--white-filter: var(--filter-FFFFFF);
/* This is yellow */
--orange-filter: invert(100%) sepia(52%) saturate(2878%) hue-rotate(329deg)
brightness(106%) contrast(96%);
Expand Down