I was looking to use something similar years ago, you can try to use this and customize it as you wish
.discourse-tag.box {
position: relative;
display: inline-block;
text-decoration: none;
background-color: #bfbfbf !important;
height: 26px;
line-height: 26px;
padding: 0 20px 0 23px;
margin: 0 10px 0 0;
}
.discourse-tag.box::before {
position: absolute;
content: '';
background: #fff;
border-radius: 100%;
height: 6px;
left: 10px;
width: 6px;
top: 10px;
box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
}
.discourse-tags .discourse-tag.box::after {
position: absolute;
content: '';
background: #fff;
border-bottom: 13px solid transparent;
border-left: 10px solid #bfbfbf;
border-top: 14px solid transparent;
right: 0;
top: 0;
}
a.discourse-tag.box {
color: #fff !important;
}
Almost certainly if you have plugins that add elements to the title, as the voting plugin you will need to make corrections.

