Files
librechat.ai/style.css
Danny Avila 113249efca 🪄 refactor: UI Refresh & Agents/Code Interpreter Docs (#174)
*  feat: update home page layout and add usage statistics components

* 🔃 chore: clean up eslint-module-utils dependency entries in pnpm-lock.yaml

*  feat: a lot of things

*  feat: UI adjustements

*  feat: improve author card links, update background colors, and enhance layout responsiveness

* chore: update bun

*  feat: update GitHub stars and Docker pulls statistics

*  feat: update demo link to new preview URL

*  feat: update features section with new Code Interpreter and adjust layout

*  feat: add emoji to Quick Start title for enhanced visibility

* refactor: move user guides to features section

*  feat: add emojis to installation and user guides for improved clarity

*  feat: update Hero component title and description for clarity and enhance demo link

* feat: agents page

*  feat: update agents documentation to clarify built-in tools and mention future integrations

*  feat: add Code Interpreter API documentation and update agents metadata

*  feat: add Code Interpreter page metadata and integrate sparkles effect in Hero component

* chore: comment out NewsletterForm component in Home page

* style: code interpreter gif for features box

* fix: update Agents link to point to the correct features documentation

* fix: pnpm lockfile

* docs: API key notes for code interpreter api

* refactor: improve MobileSwitch component with TypeScript types and null check

* chore: types, packages

* chore: update ESLint configuration and add linting step to CI workflow
fix: update rotate prop type in Card component to accept number or string

* docs: add section on intellectual property protection for Code Interpreter

* docs: refine agents customization features in documentation

* style: hero page

---------

Co-authored-by: Marco Beretta <81851188+berry-13@users.noreply.github.com>
2024-12-07 12:42:17 -05:00

121 lines
2.4 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 222.2 84% 0%;
--muted: 214 32% 91%;
--muted-foreground: 215.4 16.3% 46.9%;
--popover: 0 0% 99%;
--popover-foreground: 222.2 84% 0%;
--card: 0 0% 100%;
--card-foreground: 222.2 84% 0%;
--ring: 214 32% 91%;
--border: 214 32% 91%;
--input: 214 32% 91%;
--primary: 222.2 47.4% 11.2%;
--primary-foreground: 210 40% 98%;
--secondary: 214 32% 91%;
--secondary-foreground: 222.2 47.4% 11.2%;
--accent: 214 32% 91%;
--accent-foreground: ;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;
--radius: 0.5rem;
}
:root[class~='dark'] {
--background: 0 0% 0%;
--foreground: 210 40% 98%;
--muted: 0 0% 18%;
--muted-foreground: 215 20.2% 65.1%;
--popover: 222.2 0% 15%;
--popover-foreground: 210 40% 98%;
--card: 0 0% 18%;
--card-foreground: 210 40% 98%;
--ring: 0 0% 18%;
--border: 0 0% 10%;
--input: 0 0% 18%;
--primary: 210 40% 98%;
--primary-foreground: 222.2 47.4% 11.2%;
--secondary: 0 0% 18%;
--secondary-foreground: 210 40% 98%;
--accent: 0 0% 18%;
--accent-foreground: ;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 85.7% 97.3%;
}
}
.social-svg {
border-radius: 10px !important;
}
.error-marker {
position: absolute;
background-color: rgba(255, 0, 0, 0.3);
z-index: 20;
}
.custom-btn {
background-color: rgba(150, 150, 150, 0.2); /* transparent gray background */
border-radius: 10px; /* rounded corners */
padding: 8px 16px; /* optional: adjust padding as needed */
border: none; /* optional: remove border */
cursor: pointer; /* optional: change cursor on hover */
}
.custom-btn:hover {
background-color: rgba(150, 150, 150, 0.4); /* darker background on hover */
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground !important;
font-family: var(--font-sans);
font-feature-settings:
'rlig' 1,
'calt' 1;
}
footer {
@apply bg-background text-foreground !important;
font-family: var(--font-sans);
}
h1 {
@apply tracking-tight font-mono leading-tight;
font-family: var(--font-sans);
}
h2 {
@apply tracking-tight;
font-family: var(--font-sans);
}
}