@bothub-chat/ui
Version:
Bothub UI Components
2 lines (1 loc) • 835 B
JavaScript
import{styled as o}from"styled-components";import{Typography as e}from"../typography/index.js";import{colorToRgba as t}from"../../utils/colors/colorToRgba.js";import"../../utils/colors/calculateGrayScale.js";import"../../utils/colors/calculateAccentColors.js";const r=o.div.withConfig({displayName:"styled__DateBadgeStyled",componentId:"sc-1rw2vj0-0"})(["display:flex;width:fit-content;padding:4px 34px;border-radius:8px;border:1px solid ",";background-color:",";pointer-events:none;"],({theme:o})=>o.colors.grayScale.gray2,({theme:o})=>t(o.colors.grayScale.gray4,.75)),a=o(e).attrs({variant:"body-m-medium"}).withConfig({displayName:"styled__DateBadgeText",componentId:"sc-1rw2vj0-1"})(["color:",";"],({theme:o})=>"light"===o.mode?o.default.colors.base.black:o.colors.grayScale.gray6);export{r as DateBadgeStyled,a as DateBadgeText};