Skip to content

Commit

Permalink
feat(showcase): use new brand colors
Browse files Browse the repository at this point in the history
  • Loading branch information
fpaul-1A committed Mar 11, 2024
1 parent 45db755 commit f9deb42
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 25 deletions.
6 changes: 3 additions & 3 deletions apps/showcase/src/app/app.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ header {
top: 0;
height: 4rem;
width: 100%;
background: var(--bs-primary);
background: var(--bs-primary-800);
box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15), inset 0 -1px 0 rgba(255,255,255,0.15);
z-index: 1021;
display: flex;
align-items: center;
justify-content: flex-start;
color: var(--bs-primary-bg-subtle);
color: var(--bs-primary-500-color);
font-weight: bold;
font-size: 2rem;

.mobile-menu-btn {
color: var(--bs-primary-bg-subtle);
color: var(--bs-primary-500-color);
}

.header-title {
Expand Down
2 changes: 1 addition & 1 deletion apps/showcase/src/assets/otter-sticker.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/showcase/src/style/dark-theme/dark-theme.figma.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"500": {
"$type": "color",
"$value": "#326ce5"
"$value": "#0c66e1"
},
"600": {
"$type": "color",
Expand Down
15 changes: 11 additions & 4 deletions apps/showcase/src/style/dark-theme/dark-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@
--bs-primary-800: var(--color-primary-800);
.nav-pills { --bs-nav-pills-link-active-color: var(--color-primary); }
.navbar-toggler { --bs-navbar-color: var(--bs-primary-bg-subtle); }
.nav.nav-pills .nav-link { --bs-scrollspy-active-color: var(--color-primary-800); }
--color-primary-50: #e6edfc;
--color-primary-100: #c2d3f7;
--color-primary-200: #99b6f2;
--color-primary-300: #7098ed;
--color-primary-400: #5182e9;
--color-primary-500: #326ce5;
--color-primary-500: #0c66e1;
--color-primary-600: #2d64e2;
--color-primary-700: #2659de;
--color-primary-800: #1f4fda;
Expand Down Expand Up @@ -99,6 +98,14 @@
.card { --bs-card-bg: #000000; }
/* --- END THEME Auto-generated --- */

.nav.nav-pills .nav-link { --bs-scrollspy-color: #ffffff; }
.nav-pills { --bs-nav-pills-link-active-bg: transparent; }
.nav.nav-pills .nav-link {
--bs-scrollspy-color: #ffffff;
--bs-nav-pills-link-active-bg: transparent;
}
.input-group-text {
background-color: var(--bs-tertiary-bg);
}
.form-select {
--bs-form-select-bg-img: url("data:image/svg+xml;charset=utf8,%3Csvg version='1.1' viewBox='0 0 1792 1792' style='fill%3a%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1408 704q0 26-19 45l-448 448q-19 19-45 19t-45-19l-448-448q-19-19-19-45t19-45 45-19h896q26 0 45 19t19 45z'/%3E%3C/svg%3E");
}
}
9 changes: 0 additions & 9 deletions apps/showcase/src/style/design-token.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@
"o3rScope": ".navbar-toggler"
}
}
},
"scrollspy": {
"active-color": {
"$type": "color",
"$value": "{color.primary.800}",
"$extensions": {
"o3rScope": ".nav.nav-pills .nav-link"
}
}
}
}
}
4 changes: 2 additions & 2 deletions apps/showcase/src/style/design-token.figma.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"500": {
"$type": "color",
"$value": "#326ce5"
"$value": "#0c66e1"
},
"600": {
"$type": "color",
Expand All @@ -35,7 +35,7 @@
},
"800": {
"$type": "color",
"$value": "#1f4fda"
"$value": "#000835"
},
"900": {
"$type": "color",
Expand Down
1 change: 0 additions & 1 deletion apps/showcase/src/style/horizon-theme/horizon-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
--bs-primary-800: var(--color-primary-800);
.nav-pills { --bs-nav-pills-link-active-color: var(--color-primary); }
.navbar-toggler { --bs-navbar-color: var(--bs-primary-bg-subtle); }
.nav.nav-pills .nav-link { --bs-scrollspy-active-color: var(--color-primary-800); }
--color-primary-50: #f0e4ea;
--color-primary-100: #d8bbca;
--color-primary-200: #bf8da6;
Expand Down
5 changes: 2 additions & 3 deletions apps/showcase/src/style/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@
--bs-primary-800: var(--color-primary-800);
.nav-pills { --bs-nav-pills-link-active-color: var(--color-primary); }
.navbar-toggler { --bs-navbar-color: var(--bs-primary-bg-subtle); }
.nav.nav-pills .nav-link { --bs-scrollspy-active-color: var(--color-primary-800); }
--color-primary-50: #e6edfc;
--color-primary-100: #c2d3f7;
--color-primary-200: #99b6f2;
--color-primary-300: #7098ed;
--color-primary-400: #5182e9;
--color-primary-500: #326ce5;
--color-primary-500: #0c66e1;
--color-primary-600: #2d64e2;
--color-primary-700: #2659de;
--color-primary-800: #1f4fda;
--color-primary-800: #000835;
--color-primary-900: #133dd3;
--color-primary-A700: #839aff;
--color-primary-A400: #9caeff;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"@types/node": "^20.0.0",
"jasmine-marbles/rxjs": "^7.8.1",
"git-url-parse": "^14.0.0",
"gonzales-pe-sl/minimist": "^1.2.0",
"gonzales-pe-sl/minimist": "^1.2.6",
"typescript-json-schema/typescript": "~5.3.3"
},
"dependencies": {
Expand Down

0 comments on commit f9deb42

Please sign in to comment.