UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

6 lines (5 loc) 1.61 kB
import{styled as e,css as o}from"styled-components";import{Radio as i}from"../../radio/index.js";import{Image as t}from"../../image/index.js";import{Typography as a}from"../../typography/index.js";import{adaptive as d}from"../../../adaptive/index.js";const n=e.button.withConfig({displayName:"styled__ThemeCardStyled",componentId:"sc-gi8n5o-0"})(["all:unset;display:flex;flex-direction:column;max-width:100%;overflow:hidden;border-radius:20px;gap:20px;background-color:",";&:hover{cursor:pointer;}user-select:none;-webkit-user-drag:none;-webkit-user-select:none;"],({theme:e})=>e.colors.grayScale.gray3),r=e.div.withConfig({displayName:"styled__ThemeCardTopbar",componentId:"sc-gi8n5o-1"})(["display:flex;gap:20px;padding:20px;border-bottom:1px solid ",";"],({theme:e})=>e.colors.grayScale.gray2),p=e(i).attrs({onClick:e=>e.stopPropagation()}).withConfig({displayName:"styled__ThemeCardTopbarRadio",componentId:"sc-gi8n5o-2"})([""]),s=e.div.withConfig({displayName:"styled__ThemeCardTopbarTitle",componentId:"sc-gi8n5o-3"})(["display:flex;gap:8px;align-items:center;"]),m=e(a).attrs({variant:"body-m-medium"}).withConfig({displayName:"styled__ThemeCardTopbarTitleText",componentId:"sc-gi8n5o-4"})([""]),l=e(t).withConfig({displayName:"styled__ThemeCardImage",componentId:"sc-gi8n5o-5"})(["padding-left:20px;width:440px;height:220px;object-fit:cover;object-position:0 0;",""],d({tablet:o` height: 180px; `,mobile:o` height: 140px; `}));export{l as ThemeCardImage,n as ThemeCardStyled,r as ThemeCardTopbar,p as ThemeCardTopbarRadio,s as ThemeCardTopbarTitle,m as ThemeCardTopbarTitleText};