Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

fix: update dark mode box-shadow color #34

Merged
merged 2 commits into from
Jun 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion src/components/InstalledApp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export default defineComponent({
.installed-app-link {
text-decoration: none;
.installed-app-icon {
box-shadow: 0px 10px 30px rgba(209, 213, 223, 0.5);
box-shadow: var(--card-shadow);
}
}
.uninstall-btn {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Utility/CircularCheckmark.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ defineProps({
transform: translate3d(-50%, -50%, 0) scale(1); //animated
transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
background: #00cd98;
box-shadow: 0px 10px 30px rgba(209, 213, 223, 0.5);
box-shadow: var(--card-shadow);
border-radius: 50%;
z-index: 0;
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Utility/Seed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ export default defineComponent({
width: 5rem;
border-radius: 50%;
background: #ffffff;
box-shadow: 0px 5px 15px rgba(143, 149, 163, 0.25) !important;
box-shadow: var(--btn-shadow) !important;
transition: box-shadow 0.5s, opacity 0.5s, transform 0.5s ease;
&:not([disabled]) {
&:hover {
box-shadow: 0px 5px 30px rgba(143, 149, 163, 0.35) !important;
box-shadow: var(--btn-shadow-hover) !important;
&.btn-neu-circle-next:not([disabled]) {
transform: translateX(3px);
}
Expand Down
4 changes: 4 additions & 0 deletions src/global-styles/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ html[data-theme='dark'] {
--card-bg: #fff;
--card-shadow: 0px 10px 30px rgba(209, 213, 223, 0.5);
--card-shadow-hover: 0px 10px 30px rgba(209, 213, 223, 0.6);
--btn-shadow: 0px 5px 15px rgba(143, 149, 163, 0.25);
--btn-shadow-hover: 0px 5px 30px rgba(143, 149, 163, 0.35);
--toggle-switch-bg: linear-gradient(346.78deg, #f7fcfc 0%, #fafcfa 100%);
--toggle-switch-selected: #fff;
}
Expand All @@ -152,6 +154,8 @@ html[data-theme='dark'] {
--card-bg: #2a3244;
--card-shadow: 0px 10px 30px rgba(0, 0, 0, 0.4);
--card-shadow-hover: 0px 10px 30px rgba(0, 0, 0, 0.5);
--btn-shadow: 0px 5px 15px rgba(0, 0, 0, 0.25);
--btn-shadow-hover: 0px 5px 30px rgba(0, 0, 0, 0.35);
--toggle-switch-bg: linear-gradient(346.78deg, #484848 0%, #414241 100%);
--toggle-switch-selected: #1c1c26;

Expand Down
2 changes: 1 addition & 1 deletion src/layouts/DashboardLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ html[data-theme='dark'] {
max-width: 280px;
height: calc(var(--vh100, 100vh) - 84px);
background: #fff;
box-shadow: 0px 10px 30px rgba(209, 213, 223, 0.5);
box-shadow: var(--card-shadow);
transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

Expand Down