mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 04:17:52 +00:00
1.7 KiB
1.7 KiB
Lollms theme:
- Use Tailwind CSS for styling:
<script src="https://cdn.tailwindcss.com"></script>
- Implement a gradient background:
<body class="bg-gradient-to-r from-blue-100 to-purple-100 font-sans">
- Create a container with responsive padding:
<div class="container mx-auto px-4 py-8">
- Style headers with large, bold text in indigo:
<h1 class="text-4xl font-bold text-indigo-800">Chat with PDFs</h1>
- Use white backgrounds with shadow for content areas:
<div class="bg-white shadow-lg rounded-lg p-6 mb-8">
- Style buttons with indigo background and hover effects:
<button class="bg-indigo-600 hover:bg-indigo-700 text-white font-bold py-2 px-4 rounded transition duration-300">
- Implement a responsive layout using Flexbox:
<main class="flex flex-col md:flex-row gap-8">
- Style input fields with indigo borders and focus effects:
<input type="text" class="border border-indigo-300 rounded-md focus:outline-none focus:ring-2 focus:ring-indigo-500">
- Use SVG icons for buttons:
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<!-- SVG path data -->
</svg>
- Implement a settings popup with a blurred overlay:
<div id="settingsOverlay" class="blurred-overlay"></div>
<div id="settingsPopup" class="settings-popup">
<!-- Settings content -->
</div>
This style guide focuses on creating a clean, modern interface with a purple-blue color scheme, responsive design, and smooth transitions. It uses Tailwind CSS for rapid styling and incorporates SVG icons for a polished look.