@anilkumarteach/editor-ak 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,73 @@
1
+ # Welcome to your Lovable project
2
+
3
+ ## Project info
4
+
5
+ **URL**: https://lovable.dev/projects/REPLACE_WITH_PROJECT_ID
6
+
7
+ ## How can I edit this code?
8
+
9
+ There are several ways of editing your application.
10
+
11
+ **Use Lovable**
12
+
13
+ Simply visit the [Lovable Project](https://lovable.dev/projects/REPLACE_WITH_PROJECT_ID) and start prompting.
14
+
15
+ Changes made via Lovable will be committed automatically to this repo.
16
+
17
+ **Use your preferred IDE**
18
+
19
+ If you want to work locally using your own IDE, you can clone this repo and push changes. Pushed changes will also be reflected in Lovable.
20
+
21
+ The only requirement is having Node.js & npm installed - [install with nvm](https://github.com/nvm-sh/nvm#installing-and-updating)
22
+
23
+ Follow these steps:
24
+
25
+ ```sh
26
+ # Step 1: Clone the repository using the project's Git URL.
27
+ git clone <YOUR_GIT_URL>
28
+
29
+ # Step 2: Navigate to the project directory.
30
+ cd <YOUR_PROJECT_NAME>
31
+
32
+ # Step 3: Install the necessary dependencies.
33
+ npm i
34
+
35
+ # Step 4: Start the development server with auto-reloading and an instant preview.
36
+ npm run dev
37
+ ```
38
+
39
+ **Edit a file directly in GitHub**
40
+
41
+ - Navigate to the desired file(s).
42
+ - Click the "Edit" button (pencil icon) at the top right of the file view.
43
+ - Make your changes and commit the changes.
44
+
45
+ **Use GitHub Codespaces**
46
+
47
+ - Navigate to the main page of your repository.
48
+ - Click on the "Code" button (green button) near the top right.
49
+ - Select the "Codespaces" tab.
50
+ - Click on "New codespace" to launch a new Codespace environment.
51
+ - Edit files directly within the Codespace and commit and push your changes once you're done.
52
+
53
+ ## What technologies are used for this project?
54
+
55
+ This project is built with:
56
+
57
+ - Vite
58
+ - TypeScript
59
+ - React
60
+ - shadcn-ui
61
+ - Tailwind CSS
62
+
63
+ ## How can I deploy this project?
64
+
65
+ Simply open [Lovable](https://lovable.dev/projects/REPLACE_WITH_PROJECT_ID) and click on Share -> Publish.
66
+
67
+ ## Can I connect a custom domain to my Lovable project?
68
+
69
+ Yes, you can!
70
+
71
+ To connect a domain, navigate to Project > Settings > Domains and click Connect Domain.
72
+
73
+ Read more here: [Setting up a custom domain](https://docs.lovable.dev/features/custom-domain#custom-domain)
Binary file
package/dist/index.css ADDED
@@ -0,0 +1 @@
1
+ @import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap";@tailwind base;@tailwind components;@tailwind utilities;@layer base{:root{--background: 40 20% 98%;--foreground: 220 20% 10%;--card: 0 0% 100%;--card-foreground: 220 20% 10%;--popover: 0 0% 100%;--popover-foreground: 220 20% 10%;--primary: 220 90% 50%;--primary-foreground: 0 0% 100%;--secondary: 220 15% 94%;--secondary-foreground: 220 20% 20%;--muted: 220 15% 92%;--muted-foreground: 220 10% 45%;--accent: 220 90% 96%;--accent-foreground: 220 90% 40%;--destructive: 0 84% 60%;--destructive-foreground: 0 0% 100%;--border: 220 15% 88%;--input: 220 15% 88%;--ring: 220 90% 50%;--radius: .625rem;--editor-bg: 40 20% 99%;--editor-border: 220 15% 90%;--toolbar-bg: 0 0% 100%;--toolbar-border: 220 15% 92%;--tooltip-bg: 220 20% 15%;--tooltip-foreground: 0 0% 100%;--selection-bg: 220 90% 94%;--blockquote-border: 220 90% 60%;--blockquote-bg: 220 30% 97%;--code-bg: 220 15% 95%;--code-border: 220 15% 88%;--checkbox-checked: 220 90% 50%;--checkbox-border: 220 15% 70%;--link-color: 220 90% 50%;--sidebar-background: 0 0% 98%;--sidebar-foreground: 240 5.3% 26.1%;--sidebar-primary: 240 5.9% 10%;--sidebar-primary-foreground: 0 0% 98%;--sidebar-accent: 240 4.8% 95.9%;--sidebar-accent-foreground: 240 5.9% 10%;--sidebar-border: 220 13% 91%;--sidebar-ring: 217.2 91.2% 59.8%}.dark{--background: 220 20% 8%;--foreground: 220 10% 92%;--card: 220 20% 10%;--card-foreground: 220 10% 92%;--popover: 220 20% 12%;--popover-foreground: 220 10% 92%;--primary: 220 90% 60%;--primary-foreground: 220 20% 5%;--secondary: 220 15% 18%;--secondary-foreground: 220 10% 85%;--muted: 220 15% 15%;--muted-foreground: 220 10% 55%;--accent: 220 40% 20%;--accent-foreground: 220 90% 70%;--destructive: 0 70% 50%;--destructive-foreground: 0 0% 100%;--border: 220 15% 20%;--input: 220 15% 20%;--ring: 220 90% 60%;--editor-bg: 220 20% 10%;--editor-border: 220 15% 18%;--toolbar-bg: 220 20% 12%;--toolbar-border: 220 15% 20%;--tooltip-bg: 220 15% 90%;--tooltip-foreground: 220 20% 10%;--selection-bg: 220 60% 25%;--blockquote-border: 220 90% 55%;--blockquote-bg: 220 30% 15%;--code-bg: 220 20% 14%;--code-border: 220 15% 22%;--checkbox-checked: 220 90% 60%;--checkbox-border: 220 15% 40%;--link-color: 220 90% 65%}}@layer base{*{@apply border-border;}body{@apply bg-background text-foreground font-sans antialiased;font-family:DM Sans,system-ui,sans-serif}}@layer components{.editor-content{@apply min-h-[500px] outline-none;}.editor-content:focus{@apply outline-none;}.editor-content h1{@apply text-4xl font-bold mb-4 mt-6 first:mt-0;font-family:Playfair Display,serif}.editor-content h2{@apply text-3xl font-semibold mb-3 mt-5 first:mt-0;font-family:Playfair Display,serif}.editor-content h3{@apply text-2xl font-semibold mb-2 mt-4 first:mt-0;font-family:Playfair Display,serif}.editor-content p{@apply mb-3 leading-relaxed;}.editor-content blockquote{@apply pl-4 py-2 my-4 italic;border-left:3px solid hsl(var(--blockquote-border));background:hsl(var(--blockquote-bg));border-radius:0 var(--radius) var(--radius) 0}.editor-content pre{@apply p-4 my-4 rounded-lg overflow-x-auto;background:hsl(var(--code-bg));border:1px solid hsl(var(--code-border));font-family:JetBrains Mono,monospace;font-size:.9em}.editor-content code{@apply px-1.5 py-0.5 rounded text-sm;background:hsl(var(--code-bg));font-family:JetBrains Mono,monospace}.editor-content pre code{@apply p-0 bg-transparent;}.editor-content ul{@apply list-disc pl-6 mb-3 space-y-1;}.editor-content ol{@apply list-decimal pl-6 mb-3 space-y-1;}.editor-content li{@apply leading-relaxed;}.editor-content a{color:hsl(var(--link-color));@apply underline underline-offset-2 hover:opacity-80 transition-opacity;}.editor-content hr{@apply my-6 border-t-2;border-color:hsl(var(--border))}.editor-content table.editor-table{@apply w-full border-collapse my-4;}.editor-content table.editor-table th,.editor-content table.editor-table td{@apply border px-3 py-2 text-left;border-color:hsl(var(--border))}.editor-content table.editor-table th{@apply font-semibold;background:hsl(var(--muted))}.editor-content table.editor-table td{background:hsl(var(--card))}.editor-content .editor-image{@apply my-4 rounded-lg max-w-full;}.editor-content .task-list{@apply list-none pl-0 space-y-2;}.editor-content .task-item{@apply flex items-start gap-3;}.editor-content .task-checkbox{@apply w-5 h-5 rounded border-2 flex-shrink-0 mt-0.5 cursor-pointer transition-all duration-200;border-color:hsl(var(--checkbox-border))}.editor-content .task-checkbox.checked{background:hsl(var(--checkbox-checked));border-color:hsl(var(--checkbox-checked))}.editor-content .task-checkbox.checked:after{content:"✓";@apply text-white text-xs flex items-center justify-center w-full h-full;}.editor-content .task-text.completed{@apply line-through opacity-60;}.editor-content ::selection{background:hsl(var(--selection-bg))}.font-sans-editor{font-family:DM Sans,system-ui,sans-serif}.font-serif-editor{font-family:Merriweather,Georgia,serif}.font-display-editor{font-family:Playfair Display,Georgia,serif}.font-mono-editor{font-family:JetBrains Mono,Courier New,monospace}.font-arial{font-family:Arial,Helvetica,sans-serif}.font-georgia{font-family:Georgia,Times New Roman,serif}.font-verdana{font-family:Verdana,Geneva,sans-serif}.font-courier{font-family:Courier New,Courier,monospace}.font-times{font-family:Times New Roman,Times,serif}}@layer utilities{.animate-fade-in{animation:fadeIn .15s ease-out}.animate-scale-in{animation:scaleIn .15s ease-out}.animate-slide-up{animation:slideUp .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes scaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes slideUp{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}