mirror of
https://github.com/luxfi/financial.git
synced 2026-10-30 16:55:56 +00:00
Regulated banking platform marketing site covering: - Fiat, crypto, stablecoins, digital securities - CEX, DEX, AMM - 200+ countries - Payments, treasury, and banking infrastructure Built on Next.js static export, deployed via hanzoai/spa on lux-k8s. Migrated from luxfi/bank v1-archive branch.
23 lines
684 B
JavaScript
23 lines
684 B
JavaScript
import styled from 'styled-components';
|
|
import { variants } from './constants';
|
|
const Text = styled.p `
|
|
width: fit-content;
|
|
margin: 0;
|
|
padding: 0;
|
|
${({ $variant }) => variants[$variant]};
|
|
color: ${({ theme, $color }) => $color || theme.textColor.layout.primary.value};
|
|
text-align: ${({ $textAlign }) => $textAlign || 'left'};
|
|
`;
|
|
const TextLink = styled.a `
|
|
width: fit-content;
|
|
margin: 0;
|
|
padding: 0;
|
|
${({ $variant }) => variants[$variant]};
|
|
color: ${({ theme, $color }) => $color || theme.textColor.layout.primary.value};
|
|
text-align: ${({ $textAlign }) => $textAlign || 'left'};
|
|
`;
|
|
export default {
|
|
Text,
|
|
TextLink,
|
|
};
|
|
//# sourceMappingURL=styles.js.map
|