UNPKG

fui-fancyui

Version:
36 lines (34 loc) 946 B
import { styled as n } from "styled-components"; const e = n.div` display: flex; flex-direction: column; justify-content: center; width: 100%; hr { margin-top: ${({ theme: i }) => i.spacing.xs}; width: 100%; } `, a = n.span` display: flex; flex-direction: column; align-items: ${({ $alignCenter: i }) => i ? "center" : "flex-start"}; text-align: ${({ $alignCenter: i }) => i ? "center" : "start"}; gap: ${({ theme: i, $gapBetweenText: t }) => t && i.spacing[t || "xxs"]}; padding: ${({ $alignCenter: i, theme: t }) => i ? `0 ${t.spacing.xl}` : `0 ${t.spacing.xl} 0 0 `}; width: 100%; box-sizing: border-box; `, o = n.div` width: 100%; display: flex; position: relative; `, p = n.span` position: absolute; right: ${({ theme: i }) => i.spacing.xs}; top: ${({ theme: i }) => i.spacing.xs}; `; export { o as HeadLineWrapper, p as IconWrapper, e as StyledHeadLine, a as StyledHeadLineTitles };