fix: update background color for previous and current state/status badges to transparent

This commit is contained in:
Nawaz Dhandala
2025-12-03 22:43:03 +00:00
parent 35ecc19ceb
commit 9914fb905f
2 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
{{#if previousState}}
<!-- Previous State Badge -->
<td align="center" valign="middle" style="padding: 0;">
<span style="display: inline-block; padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; background-color: #f3f4f6; color: {{previousStateColor}}; border: 2px solid {{previousStateColor}}; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Ubuntu, sans-serif;">
<span style="display: inline-block; padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; background-color: transparent; color: {{previousStateColor}}; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Ubuntu, sans-serif;">
{{previousState}}
</span>
</td>
@@ -18,7 +18,7 @@
{{/if}}
<!-- Current State Badge -->
<td align="center" valign="middle" style="padding: 0;">
<span style="display: inline-block; padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; background-color: #f3f4f6; color: {{currentStateColor}}; border: 2px solid {{currentStateColor}}; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Ubuntu, sans-serif;">
<span style="display: inline-block; padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; background-color: transparent; color: {{currentStateColor}}; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Ubuntu, sans-serif;">
{{currentState}}
</span>
</td>

View File

@@ -7,7 +7,7 @@
{{#if previousStatus}}
<!-- Previous Status Badge -->
<td align="center" valign="middle" style="padding: 0;">
<span style="display: inline-block; padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; background-color: #f3f4f6; color: {{previousStatusColor}}; border: 2px solid {{previousStatusColor}}; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Ubuntu, sans-serif;">
<span style="display: inline-block; padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; background-color: transparent; color: {{previousStatusColor}}; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Ubuntu, sans-serif;">
{{previousStatus}}
</span>
</td>
@@ -18,7 +18,7 @@
{{/if}}
<!-- Current Status Badge -->
<td align="center" valign="middle" style="padding: 0;">
<span style="display: inline-block; padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; background-color: #f3f4f6; color: {{currentStatusColor}}; border: 2px solid {{currentStatusColor}}; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Ubuntu, sans-serif;">
<span style="display: inline-block; padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; background-color: transparent; color: {{currentStatusColor}}; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Ubuntu, sans-serif;">
{{currentStatus}}
</span>
</td>