feat: enhance frontend with new UI components and Tailwind CSS integration
- Added CreateButton and DocumentCard components for document management. - Implemented tabbed interface for owned and shared documents in Home page. - Integrated Tailwind CSS for styling and layout improvements. - Introduced utility functions for class name management. - Updated package.json with new dependencies for UI components and styling. - Created PostCSS configuration for Tailwind CSS. - Refactored Navbar and button components for better usability and design. - Enhanced document API to include owner_id for document sharing functionality.
This commit is contained in:
@@ -1,3 +1,32 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@layer base {
|
||||
:root {
|
||||
--background: 232 217 243;
|
||||
--foreground: 43 27 56;
|
||||
--card: 0 0% 100%;
|
||||
--card-foreground: 43 27 56;
|
||||
--popover: 0 0% 100%;
|
||||
--popover-foreground: 43 27 56;
|
||||
--primary: 277 42% 52%;
|
||||
--primary-foreground: 0 0% 100%;
|
||||
--secondary: 190 100% 50%;
|
||||
--secondary-foreground: 43 27 56;
|
||||
--muted: 276 100% 97%;
|
||||
--muted-foreground: 240 13% 40%;
|
||||
--accent: 325 100% 71%;
|
||||
--accent-foreground: 0 0% 100%;
|
||||
--destructive: 0 84.2% 60.2%;
|
||||
--destructive-foreground: 0 0% 100%;
|
||||
--border: 43 27 56;
|
||||
--input: 43 27 56;
|
||||
--ring: 190 100% 50%;
|
||||
--radius: 0rem;
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user