Skip to content

Commit

Permalink
colors and shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Feb 1, 2024
1 parent 7f3ebdc commit 1d7a45d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 23 deletions.
5 changes: 4 additions & 1 deletion client/src/curriculum/modules-list.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
@use "../ui/vars" as *;

.curriculum-content-container {
--module-shadow: 4px 4px 8px 0 rgba(179, 179, 179, 0.18),
-4px 4px 8px 0 rgba(179, 179, 179, 0.15);

.curriculum-content {
.modules {
input[type="radio"]:not(:checked) ~ ol {
Expand Down Expand Up @@ -106,7 +109,7 @@
.module-list-item {
border: 0;
border-radius: var(--elem-radius);
box-shadow: var(--shadow-02);
box-shadow: var(--module-shadow);
display: flex;
flex-direction: column;
justify-self: center;
Expand Down
44 changes: 22 additions & 22 deletions client/src/ui/base/_themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -208,18 +208,18 @@
--baseline-limited-cross: #ea8600;

--cur-bg-color: #fcefe2;
--cur-bg-color-topic-standards: #d5f4f5;
--cur-bg-color-topic-styling: #eff5d5;
--cur-bg-color-topic-scripting: #fff8d6;
--cur-bg-color-topic-tooling: #d5e4f5;
--cur-bg-color-topic-practices: #f5dfd5;
--cur-bg-color-topic-standards: #{$mdn-color-light-theme-red-10};
--cur-bg-color-topic-styling: #{$mdn-color-light-theme-blue-10};
--cur-bg-color-topic-scripting: #{$mdn-color-light-theme-yellow-10};
--cur-bg-color-topic-tooling: #{$mdn-color-light-theme-green-10};
--cur-bg-color-topic-practices: #{$mdn-color-light-theme-violet-10};
--cur-category-color: #e3642a;
--cur-color: #d47d55;
--cur-color-topic-standards: #187b7f;
--cur-color-topic-styling: #187f22;
--cur-color-topic-scripting: #7f6f16;
--cur-color-topic-tooling: #182f7f;
--cur-color-topic-practices: #a25e3f;
--cur-color-topic-standards: #{$mdn-color-light-theme-red-60};
--cur-color-topic-styling: #{$mdn-color-light-theme-blue-60};
--cur-color-topic-scripting: #{$mdn-color-light-theme-yellow-60};
--cur-color-topic-tooling: #{$mdn-color-light-theme-green-60};
--cur-color-topic-practices: #{$mdn-color-light-theme-violet-60};

color-scheme: light;
}
Expand Down Expand Up @@ -428,18 +428,18 @@
--baseline-limited-check: #1e8e3e;
--baseline-limited-cross: #ea8600;

--cur-color: #fcefe2;
--cur-color-topic-standards: #d5f4f5;
--cur-color-topic-styling: #eff5d5;
--cur-color-topic-scripting: #fff8d6;
--cur-color-topic-tooling: #d5e4f5;
--cur-color-topic-practices: #f5dfd5;
--cur-bg-color: #d47d55;
--cur-bg-color-topic-standards: #187b7f;
--cur-bg-color-topic-styling: #187f22;
--cur-bg-color-topic-scripting: #7f6f16;
--cur-bg-color-topic-tooling: #182f7f;
--cur-bg-color-topic-practices: #a25e3f;
--cur-color: #e3642a;
--cur-color-topic-standards: #{$mdn-color-light-theme-red-30};
--cur-color-topic-styling: #{$mdn-color-light-theme-blue-30};
--cur-color-topic-scripting: #{$mdn-color-light-theme-yellow-40};
--cur-color-topic-tooling: #{$mdn-color-light-theme-green-40};
--cur-color-topic-practices: #{$mdn-color-light-theme-violet-40};
--cur-bg-color: #664b33;
--cur-bg-color-topic-standards: #{$mdn-color-light-theme-red-70};
--cur-bg-color-topic-styling: #{$mdn-color-light-theme-blue-70};
--cur-bg-color-topic-scripting: #{$mdn-color-light-theme-yellow-70};
--cur-bg-color-topic-tooling: #{$mdn-color-light-theme-green-70};
--cur-bg-color-topic-practices: #{$mdn-color-light-theme-violet-70};
--cur-category-color: #e3642a;

color-scheme: dark;
Expand Down

0 comments on commit 1d7a45d

Please sign in to comment.