Skip to content

Commit

Permalink
Change email header and title color to black :D
Browse files Browse the repository at this point in the history
  • Loading branch information
lanttu1243 committed Sep 10, 2024
1 parent 06bd52c commit 47ce783
Show file tree
Hide file tree
Showing 4 changed files with 213 additions and 2 deletions.
208 changes: 208 additions & 0 deletions json.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
{
"data": {
"nearest": {
"edges": [
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222229",
"name": "Laivamiehenpolku"
}
}
}
},git
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222223",
"name": "Tietotie"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222223",
"name": "Tietotie"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222224",
"name": "Tietotie"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222406",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222405",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222405",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222603",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222603",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222603",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222603",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222603",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222604",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222604",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222604",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222604",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222604",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222234",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222234",
"name": "Aalto-yliopisto (M)"
}
}
}
},
{
"node": {
"place": {
"stop": {
"gtfsId": "HSL:2222212",
"name": "Aalto-yliopisto (M)"
}
}
}
}
]
}
}
}
3 changes: 3 additions & 0 deletions packages/ilmomasiina-backend/emails/css/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
.alert.alert-good {
background-color: #79b654;
}
.alert.alert-neutral {
background-color: #0a0d10;
}

.bodyText {
color: black;
Expand Down
2 changes: 1 addition & 1 deletion packages/ilmomasiina-backend/emails/css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
font-weight: 800;
text-transform: uppercase;
text-align: center;
color: #79b654;
color: #0a0d10;
}
2 changes: 1 addition & 1 deletion packages/ilmomasiina-backend/emails/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ html(lang='fi', xmlns='http://www.w3.org/1999/xhtml')
div.content
table(class='main', width='100%', cellpadding='0', cellspacing='0')
tr
td(class='alert alert-good')
td(class='alert alert-neutral')
p.alertText #{topText}
tr
td.content-wrap
Expand Down

0 comments on commit 47ce783

Please sign in to comment.