|
|
@ -24,9 +24,9 @@ const ThemeColor = () => { |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
<div className="w-full flex flex-row-reverse items-center justify-between mt-7 divide-x-2 divide-[#b8dff3] divide-x-reverse"> |
|
|
|
<div className="w-full flex flex-row-reverse items-center justify-between mt-7 divide-x-2 divide-[#b8dff3] divide-x-reverse"> |
|
|
|
{/* right */} |
|
|
|
{/* right */} |
|
|
|
<div className="w-1/2 flex-grow flex-1 flex flex-col p-4">fsd</div> |
|
|
|
<div className="flex-grow flex flex-col p-4"></div> |
|
|
|
{/* left */} |
|
|
|
{/* left */} |
|
|
|
<div className="w-1/2 flex-grow flex-1 flex flex-col p-4"> |
|
|
|
<div className="flex-grow flex flex-col flex-1 p-4"> |
|
|
|
<div className="w-full flex flex-row-reverse items-center justify-between"> |
|
|
|
<div className="w-full flex flex-row-reverse items-center justify-between"> |
|
|
|
<div className="flex flex-row-reverse items-center justify-between"> |
|
|
|
<div className="flex flex-row-reverse items-center justify-between"> |
|
|
|
<span className="text-xs ml-2">Dark</span> <SwitchDesign /> |
|
|
|
<span className="text-xs ml-2">Dark</span> <SwitchDesign /> |
|
|
@ -34,11 +34,10 @@ const ThemeColor = () => { |
|
|
|
<p className="text-2xl">The Color System</p> |
|
|
|
<p className="text-2xl">The Color System</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<hr className="my-2 border border-[#b8dff3]" /> |
|
|
|
<hr className="my-2 border border-[#b8dff3]" /> |
|
|
|
|
|
|
|
|
|
|
|
<p className="text-[#64b6df] text-lg font-sansbold "> |
|
|
|
<p className="text-[#64b6df] text-lg font-sansbold "> |
|
|
|
Original Colors |
|
|
|
Original Colors |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
<div className="flex flex-row justify-between gap-x-10 mt-2"> |
|
|
|
<div className="flex flex-row justify-between mt-2"> |
|
|
|
<ColorCard |
|
|
|
<ColorCard |
|
|
|
theme={theme} |
|
|
|
theme={theme} |
|
|
|
item="primary" |
|
|
|
item="primary" |
|
|
@ -79,7 +78,7 @@ export default ThemeColor; |
|
|
|
|
|
|
|
|
|
|
|
const ColorCard = ({ theme, text, dark, light, item, setItem }) => { |
|
|
|
const ColorCard = ({ theme, text, dark, light, item, setItem }) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="flex-1 flex flex-col gap-y-3"> |
|
|
|
<div className="flex flex-col gap-y-3"> |
|
|
|
<div |
|
|
|
<div |
|
|
|
className={`flex flex-col cursor-pointer rounded-lg relative p-4 bg-${item} ${ |
|
|
|
className={`flex flex-col cursor-pointer rounded-lg relative p-4 bg-${item} ${ |
|
|
|
text ? `text-${item}Text` : "" |
|
|
|
text ? `text-${item}Text` : "" |
|
|
@ -133,20 +132,3 @@ const ColorCard = ({ theme, text, dark, light, item, setItem }) => { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
); |
|
|
|
); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// <div style={{ background: background }} className="h-screen w-full">
|
|
|
|
|
|
|
|
// {current != null && <h1>Copied {current}</h1>}
|
|
|
|
|
|
|
|
// <div className=" flex flex-row item-center justify-center">
|
|
|
|
|
|
|
|
// {colors.map((color, index) => (
|
|
|
|
|
|
|
|
// <div key={index} className="card">
|
|
|
|
|
|
|
|
// <div
|
|
|
|
|
|
|
|
// style={{ background: color }}
|
|
|
|
|
|
|
|
// className="box w-20 h-20 rounded p-5 cursor-pointer"
|
|
|
|
|
|
|
|
// onClick={() => setBackground(color)}
|
|
|
|
|
|
|
|
// >
|
|
|
|
|
|
|
|
// fdsfsds
|
|
|
|
|
|
|
|
// </div>
|
|
|
|
|
|
|
|
// </div>
|
|
|
|
|
|
|
|
// ))}
|
|
|
|
|
|
|
|
// </div>
|
|
|
|
|
|
|
|
// </div>
|
|
|
|
|
|
|
|