Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ee36e90251 | |||
| 315236021f |
@@ -10,15 +10,15 @@
|
||||
--accent: #ffffff;
|
||||
--background-accent: #ffffff; */
|
||||
|
||||
--background: #e8f1f5;
|
||||
--card: #d9e8f0;
|
||||
--foreground: #1a3a4d;
|
||||
--primary-cta: #8b6f47;
|
||||
--background: #f0f9ff;
|
||||
--card: #e0f2fe;
|
||||
--foreground: #0c2d4d;
|
||||
--primary-cta: #0284c7;
|
||||
--primary-cta-text: #ffffff;
|
||||
--secondary-cta: #d4e5ed;
|
||||
--secondary-cta: #ffffff;
|
||||
--secondary-cta-text: #000f06e6;
|
||||
--accent: #a8c5d6;
|
||||
--background-accent: #6b4423;
|
||||
--accent: #a5d8ff;
|
||||
--background-accent: #7ec8f5;
|
||||
|
||||
/* text sizing - set by ThemeProvider */
|
||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||
|
||||
@@ -3,28 +3,23 @@ import React from 'react';
|
||||
interface SvgTextLogoProps {
|
||||
text: string;
|
||||
className?: string;
|
||||
textClassName?: string;
|
||||
dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'mathematical';
|
||||
}
|
||||
|
||||
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
text,
|
||||
className = '',
|
||||
textClassName = '',
|
||||
dominantBaseline = 'middle'
|
||||
}) => {
|
||||
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({ text, className = '' }) => {
|
||||
return (
|
||||
<svg
|
||||
viewBox="0 0 200 60"
|
||||
className={`w-auto h-8 ${className}`}
|
||||
viewBox="0 0 200 50"
|
||||
className={className}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<text
|
||||
x="50%"
|
||||
y="50%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline={dominantBaseline}
|
||||
className={`text-lg font-bold fill-current ${textClassName}`}
|
||||
dominantBaseline="central"
|
||||
fontSize="24"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
>
|
||||
{text}
|
||||
</text>
|
||||
|
||||
Reference in New Issue
Block a user