import { css, cx } from "@linaria/core"; import { string } from "vue-types"; import { useCompData } from "."; import { Image, Text } from "../../../basicUI"; import { createUIComp } from "../../../defines/createUIComp"; export const Component = createUIComp({ props: { compId: string().isRequired, }, setup(props) { const { children } = useCompData(props.compId); return () => (
); }, }); const rootStyles = css` .bg { position: absolute; width: 100%; z-index: 0; height: 9.28rem; background-image: linear-gradient(to right, #000 59%, #fff 59%); } .text_main { color: #fff; background-image: linear-gradient(to right, #000 59%, #fff 59%); font-size: 0.8rem; span { color: #fff; mix-blend-mode: difference; text-transform: uppercase; } } .line { height: 1px; background: linear-gradient(to left, #000 1.2rem, #fff 1.2rem); } `;