Skip to content

Commit 90ac0c2

Browse files
committed
fix: complete OpenSensor branding pass
- base.html: change page title fallback from 'Fief' to 'OpenSensor' - forms.html: change required-field asterisk from rose-500 to teal-500 - email base.html: replace #3869D4 blue with #14b8a6 teal for links and buttons - email base.html: fix masthead URL from https://example.com to https://opensensor.io
1 parent ddc1b97 commit 90ac0c2

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎fief/services/email_template/templates/base.html‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323

2424
a {
25-
color: #3869D4;
25+
color: #14b8a6;
2626
}
2727

2828
a img {
@@ -112,11 +112,11 @@
112112
/* Buttons ------------------------------ */
113113

114114
.button {
115-
background-color: #3869D4;
116-
border-top: 10px solid #3869D4;
117-
border-right: 18px solid #3869D4;
118-
border-bottom: 10px solid #3869D4;
119-
border-left: 18px solid #3869D4;
115+
background-color: #14b8a6;
116+
border-top: 10px solid #14b8a6;
117+
border-right: 18px solid #14b8a6;
118+
border-bottom: 10px solid #14b8a6;
119+
border-left: 18px solid #14b8a6;
120120
display: inline-block;
121121
color: #FFF;
122122
text-decoration: none;
@@ -465,7 +465,7 @@
465465
<table class="email-content" width="100%" cellpadding="0" cellspacing="0" role="presentation">
466466
<tr>
467467
<td class="email-masthead">
468-
<a href="https://example.com" class="f-fallback email-masthead_name">
468+
<a href="https://opensensor.io" class="f-fallback email-masthead_name">
469469
{{ tenant.name }}
470470
</a>
471471
</td>

‎fief/templates/auth/base.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
{% block head %}
55
{% block head_title %}
6-
<title id="head-title" hx-swap-oob="true">{% block head_title_content %}{% endblock %} · {{ tenant.name if tenant is defined else "Fief" }}</title>
6+
<title id="head-title" hx-swap-oob="true">{% block head_title_content %}{% endblock %} · {{ tenant.name if tenant is defined else "OpenSensor" }}</title>
77
{% endblock %}
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99
{% block favicon %}

‎fief/templates/macros/forms.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<label class="block text-sm font-medium mb-1" for="{{ field.id }}">
55
{{ _(field.label) }}
66
{% if field.flags.required %}
7-
<span class="text-rose-500">*</span>
7+
<span class="text-teal-500">*</span>
88
{% endif %}
99
</label>
1010
{% endmacro %}
@@ -33,7 +33,7 @@
3333
{{ field(class="form-checkbox", **kwargs) }}
3434
<span class="ml-2">{{ field.label }}</span>
3535
{% if field.flags.required %}
36-
<span class="text-rose-500">*</span>
36+
<span class="text-teal-500">*</span>
3737
{% endif %}
3838
</label>
3939
{% endmacro %}

0 commit comments

Comments
 (0)