mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 17:25:59 +02:00
ui(faq): tweak role colors
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import styled from "styled-components"
|
||||
import { readableColor } from "polished"
|
||||
|
||||
export const RoleWrapper = styled.span<{ color: string }>`
|
||||
display: inline-block;
|
||||
font-weight: 400 !important;
|
||||
background: ${(props) => props.color};
|
||||
color: ${(props) => readableColor(props.color, "#000", "#fff")};
|
||||
color: ${(props) => props.color};
|
||||
border: 2px solid ${(props) => props.color};
|
||||
border-radius: 40px;
|
||||
margin: 2px 0;
|
||||
padding: 3px 12px;
|
||||
|
||||
Reference in New Issue
Block a user