|
| 1 | +<!doctype html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <link rel="icon" type="image/svg+xml" href="/vite.svg" /> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 7 | + <title>cozy-ui</title> |
| 8 | + |
| 9 | + <style> |
| 10 | + |
| 11 | + :root { |
| 12 | + /* Light Theme (Warm/Cozy) */ |
| 13 | + --color-paper: #FDFBF7; |
| 14 | + --color-surface: #FFFFFF; |
| 15 | + --color-ink: #2D2D2D; |
| 16 | + --color-sub: #6B7280; |
| 17 | + --color-primary: #E07A5F; |
| 18 | + --color-secondary: #81B29A; |
| 19 | + --color-line: #E5E7EB; |
| 20 | + --color-shadow: #2D2D2D; |
| 21 | + } |
| 22 | + |
| 23 | + .dark { |
| 24 | + /* Dark Theme (Warm Stone/Dark Cozy) */ |
| 25 | + --color-paper: #1C1917; /* Stone 900 */ |
| 26 | + --color-surface: #292524; /* Stone 800 */ |
| 27 | + --color-ink: #E7E5E4; /* Stone 200 */ |
| 28 | + --color-sub: #A8A29E; /* Stone 400 */ |
| 29 | + --color-primary: #E07A5F; /* Keep same or slightly adjust brightness */ |
| 30 | + --color-secondary: #81B29A; |
| 31 | + --color-line: #44403C; /* Stone 700 */ |
| 32 | + --color-shadow: #000000; /* Black shadow for dark mode */ |
| 33 | + } |
| 34 | + </style> |
| 35 | + <link rel="stylesheet" href="/src/style.css" /> |
| 36 | + </head> |
| 37 | + <body> |
| 38 | + <nav> |
| 39 | + <div class="navBase"> |
| 40 | + <a href="#" class="navHeader"> |
| 41 | + CozyUI. |
| 42 | + </a> |
| 43 | + <div id="navLinks" class="navLinks"> |
| 44 | + </div> |
| 45 | + </div> |
| 46 | + </nav> |
| 47 | + <main> |
| 48 | + <h1 class="m-10">Welcome to <span class="text-primary">CozyUI</span> !</h1> |
| 49 | + <p> |
| 50 | + Modern, accessible, and customizable UI component library built with Tailwind CSS and TypeScript. |
| 51 | + </p> |
| 52 | + <secttion id="typography"> |
| 53 | + <h2>1. Tipografi</h2> |
| 54 | + <div class="card m-5"> |
| 55 | + <div class="cardHeader"> |
| 56 | + <h1 class="text-3xl font-hand text-ink">Header 1</h1> |
| 57 | + </div> |
| 58 | + <div class="cardFooter"> |
| 59 | + <p>sdfhbg</p> |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + </secttion> |
| 63 | + <section id="forms"> |
| 64 | + <h2 class="font-hand text-4xl text-ink">04. Formlar</h2> |
| 65 | + <div class="card"> |
| 66 | + <div class="cardHeader"> |
| 67 | + <h3 class="text-2xl font-hand text-ink">Giriş Formu</h3> |
| 68 | + </div> |
| 69 | + <form> |
| 70 | + <div class="cardBody p-5"> |
| 71 | + <div class="grid md:grid-cols-2 gap-6"> |
| 72 | + <div class="space-y-2"> |
| 73 | + <label>İsim</label> |
| 74 | + <input type="text" placeholder="Adınız"> |
| 75 | + </div> |
| 76 | + <div class="space-y-2"> |
| 77 | + <label>E-posta</label> |
| 78 | + <input type=" email" placeholder=" [email protected]" > |
| 79 | + </div> |
| 80 | + </div> |
| 81 | + <div class="space-y-2 py-5"> |
| 82 | + <label>Konu Seçin</label> |
| 83 | + <select class=""> |
| 84 | + <option>Genel Sorular</option> |
| 85 | + <option>Teknik Destek</option> |
| 86 | + <option>Sadece Merhaba</option> |
| 87 | + </select> |
| 88 | + </div> |
| 89 | + <div class="space-y-2 py-5"> |
| 90 | + <label class="font-hand text-xl text-ink block ml-1">Mesajınız</label> |
| 91 | + <textarea rows="4" placeholder="Buraya yazabilirsiniz..." ></textarea> |
| 92 | + </div> |
| 93 | + |
| 94 | + <div class="flex items-center gap-3 py-5"> |
| 95 | + <input type="checkbox" id="terms" class=""> |
| 96 | + <label for="terms" class="text-sub cursor-pointer select-none">Gizlilik politikasını kabul ediyorum.</label> |
| 97 | + </div> |
| 98 | + </div> |
| 99 | + <div class="cardFooter"> |
| 100 | + <button type="button" class="btn-primary px-5 py-3"> |
| 101 | + Gönder Gitsin! 🚀 |
| 102 | + </button> |
| 103 | + </div> |
| 104 | + |
| 105 | + </form> |
| 106 | + </div> |
| 107 | + </section> |
| 108 | + |
| 109 | + </main> |
| 110 | + |
| 111 | + <script type="module" src="/src/main.ts"></script> |
| 112 | + </body> |
| 113 | +</html> |
0 commit comments