Skip to content

Commit

Permalink
Improve twitter video downloader
Browse files Browse the repository at this point in the history
  • Loading branch information
HuakunShen committed May 22, 2024
1 parent 3107081 commit 00aac0b
Show file tree
Hide file tree
Showing 33 changed files with 89 additions and 88 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "download-twitter",
"name": "download-twitter-video",
"version": "0.0.1",
"description": "Download YouTube Video Extension",
"identifier": "tech.huakun.jarvis-twitter-download-ext",
"identifier": "tech.huakun.jarvis-twitter-download-video-ext",
"demoImages": [],
"icon": {
"type": "iconify",
Expand All @@ -11,8 +11,13 @@
"uiCmds": [
{
"main": "dist",
"name": "Download Twitter",
"name": "Download Twitter Video",
"devMain": "http://localhost:5173",
"window": {
"titleBarStyle": "overlay",
"width": 700,
"height": 300
},
"cmds": [
{
"type": "text",
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ function App() {
return (
<ThemeProvider defaultTheme="dark" storageKey="vite-ui-theme">
<Toaster />
<div className="h-screen pt-32 flex flex-col">
<DownloadForm className="grow" />
<div className="h-screen flex flex-col">
<div className="h-8" data-tauri-drag-region />
<DownloadForm className="grow mt-10" />
<span className="flex space-x-2 items-center p-3">
<SkillIconsTwitter />
<span className="text-muted-foreground">Download Video</span>
Expand Down
78 changes: 78 additions & 0 deletions extensions/download-twitter-video/src/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
:root {
--background: 0 0% 100%;
--foreground: 240 10% 3.9%;

--muted: 240 4.8% 95.9%;
--muted-foreground: 240 3.8% 46.1%;

--popover: 0 0% 100%;
--popover-foreground: 240 10% 3.9%;

--card: 0 0% 100%;
--card-foreground: 240 10% 3.9%;

--border: 240 5.9% 90%;
--input: 240 5.9% 90%;

--primary: 240 5.9% 10%;
--primary-foreground: 0 0% 98%;

--secondary: 240 4.8% 95.9%;
--secondary-foreground: 240 5.9% 10%;

--accent: 240 4.8% 95.9%;
--accent-foreground: 240 5.9% 10%;

--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;

--ring: 240 10% 3.9%;

--radius: 0.5rem;
}

.dark {
--background: 240 10% 3.9%;
--foreground: 0 0% 98%;

--muted: 240 3.7% 15.9%;
--muted-foreground: 240 5% 64.9%;

--popover: 240 10% 3.9%;
--popover-foreground: 0 0% 98%;

--card: 240 10% 3.9%;
--card-foreground: 0 0% 98%;

--border: 240 3.7% 15.9%;
--input: 240 3.7% 15.9%;

--primary: 0 0% 98%;
--primary-foreground: 240 5.9% 10%;

--secondary: 240 3.7% 15.9%;
--secondary-foreground: 0 0% 98%;

--accent: 240 3.7% 15.9%;
--accent-foreground: 0 0% 98%;

--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 0% 98%;

--ring: 240 4.9% 83.9%;
}
}

@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
83 changes: 0 additions & 83 deletions extensions/download-twitter/src/index.css

This file was deleted.

0 comments on commit 00aac0b

Please sign in to comment.