.icon{ display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 100%; flex-shrink: 0; background-color: rgba(#F3F3F3, 1); } .iconActive{ .icon(); background-color: rgba(#317CFA, .1); }