UNPKG

fui-fancyui

Version:
20 lines (18 loc) 623 B
import { styled as r } from "styled-components"; import { getBackgroundColor as i } from "../../../design/designFunctions/colorCalculatorForComponent/colorCalculatorForComponent.js"; import n from "../../../design/designFunctions/leftRightCenterToFlexJustify/leftRightCenterToFlexJustify.js"; const a = r.label` display: flex; align-items: flex-end; justify-content: ${({ $align: t }) => n[t ?? "left"]}; * { color: ${({ $systemMessageType: t, theme: e, $themeType: o = "secondary", $layer: l }) => i({ theme: e, $themeType: t || o, $layer: l })} !important; } `; export { a as StyledAlignedLabel };