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

[HelpDot] Add light mode #38107

Merged
merged 25 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ca090a7
setup theme for helpdot
rushatgabhane Mar 11, 2024
283c4de
setup theme for helpdot
rushatgabhane Mar 11, 2024
efaa96a
setup theme for helpdot
rushatgabhane Mar 11, 2024
6913478
Merge branch 'Expensify:main' into light-mode
rushatgabhane Mar 21, 2024
8f2f323
use css vars for theme
rushatgabhane Mar 21, 2024
9e557a1
add light mode colors
rushatgabhane Mar 21, 2024
90239e8
override search colors
rushatgabhane Mar 21, 2024
e7cf572
fix search border color
rushatgabhane Mar 21, 2024
e02017f
fix search bg color when clicked
rushatgabhane Mar 21, 2024
21e6420
make button text color white
rushatgabhane Mar 21, 2024
7595af4
overlap color for light mode
rushatgabhane Mar 21, 2024
4def09e
support light mode logo
rushatgabhane Mar 21, 2024
b71784f
run prettier
rushatgabhane Mar 21, 2024
9c0724d
make platform selector green
rushatgabhane Mar 21, 2024
5384097
rm comment
rushatgabhane Mar 21, 2024
cc3b0b1
rm comment
rushatgabhane Mar 21, 2024
36920e7
fix overlay
rushatgabhane Mar 26, 2024
1d589a2
fix button text
rushatgabhane Mar 26, 2024
86db871
fix link color
rushatgabhane Mar 26, 2024
59606de
fix link hover color
rushatgabhane Mar 26, 2024
b62fc68
fix link hover color
rushatgabhane Mar 26, 2024
32649fb
Merge branch 'Expensify:main' into light-mode
rushatgabhane Mar 26, 2024
8fb7a08
fix link hover color
rushatgabhane Mar 26, 2024
7687e37
Merge branch 'light-mode' of github.com:rushatgabhane/exfy into light…
rushatgabhane Mar 26, 2024
b064a84
fix logo color in dark mode
rushatgabhane Mar 26, 2024
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
75 changes: 40 additions & 35 deletions docs/_sass/_colors.scss
Original file line number Diff line number Diff line change
@@ -1,36 +1,41 @@
// Product Color Spectrum
$color-product-dark-100: #061B09;
$color-product-dark-200: #072419;
$color-product-dark-300: #0A2E25;
$color-product-dark-400: #1A3D32;
$color-product-dark-500: #224F41;
$color-product-dark-600: #2A604F;
$color-product-dark-700: #8B9C8F;
$color-product-dark-800: #AFBBB0;
$color-product-dark-900: #E7ECE9;
:root {
--color-text: #002e22;
--color-button-text: #fff;
--color-text-supporting: #76847e;
--color-icons: #a2a9a3;
--color-borders: #e6e1da;
--color-highlightBG: #f8f4f0;
--color-row-hover: #f2ede7;
--color-appBG: #fcfbf9;
--color-success: #03d47c;
--color-accent: #03d47c;
--color-link: #5ab0ff;
--color-link-hovered: #b0d9ff;
--color-button-background: #e6e1da;
--color-button-background-hover: #d8d1c7;
--color-button-success-background: #03d47c;
--color-button-success-background-hover: #00a862;
--color-overlay: rgba(0, 0, 0, 0.28);
}

// Colors for Links and Success
$color-blue200: #B0D9FF;
$color-blue300: #5AB0FF;
$color-green400: #03D47C;
$color-green500: #00a862;

// Overlay BG color
$color-overlay-background: rgba(26, 61, 50, 0.72);

// UI Colors
$color-text: $color-product-dark-900;
$color-text-supporting: $color-product-dark-800;
$color-icons: $color-product-dark-700;
$color-borders: $color-product-dark-400;
$color-highlightBG: $color-product-dark-200;
$color-row-hover: $color-product-dark-300;
$color-appBG: $color-product-dark-100;
$color-success: $color-green400;
$color-accent : $color-green400;
$color-link: $color-blue300;
$color-link-hovered: $color-blue200;
$color-button-background: $color-product-dark-400;
$color-button-background-hover: $color-product-dark-500;
$color-button-success-background: $color-green400;
$color-button-success-background-hover: $color-green500;
@media (prefers-color-scheme: dark) {
:root {
--color-text: #e7ece9;
--color-button-text: #fff;
--color-text-supporting: #afbbb0;
--color-icons: #8b9c8f;
--color-borders: #1a3d32;
--color-highlightBG: #072419;
--color-row-hover: #0a2e25;
--color-appBG: #061b09;
--color-success: #03d47c;
--color-accent: #03d47c;
--color-link: #5ab0ff;
--color-link-hovered: #b0d9ff;
--color-button-background: #1a3d32;
--color-button-background-hover: #224f41;
--color-button-success-background: #03d47c;
--color-button-success-background-hover: #00a862;
--color-overlay: rgba(26, 61, 50, 0.72);
}
}
Loading
Loading