File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 77
88<script >
99 const closeHiringBanner = () => {
10- document.documentElement.style.setProperty("--hiring-banner-height", "0")
10+ // we have to specify unit here for this value to be valid in calc() calls
11+ document.documentElement.style.setProperty("--hiring-banner-height", "0rem")
1112 document.getElementById("hiring-banner").remove()
1213 }
1314
2930 padding: 0 0.5rem;
3031 height: var(--hiring-banner-height);
3132 width: 100%;
32- background-color: var(--color-secondary -red);
33+ background-color: var(--color-alert -red);
3334 }
3435
3536 a {
Original file line number Diff line number Diff line change @@ -47,11 +47,12 @@ const { title } = Astro.props
4747 --color-secondary-green: #d8f0e2;
4848 --color-secondary-orange: #fff0e2;
4949 --color-secondary-purple: #e4e6fc;
50- --color-secondary-red: #ba4943;
50+ --color-secondary-red: #fff6f5; /* used in how we work pg */
5151 --color-secondary-blue: #ebf3fe;
5252 --color-secondary-peach: #fdf2e9;
5353
5454 --color-tertiary-green: #1b8043;
55+ --color-alert-red: #ba4943;
5556
5657 --background-color: #ffffff;
5758 --text-color-primary: var(--color-primary-black);
You can’t perform that action at this time.
0 commit comments