/** @format */ import styled from 'styled-components'; interface ContainerProps { theme: { textColor?: string; primaryColor?: string; secondColor?: string; thirdColor?: string; forthColor?: string; }; } const Container = styled.div` .content { display: inline-flex; .icon-box { position: relative; width: 24px; height: 24px; margin-right: 8px; border: 1px solid ${props => props.theme.primaryColor}; display: flex; justify-content: center; align-items: center; overflow: hidden; .triangle { width: 6px; height: 6px; background: ${props => props.theme.primaryColor}; position: absolute; left: -4px; top: -3px; transform: rotate(45deg); } .center-point { width: 4px; height: 4px; background: ${props => props.theme.secondColor}; border-radius: 50%; } } .title { font-size: 16px; font-family: PingFang-SC-Heavy, PingFang-SC; font-weight: 800; color: ${props => props.theme.textColor}; line-height: 24px; .en_title { margin-left: 6px; font-size: 12px; font-family: ArialMT; color: ${props => props.theme.thirdColor}; line-height: 20px; letter-spacing: 1px; } } } .divider { width: 100%; display: flex; margin-top: 10px; height: 1px; .divider-header { width: 24px; background: ${props => props.theme.thirdColor}; border-radius: 2px; } .divider-center { flex-grow: 1; background: ${props => props.theme.forthColor}; } .divider-tail { width: 8px; background: ${props => props.theme.primaryColor}; border-radius: 2px; margin-left: 6px; } } `; export { Container };