diff --git a/data/style-dark.css b/data/style-dark.css index ef70077..09c3d98 100644 --- a/data/style-dark.css +++ b/data/style-dark.css @@ -29,3 +29,8 @@ .ttl-status-action-bookmark:active { color: @red_2; } + +.ttl-verified-field { + color: rgb(143,240,164); + background: rgba(143,240,164,0.1); +} diff --git a/data/style.css b/data/style.css index baf07e1..1ce602b 100644 --- a/data/style.css +++ b/data/style.css @@ -180,4 +180,9 @@ headerbar.flat.no-title .title { .ttl-status-badge > button > label { padding: 6px 12px; -} \ No newline at end of file +} + +.ttl-verified-field { + color: rgb(27,133,83); + background: rgba(27,133,83,0.1); +} diff --git a/src/Views/Profile.vala b/src/Views/Profile.vala index 738faba..01c60fe 100644 --- a/src/Views/Profile.vala +++ b/src/Views/Profile.vala @@ -94,6 +94,8 @@ public class Tooth.Views.Profile : Views.Timeline { row.add_suffix (val); info.append (row); + + if (f.verified_at != null) row.add_css_class("ttl-verified-field"); } } }