Skip to content

Commit 6c8b576

Browse files
authored
feat: Update all colors to use the DSDL (#539)
2 parents b5c3e33 + 3025d1e commit 6c8b576

File tree

17 files changed

+80
-89
lines changed

17 files changed

+80
-89
lines changed

src/_data/initiatives.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
button:
1616
text: Explore Mobility Marketplace
1717
url: https://camobilitymarketplace.org
18-
class: --calitp-primary-blue
18+
class: --calitp-brand-blue
1919
- tag: Benefits
2020
slug: benefits
2121
id: automating-customer-discounts
@@ -43,7 +43,7 @@
4343
text: Explore Mobility Marketplace
4444
url: https://camobilitymarketplace.org
4545
class: d-none
46-
class: --calitp-red-5
46+
class: --dsdl-red-80
4747
- tag: GTFS
4848
slug: gtfs
4949
id: standardizing-trip-quality
@@ -65,4 +65,4 @@
6565
text: Explore Mobility Marketplace
6666
url: https://camobilitymarketplace.org
6767
class: d-none
68-
class: --calitp-purple-4
68+
class: --dsdl-purple-70

src/_includes/home-stats.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<div class="col-12">
2323
<h2 class="h1 text-center">Impact across California</h2>
2424
<div class="row justify-content-center pt-3 pt-3 pt-lg-5 mt-lg-1 pb-4 mb-lg-3">
25-
<div class="col-11 mb-4 mb-lg-0 col-lg-3 px-4 text-center background-yellow-4 clipped-home-stat-1">
25+
<div class="col-11 mb-4 mb-lg-0 col-lg-3 px-4 text-center background-yellow-30 clipped-home-stat-1">
2626
<p class="fs-stats pt-3 mt-3 mt-lg-5">68%</p>
2727
<p class="fs-4 fw-bold lh-sm px-3">
2828
Increase in reduced-fare transactions<sup id="fnref:1" role="doc-noteref"><a class="link-body-emphasis text-decoration-none"
@@ -32,7 +32,7 @@ <h2 class="h1 text-center">Impact across California</h2>
3232
<a class="pb-3 mb-3 mb-lg-5 fw-normal link-body-emphasis d-inline-block"
3333
href="/customer-stories#stories-benefits-MST">Learn how Monterey-Salinas Transit made it simpler to access transit benefits.</a>
3434
</div>
35-
<div class="col-11 mb-4 mt-2 mt-lg-0 mb-lg-0 col-lg-3 px-4 offset-lg-1 text-center background-yellow-4 clipped-home-stat-2">
35+
<div class="col-11 mb-4 mt-2 mt-lg-0 mb-lg-0 col-lg-3 px-4 offset-lg-1 text-center background-yellow-30 clipped-home-stat-2">
3636
<p class="fs-stats pt-3 mt-3 mt-lg-5">229,988</p>
3737
<p class="fs-4 fw-bold lh-sm px-3">
3838
Trips using a contactless credit/debit card<sup id="fnref:2" role="doc-noteref"><a class="link-body-emphasis text-decoration-none"
@@ -42,7 +42,7 @@ <h2 class="h1 text-center">Impact across California</h2>
4242
<a class="pb-3 mb-3 mb-lg-5 fw-normal link-body-emphasis d-inline-block"
4343
href="/customer-stories#stories-contactless-payments-GCTD">Read how Glenn County is implementing contactless payments.</a>
4444
</div>
45-
<div class="col-11 mb-lg-4 mt-2 mt-lg-0 mb-lg-0 col-lg-3 px-4 offset-lg-1 text-center background-yellow-4 clipped-home-stat-3">
45+
<div class="col-11 mb-lg-4 mt-2 mt-lg-0 mb-lg-0 col-lg-3 px-4 offset-lg-1 text-center background-yellow-30 clipped-home-stat-3">
4646
<p class="fs-stats pt-3 mt-3 mt-lg-5">91%</p>
4747
<p class="fs-4 fw-bold lh-sm px-3">
4848
Reduction of expired GTFS Schedule Feeds<sup id="fnref:3" role="doc-noteref"><a class="link-body-emphasis text-decoration-none"

src/_layouts/press.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
<div class="row justify-content-center">
1717
<div class="col-lg-8 col-md-8">
1818
<article class="press-release pb-5 mb-5">
19-
<a class="d-block text-decoration-none mb-2 pt-3 mt-5 text-primary-blue"
20-
href="/press">Press</a>
19+
<a class="d-block text-decoration-none mb-2 pt-3 mt-5" href="/press">Press</a>
2120
<h1 class="h2">{{ page.heading }}</h1>
2221
{% if page.lead %}<p>{{ page.lead }}</p>{% endif %}
2322
<hr />

src/_layouts/resource.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
<div class="row justify-content-center">
1818
<div class="col-lg-8 col-md-8">
1919
<article class="press-release pb-5 mb-5">
20-
<a class="d-block text-decoration-none mb-2 pt-3 mt-5 text-primary-blue"
21-
href="/resources">Resource</a>
20+
<a class="d-block text-decoration-none mb-2 pt-3 mt-5" href="/resources">Resource</a>
2221
<h1 class="h2">{{ page.title }}</h1>
2322
<hr />
2423
<p>{{ date }}</p>

src/customer-stories.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% include clipped-header.html %}
1010

1111
<div class="row justify-content-center justify-content-lg-start">
12-
<div class="clipped-header background-yellow-4 offset-lg-1 col-lg-10 col-11 mt-4 mt-md-5 mb-4 mb-lg-3 py-4 py-md-4 px-4 px-md-0">
12+
<div class="clipped-header background-yellow-30 offset-lg-1 col-lg-10 col-11 mt-4 mt-md-5 mb-4 mb-lg-3 py-4 py-md-4 px-4 px-md-0">
1313
<div class="offset-md-2 col-md-8 py-3 py-md-5 px-2 px-md-2">
1414
<h1 class="mb-2">Our customers</h1>
1515
<p class="mb-3 pb-3">
@@ -110,14 +110,14 @@ <h2>Selected agency highlights</h2>
110110
class="rounded-2 w-100"
111111
src="/images/stories-photo-vctc.jpg" />
112112
</figure>
113-
<figure class="quote border-yellow-4 mt-3">
113+
<figure class="quote border-yellow-30 mt-3">
114114
<blockquote>
115115
“As a small agency who doesn’t have the resources to be specialists in these areas, we’re able to leverage Cal-ITP’s
116116
support to get complicated tech projects done more quickly…or at all.”
117117
</blockquote>
118118
<figcaption class="ps-3">— Public Transit Director in Ventura County</figcaption>
119119
</figure>
120-
<h3 class="small-caps border-0 bg-transparent fw-bold text-primary p-0 mb-0"
120+
<h3 class="small-caps border-0 bg-transparent fw-bold text-brand-blue p-0 mb-0"
121121
id="stories-GTFS-VCTC">GTFS</h3>
122122
<span class="fw-bold fs-4 display-heading d-block">Ventura County Transportation Commission</span>
123123
<ul class="mt-3 ps-4">
@@ -151,7 +151,7 @@ <h2>Selected agency highlights</h2>
151151
class="rounded-2 w-100"
152152
src="/images/stories-photo-glenn.png" />
153153
</figure>
154-
<h3 class="small-caps border-0 bg-transparent fw-bold text-primary p-0 mb-0"
154+
<h3 class="small-caps border-0 bg-transparent fw-bold text-brand-blue p-0 mb-0"
155155
id="stories-contactless-payments-GCTD">Contactless payments</h3>
156156
<span class="fw-bold fs-4 display-heading d-block">Glenn County Transportation Division</span>
157157
<ul class="mt-3 ps-4">
@@ -174,7 +174,7 @@ <h2>Selected agency highlights</h2>
174174
This dedicated support is designed to help Glenn County make informed decisions, meet their deadlines, and set them up
175175
for a successful contactless payments launch.
176176
</p>
177-
<figure class="quote border-yellow-4 mt-3">
177+
<figure class="quote border-yellow-30 mt-3">
178178
<blockquote>
179179
“Our county’s situation may be a bit more unique than other jurisdictions, requiring more handholding, but Cal-ITP’s
180180
assistance hasn’t wavered. They’ve navigated us throughout this process and provided crucial resources—that’s more
@@ -202,7 +202,7 @@ <h2>Selected agency highlights</h2>
202202
</path>
203203
</clipPath>
204204
</svg>
205-
<div class="impact-stats background-yellow-4 clipped-stories-impact col-11 col-lg-12 p-4 p-lg-5">
205+
<div class="impact-stats background-yellow-30 clipped-stories-impact col-11 col-lg-12 p-4 p-lg-5">
206206
<h2 class="fs-0 text-center pt-lg-3">Our impact</h2>
207207
<p>
208208
Over the last 5 years, Cal-ITP has worked collaboratively with our customers to make progress toward the
@@ -244,7 +244,7 @@ <h2 class="fs-0 text-center pt-lg-3">Our impact</h2>
244244
</section>
245245

246246
<section class="monterey-and-contact">
247-
<h3 class="small-caps border-0 bg-transparent fw-bold text-primary p-0 mb-0"
247+
<h3 class="small-caps border-0 bg-transparent fw-bold text-brand-blue p-0 mb-0"
248248
id="stories-benefits-MST">Benefits</h3>
249249
<span class="fw-bold fs-4 display-heading d-block">Monterey-Salinas Transit</span>
250250
<ul class="mt-3 ps-4">
@@ -283,7 +283,7 @@ <h2 class="fs-0 text-center pt-lg-3">Our impact</h2>
283283
class="link-body-emphasis fw-normal">Benefits Monthly Update</a>
284284
to learn more and to stay connected as we expand.
285285
</p>
286-
<figure class="quote mt-3 border-yellow-4">
286+
<figure class="quote mt-3 border-yellow-30">
287287
<blockquote>
288288
“The Cal-ITP team is wonderful to work with. We greatly appreciate their support, technical expertise, and
289289
collaboration!”

src/partners.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% include clipped-header.html %}
88

99
<div class="row justify-content-center">
10-
<div class="clipped-header background-purple-4 col-11 col-md-10 mt-4 mt-md-5 mb-4 py-4 py-md-5 px-4 px-md-0">
10+
<div class="clipped-header background-purple-70 col-11 col-md-10 mt-4 mt-md-5 mb-4 py-4 py-md-5 px-4 px-md-0">
1111
<div class="offset-md-2 col-md-8 pt-3 pb-1 pt-md-5 pb-md-3 px-2 px-md-2">
1212
<h1 class="text-white mb-3">Partners</h1>
1313
<p class="text-white mb-3">
@@ -48,7 +48,7 @@ <h2 class="my-md-4 my-3">California Department of Technology</h2>
4848
target="_blank">California Department of Technology</a>
4949
(CDT) to provide transit riders with a seamless way to qualify for and enroll in transit benefits online.
5050
</p>
51-
<figure class="quote border-purple-4 my-md-4 my-3">
51+
<figure class="quote border-purple-70 my-md-4 my-3">
5252
<blockquote>
5353
“The Cal-ITP project offered us a test-case to deliver dependable and equitable public services, and reduce outdated
5454
paper-based processes.”
@@ -83,7 +83,7 @@ <h2 class="my-md-4 my-3">California Department of Technology</h2>
8383
</ul>
8484
<div class="row justify-content-md-center align-content-stretch my-md-4 my-3">
8585
<div class="col-12 col-md-12 col-lg-6">
86-
<div class="background-purple-4 py-4 py-md-5 my-md-2 px-3 text-center clipped-stat-start">
86+
<div class="background-purple-70 py-4 py-md-5 my-md-2 px-3 text-center clipped-stat-start">
8787
<span class="fs-stats text-white pt-4 pt-md-3">68%</span>
8888
<span class="h3 text-white d-block mb-3 mb-md-0">
8989
Increase in reduced-fare transactions<sup id="fnref:1" role="doc-noteref"><a class="text-decoration-none text-white" href="#fn:1" rel="footnote">1</a></sup>
@@ -92,7 +92,7 @@ <h2 class="my-md-4 my-3">California Department of Technology</h2>
9292
</div>
9393
<div class="d-lg-none lh-1">&nbsp;</div>
9494
<div class="col-12 col-md-12 col-lg-6">
95-
<div class="background-purple-4 py-4 py-md-5 my-md-2 px-3 text-center clipped-stat-end">
95+
<div class="background-purple-70 py-4 py-md-5 my-md-2 px-3 text-center clipped-stat-end">
9696
<span class="fs-stats text-white pt-4 pt-md-3">870</span>
9797
<span class="h3 text-white d-block mb-3 mb-md-0">Number of reduced-fare transactions enabled by the CA Identity Gateway</span>
9898
</div>
@@ -122,7 +122,7 @@ <h2 class="my-md-4 my-3">California Department of Technology</h2>
122122
alt=""
123123
src="/images/partners-background-carb.png" />
124124
<h2 class="my-3 my-md-4">California Air Resources Board</h2>
125-
<figure class="quote border-purple-4 my-3 my-md-4-4">
125+
<figure class="quote border-purple-70 my-3 my-md-4-4">
126126
<blockquote>
127127
“In order to unlock the greenhouse gas reductions and mobility justice opportunities that transit provides, we have to make it easier for people to use California’s buses and trains. Cal-ITP tackles basic but essential challenges that transit users face so that more Californians can make the switch to sustainable transportation options.”
128128
</blockquote>
@@ -151,14 +151,14 @@ <h2 class="my-3 my-md-4">California Air Resources Board</h2>
151151
</ul>
152152
<div class="row justify-content-md-center align-content-stretch my-3 my-md-4 mb-2">
153153
<div class="col-12 col-md-12 col-lg-6">
154-
<div class="background-purple-4 py-4 py-md-5 my-md-2 px-3 text-center clipped-stat-start">
154+
<div class="background-purple-70 py-4 py-md-5 my-md-2 px-3 text-center clipped-stat-start">
155155
<span class="fs-stats text-white pt-4 pt-md-3">2035</span>
156156
<span class="h3 text-white d-block mb-3 mb-md-0">By 2035, all new cars & light trucks sold in CA must be zero emission</span>
157157
</div>
158158
</div>
159159
<div class="d-lg-none lh-1">&nbsp;</div>
160160
<div class="col-12 col-md-12 col-lg-6">
161-
<div class="background-purple-4 py-4 py-md-5 my-md-2 px-3 text-center clipped-stat-start">
161+
<div class="background-purple-70 py-4 py-md-5 my-md-2 px-3 text-center clipped-stat-start">
162162
<span class="fs-stats text-white pt-4 pt-md-3">89%</span>
163163
<span class="h3 text-white d-block mb-3 mb-md-0">
164164
of main industry players use contactless payment cards<sup id="fnref:2" role="doc-noteref"><a class="text-white text-decoration-none" href="#fn:2" rel="footnote">2</a></sup>

src/resources.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{% include clipped-header.html %}
1111

1212
<div class="row justify-content-center">
13-
<div class="clipped-header background-purple-4 col-11 col-md-10 mt-4 mt-md-5 mb-4 py-4 py-md-5 px-4 px-md-0">
13+
<div class="clipped-header background-purple-70 col-11 col-md-10 mt-4 mt-md-5 mb-4 py-4 py-md-5 px-4 px-md-0">
1414
<div class="offset-md-2 col-md-8 py-3 py-md-5 px-2 px-md-2">
1515
<h1 class="text-white mb-2">Resources</h1>
1616
<p class="text-white mb-3 pb-3">

src/stylesheet.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ <h2>Paragraph text with links</h2>
2525

2626
<article>
2727
<h2>Quotes</h2>
28-
<figure class="quote border-purple-4">
28+
<figure class="quote border-purple-70">
2929
<blockquote>
3030
“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
3131
aliqua.”
3232
</blockquote>
3333
<figcaption>- Lorem Ipsum, Manager at California State Transit</figcaption>
3434
</figure>
3535

36-
<figure class="quote border-yellow-4">
36+
<figure class="quote border-yellow-30">
3737
<blockquote>
3838
“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
3939
aliqua.”

src/stylesheets/core.css renamed to src/stylesheets/dsdl/core.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
body {
8-
color: var(--dsdl-gray-100);
8+
color: var(--dsdl-body-color);
99
font-family: var(--dsdl-font-stack);
1010
line-height: var(--line-height-normal);
1111
}
@@ -108,8 +108,7 @@ h1 {
108108
font-weight: 400;
109109
}
110110

111-
a:link,
112-
a:visited {
111+
a {
113112
color: var(--dsdl-blue-70);
114113
}
115114
a:hover,
File renamed without changes.

0 commit comments

Comments
 (0)