Add styles
This commit is contained in:
18
package.json
18
package.json
@@ -31,16 +31,16 @@
|
||||
"@rollup/rollup-win32-arm64-msvc": "^4.40.1",
|
||||
"@smithy/protocol-http": "^3.0.12",
|
||||
"@smithy/signature-v4": "^2.0.19",
|
||||
"@tauri-apps/api": "2.0.0",
|
||||
"@tauri-apps/api": "2.5.0",
|
||||
"@tauri-apps/cli-win32-arm64-msvc": "^2.5.0",
|
||||
"@tauri-apps/plugin-deep-link": "~2",
|
||||
"@tauri-apps/plugin-dialog": "~2",
|
||||
"@tauri-apps/plugin-fs": "~2",
|
||||
"@tauri-apps/plugin-http": "~2",
|
||||
"@tauri-apps/plugin-os": "~2",
|
||||
"@tauri-apps/plugin-process": "~2",
|
||||
"@tauri-apps/plugin-deep-link": "~2.2.1",
|
||||
"@tauri-apps/plugin-dialog": "~2.2.1",
|
||||
"@tauri-apps/plugin-fs": "~2.2.1",
|
||||
"@tauri-apps/plugin-http": "~2.4.3",
|
||||
"@tauri-apps/plugin-os": "~2.2.1",
|
||||
"@tauri-apps/plugin-process": "~2.2.1",
|
||||
"@tauri-apps/plugin-shell": "2.2.1",
|
||||
"@tauri-apps/plugin-updater": "~2",
|
||||
"@tauri-apps/plugin-updater": "~2.7.1",
|
||||
"@types/markdown-it": "^14.1.1",
|
||||
"blueimp-md5": "^2.19.0",
|
||||
"body-parser": "^1.20.2",
|
||||
@@ -98,7 +98,7 @@
|
||||
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
||||
"@swc/core": "1.5.7",
|
||||
"@tailwindcss/typography": "^0.5.10",
|
||||
"@tauri-apps/cli": "2.0.2",
|
||||
"@tauri-apps/cli": "2.5.0",
|
||||
"@tsconfig/svelte": "^3.0.0",
|
||||
"@types/blueimp-md5": "^2.18.2",
|
||||
"@types/codemirror": "^5.60.15",
|
||||
|
||||
195
pnpm-lock.yaml
generated
195
pnpm-lock.yaml
generated
@@ -54,35 +54,35 @@ importers:
|
||||
specifier: ^2.0.19
|
||||
version: 2.0.19
|
||||
'@tauri-apps/api':
|
||||
specifier: 2.0.0
|
||||
version: 2.0.0
|
||||
specifier: 2.5.0
|
||||
version: 2.5.0
|
||||
'@tauri-apps/cli-win32-arm64-msvc':
|
||||
specifier: ^2.5.0
|
||||
version: 2.5.0
|
||||
'@tauri-apps/plugin-deep-link':
|
||||
specifier: ~2
|
||||
version: 2.0.0
|
||||
specifier: ~2.2.1
|
||||
version: 2.2.1
|
||||
'@tauri-apps/plugin-dialog':
|
||||
specifier: ~2
|
||||
version: 2.0.0
|
||||
specifier: ~2.2.1
|
||||
version: 2.2.1
|
||||
'@tauri-apps/plugin-fs':
|
||||
specifier: ~2
|
||||
version: 2.0.0
|
||||
specifier: ~2.2.1
|
||||
version: 2.2.1
|
||||
'@tauri-apps/plugin-http':
|
||||
specifier: ~2
|
||||
version: 2.0.0
|
||||
specifier: ~2.4.3
|
||||
version: 2.4.3
|
||||
'@tauri-apps/plugin-os':
|
||||
specifier: ~2
|
||||
version: 2.0.0
|
||||
specifier: ~2.2.1
|
||||
version: 2.2.1
|
||||
'@tauri-apps/plugin-process':
|
||||
specifier: ~2
|
||||
version: 2.0.0
|
||||
specifier: ~2.2.1
|
||||
version: 2.2.1
|
||||
'@tauri-apps/plugin-shell':
|
||||
specifier: 2.2.1
|
||||
version: 2.2.1
|
||||
'@tauri-apps/plugin-updater':
|
||||
specifier: ~2
|
||||
version: 2.0.0
|
||||
specifier: ~2.7.1
|
||||
version: 2.7.1
|
||||
'@types/markdown-it':
|
||||
specifier: ^14.1.1
|
||||
version: 14.1.1
|
||||
@@ -250,8 +250,8 @@ importers:
|
||||
specifier: ^0.5.10
|
||||
version: 0.5.10(tailwindcss@3.4.1(ts-node@10.9.2(@swc/core@1.5.7)(@types/node@18.19.7)(typescript@5.6.3)))
|
||||
'@tauri-apps/cli':
|
||||
specifier: 2.0.2
|
||||
version: 2.0.2
|
||||
specifier: 2.5.0
|
||||
version: 2.5.0
|
||||
'@tsconfig/svelte':
|
||||
specifier: ^3.0.0
|
||||
version: 3.0.0
|
||||
@@ -1123,102 +1123,102 @@ packages:
|
||||
peerDependencies:
|
||||
tailwindcss: '>=3.0.0 || insiders'
|
||||
|
||||
'@tauri-apps/api@2.0.0':
|
||||
resolution: {integrity: sha512-moKgCp2EX7X5GiOx/G/bmoEpkFQVVmyS98UaJU4xUVzan+E1BdwlAKcbip+cGldshYOqL4JSwAEN1OkRXeug0Q==}
|
||||
'@tauri-apps/api@2.5.0':
|
||||
resolution: {integrity: sha512-Ldux4ip+HGAcPUmuLT8EIkk6yafl5vK0P0c0byzAKzxJh7vxelVtdPONjfgTm96PbN24yjZNESY8CKo8qniluA==}
|
||||
|
||||
'@tauri-apps/cli-darwin-arm64@2.0.2':
|
||||
resolution: {integrity: sha512-B+/a8Q6wAqmB4A4HVeK0oQP5TdQGKW60ZLOI9O2ktH2HPr9ETr3XkwXPuJ2uAOuGEgtRZHBgFOIgG000vMnKlg==}
|
||||
'@tauri-apps/cli-darwin-arm64@2.5.0':
|
||||
resolution: {integrity: sha512-VuVAeTFq86dfpoBDNYAdtQVLbP0+2EKCHIIhkaxjeoPARR0sLpFHz2zs0PcFU76e+KAaxtEtAJAXGNUc8E1PzQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
'@tauri-apps/cli-darwin-x64@2.0.2':
|
||||
resolution: {integrity: sha512-kaurhn6XT4gAVCPAQSSHl/CHFxTS0ljc47N7iGTSlYJ03sCWPRZeNuVa/bn6rolz9MA2JfnRnFqB1pUL6jzp9Q==}
|
||||
'@tauri-apps/cli-darwin-x64@2.5.0':
|
||||
resolution: {integrity: sha512-hUF01sC06cZVa8+I0/VtsHOk9BbO75rd+YdtHJ48xTdcYaQ5QIwL4yZz9OR1AKBTaUYhBam8UX9Pvd5V2/4Dpw==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
'@tauri-apps/cli-linux-arm-gnueabihf@2.0.2':
|
||||
resolution: {integrity: sha512-bVrofjlacMxmGMcqK18iBW05tsZXOd19/MnqruFFcHSVjvkGGIXHMtUbMXnZNXBPkHDsnfytNtkY9SZGfCFaBA==}
|
||||
'@tauri-apps/cli-linux-arm-gnueabihf@2.5.0':
|
||||
resolution: {integrity: sha512-LQKqttsK252LlqYyX8R02MinUsfFcy3+NZiJwHFgi5Y3+ZUIAED9cSxJkyNtuY5KMnR4RlpgWyLv4P6akN1xhg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm]
|
||||
os: [linux]
|
||||
|
||||
'@tauri-apps/cli-linux-arm64-gnu@2.0.2':
|
||||
resolution: {integrity: sha512-7XCBn0TTBVQGnV42dXcbHPLg/9W8kJoVzuliIozvNGyRWxfXqDbQYzpI48HUQG3LgHMabcw8+pVZAfGhevLrCA==}
|
||||
'@tauri-apps/cli-linux-arm64-gnu@2.5.0':
|
||||
resolution: {integrity: sha512-mTQufsPcpdHg5RW0zypazMo4L55EfeE5snTzrPqbLX4yCK2qalN7+rnP8O8GT06xhp6ElSP/Ku1M2MR297SByQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
'@tauri-apps/cli-linux-arm64-musl@2.0.2':
|
||||
resolution: {integrity: sha512-1xi2SreGVlpAL68MCsDUY63rdItUdPZreXIAcOVqvUehcJRYOa1XGSBhrV0YXRgZeh0AtKC19z6PRzcv4rosZA==}
|
||||
'@tauri-apps/cli-linux-arm64-musl@2.5.0':
|
||||
resolution: {integrity: sha512-rQO1HhRUQqyEaal5dUVOQruTRda/TD36s9kv1hTxZiFuSq3558lsTjAcUEnMAtBcBkps20sbyTJNMT0AwYIk8Q==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
'@tauri-apps/cli-linux-x64-gnu@2.0.2':
|
||||
resolution: {integrity: sha512-WVjwYzPWFqZVg1fx6KSU5w47Q0VbMyaCp34qs5EcS8EIU0/RnofdzqUoOYqvgGVgNgoz7Pj5dXK2SkS8BHXMmA==}
|
||||
'@tauri-apps/cli-linux-riscv64-gnu@2.5.0':
|
||||
resolution: {integrity: sha512-7oS18FN46yDxyw1zX/AxhLAd7T3GrLj3Ai6s8hZKd9qFVzrAn36ESL7d3G05s8wEtsJf26qjXnVF4qleS3dYsA==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [riscv64]
|
||||
os: [linux]
|
||||
|
||||
'@tauri-apps/cli-linux-x64-gnu@2.5.0':
|
||||
resolution: {integrity: sha512-SG5sFNL7VMmDBdIg3nO3EzNRT306HsiEQ0N90ILe3ZABYAVoPDO/ttpCO37ApLInTzrq/DLN+gOlC/mgZvLw1w==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
'@tauri-apps/cli-linux-x64-musl@2.0.2':
|
||||
resolution: {integrity: sha512-h5miE2mctgaQNn/BbG9o1pnJcrx+VGBi2A6JFqGu934lFgSV5+s28M8Gc8AF2JgFH4hQV4IuMkeSw8Chu5Dodg==}
|
||||
'@tauri-apps/cli-linux-x64-musl@2.5.0':
|
||||
resolution: {integrity: sha512-QXDM8zp/6v05PNWju5ELsVwF0VH1n6b5pk2E6W/jFbbiwz80Vs1lACl9pv5kEHkrxBj+aWU/03JzGuIj2g3SkQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
'@tauri-apps/cli-win32-arm64-msvc@2.0.2':
|
||||
resolution: {integrity: sha512-2b8oO0+dYonahG5PfA/zoq0zlafLclfmXgqoWDZ++UiPtQHJNpNeEQ8GWbSFKGHQ494Jo6jHvazOojGRE1kqAg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
'@tauri-apps/cli-win32-arm64-msvc@2.5.0':
|
||||
resolution: {integrity: sha512-pFSHFK6b+o9y4Un8w0gGLwVyFTZaC3P0kQ7umRt/BLDkzD5RnQ4vBM7CF8BCU5nkwmEBUCZd7Wt3TWZxe41o6Q==}
|
||||
engines: {node: '>= 10'}
|
||||
os: [win32]
|
||||
|
||||
'@tauri-apps/cli-win32-ia32-msvc@2.0.2':
|
||||
resolution: {integrity: sha512-axgICLunFi0To3EibdCBgbST5RocsSmtM4c04+CbcX8WQQosJ9ziWlCSrrOTRr+gJERAMSvEyVUS98f6bWMw9A==}
|
||||
'@tauri-apps/cli-win32-ia32-msvc@2.5.0':
|
||||
resolution: {integrity: sha512-EArv1IaRlogdLAQyGlKmEqZqm5RfHCUMhJoedWu7GtdbOMUfSAz6FMX2boE1PtEmNO4An+g188flLeVErrxEKg==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [ia32]
|
||||
os: [win32]
|
||||
|
||||
'@tauri-apps/cli-win32-x64-msvc@2.0.2':
|
||||
resolution: {integrity: sha512-JR17cM6+DyExZRgpXr2/DdqvcFYi/EKvQt8dI5R1/uQoesWd8jeNnrU7c1FG1Zmw9+pTzDztsNqEKsrNq2sNIg==}
|
||||
'@tauri-apps/cli-win32-x64-msvc@2.5.0':
|
||||
resolution: {integrity: sha512-lj43EFYbnAta8pd9JnUq87o+xRUR0odz+4rixBtTUwUgdRdwQ2V9CzFtsMu6FQKpFQ6mujRK6P1IEwhL6ADRsQ==}
|
||||
engines: {node: '>= 10'}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
'@tauri-apps/cli@2.0.2':
|
||||
resolution: {integrity: sha512-R4ontHZvXORArERAHIidp5zRfZEshZczTiK+poslBv7AGKpQZoMw+E49zns7mOmP64i2Cq9Ci0pJvi4Rm8Okzw==}
|
||||
'@tauri-apps/cli@2.5.0':
|
||||
resolution: {integrity: sha512-rAtHqG0Gh/IWLjN2zTf3nZqYqbo81oMbqop56rGTjrlWk9pTTAjkqOjSL9XQLIMZ3RbeVjveCqqCA0s8RnLdMg==}
|
||||
engines: {node: '>= 10'}
|
||||
hasBin: true
|
||||
|
||||
'@tauri-apps/plugin-deep-link@2.0.0':
|
||||
resolution: {integrity: sha512-cDa2k1OrRU5DoKc0IXl1Y8RlFOU107u2phdZfT7FkApsC6TL/VAPs3YOUTT8p9/PZ50EjOKP104HFMqVqnQ0bw==}
|
||||
'@tauri-apps/plugin-deep-link@2.2.1':
|
||||
resolution: {integrity: sha512-8skZ6qIH/kWaV8d6jj3aPvvkIOuqkVk0APRDey9n9N3Ueu3n4MIbuxpAKR2EdoAyQxnXxPTNVyjw2D35/vfGyg==}
|
||||
|
||||
'@tauri-apps/plugin-dialog@2.0.0':
|
||||
resolution: {integrity: sha512-ApNkejXP2jpPBSifznPPcHTXxu9/YaRW+eJ+8+nYwqp0lLUtebFHG4QhxitM43wwReHE81WAV1DQ/b+2VBftOA==}
|
||||
'@tauri-apps/plugin-dialog@2.2.1':
|
||||
resolution: {integrity: sha512-wZmCouo4PgTosh/UoejPw9DPs6RllS5Pp3fuOV2JobCu36mR5AXU2MzU9NZiVaFi/5Zfc8RN0IhcZHnksJ1o8A==}
|
||||
|
||||
'@tauri-apps/plugin-fs@2.0.0':
|
||||
resolution: {integrity: sha512-BNEeQQ5aH8J5SwYuWgRszVyItsmquRuzK2QRkVj8Z0sCsLnSvJFYI3JHRzzr3ltZGq1nMPtblrlZzuKqVzRawA==}
|
||||
'@tauri-apps/plugin-fs@2.2.1':
|
||||
resolution: {integrity: sha512-KdGzvvA4Eg0Dhw55MwczFbjxLxsTx0FvwwC/0StXlr6IxwPUxh5ziZQoaugkBFs8t+wfebdQrjBEzd8NmmDXNw==}
|
||||
|
||||
'@tauri-apps/plugin-http@2.0.0':
|
||||
resolution: {integrity: sha512-UfKAICL25ayluV/SjiEQujz8q/2uyAzp3u9uaHFkaIyKS5usBL8DoqSwi4eKz2mEjkbxTwldhDEXG4CEfTE0JQ==}
|
||||
'@tauri-apps/plugin-http@2.4.3':
|
||||
resolution: {integrity: sha512-Us8X+FikzpaZRNr4kH4HLwyXascHbM42p6LxAqRTQnHPrrqp1usaH4vxWAZalPvTbHJ3gBEMJPHusFJgtjGJjA==}
|
||||
|
||||
'@tauri-apps/plugin-os@2.0.0':
|
||||
resolution: {integrity: sha512-M7hG/nNyQYTJxVG/UhTKhp9mpXriwWzrs9mqDreB8mIgqA3ek5nHLdwRZJWhkKjZrnDT4v9CpA9BhYeplTlAiA==}
|
||||
'@tauri-apps/plugin-os@2.2.1':
|
||||
resolution: {integrity: sha512-cNYpNri2CCc6BaNeB6G/mOtLvg8dFyFQyCUdf2y0K8PIAKGEWdEcu8DECkydU2B+oj4OJihDPD2de5K6cbVl9A==}
|
||||
|
||||
'@tauri-apps/plugin-process@2.0.0':
|
||||
resolution: {integrity: sha512-OYzi0GnkrF4NAnsHZU7U3tjSoP0PbeAlO7T1Z+vJoBUH9sFQ1NSLqWYWQyf8hcb3gVWe7P1JggjiskO+LST1ug==}
|
||||
'@tauri-apps/plugin-process@2.2.1':
|
||||
resolution: {integrity: sha512-cF/k8J+YjjuowhNG1AboHNTlrGiOwgX5j6NzsX6WFf9FMzyZUchkCgZMxCdSE5NIgFX0vvOgLQhODFJgbMenLg==}
|
||||
|
||||
'@tauri-apps/plugin-shell@2.2.1':
|
||||
resolution: {integrity: sha512-G1GFYyWe/KlCsymuLiNImUgC8zGY0tI0Y3p8JgBCWduR5IEXlIJS+JuG1qtveitwYXlfJrsExt3enhv5l2/yhA==}
|
||||
|
||||
'@tauri-apps/plugin-updater@2.0.0':
|
||||
resolution: {integrity: sha512-N0cl71g7RPr7zK2Fe5aoIwzw14NcdLcz7XMGFWZVjprsqgDRWoxbnUkknyCQMZthjhGkppCd/wN2MIsUz+eAhQ==}
|
||||
'@tauri-apps/plugin-updater@2.7.1':
|
||||
resolution: {integrity: sha512-1OPqEY/z7NDVSeTEMIhD2ss/vXWdpfZ5Th2Mk0KtPR/RA6FKuOTDGZQhxoyYBk0pcZJ+nNZUbl/IujDCLBApjA==}
|
||||
|
||||
'@trapezedev/gradle-parse@7.0.10':
|
||||
resolution: {integrity: sha512-k822Is3jGroqOTKF0gAFm80LmhFJWBAyZvNtyuXq6uQUzDDe2fj/gHwixP6VFzlpaWKLP7IuR609Xv8gwJCXyg==}
|
||||
@@ -4641,84 +4641,85 @@ snapshots:
|
||||
postcss-selector-parser: 6.0.10
|
||||
tailwindcss: 3.4.1(ts-node@10.9.2(@swc/core@1.5.7)(@types/node@18.19.7)(typescript@5.6.3))
|
||||
|
||||
'@tauri-apps/api@2.0.0': {}
|
||||
'@tauri-apps/api@2.5.0': {}
|
||||
|
||||
'@tauri-apps/cli-darwin-arm64@2.0.2':
|
||||
'@tauri-apps/cli-darwin-arm64@2.5.0':
|
||||
optional: true
|
||||
|
||||
'@tauri-apps/cli-darwin-x64@2.0.2':
|
||||
'@tauri-apps/cli-darwin-x64@2.5.0':
|
||||
optional: true
|
||||
|
||||
'@tauri-apps/cli-linux-arm-gnueabihf@2.0.2':
|
||||
'@tauri-apps/cli-linux-arm-gnueabihf@2.5.0':
|
||||
optional: true
|
||||
|
||||
'@tauri-apps/cli-linux-arm64-gnu@2.0.2':
|
||||
'@tauri-apps/cli-linux-arm64-gnu@2.5.0':
|
||||
optional: true
|
||||
|
||||
'@tauri-apps/cli-linux-arm64-musl@2.0.2':
|
||||
'@tauri-apps/cli-linux-arm64-musl@2.5.0':
|
||||
optional: true
|
||||
|
||||
'@tauri-apps/cli-linux-x64-gnu@2.0.2':
|
||||
'@tauri-apps/cli-linux-riscv64-gnu@2.5.0':
|
||||
optional: true
|
||||
|
||||
'@tauri-apps/cli-linux-x64-musl@2.0.2':
|
||||
'@tauri-apps/cli-linux-x64-gnu@2.5.0':
|
||||
optional: true
|
||||
|
||||
'@tauri-apps/cli-win32-arm64-msvc@2.0.2':
|
||||
'@tauri-apps/cli-linux-x64-musl@2.5.0':
|
||||
optional: true
|
||||
|
||||
'@tauri-apps/cli-win32-arm64-msvc@2.5.0': {}
|
||||
|
||||
'@tauri-apps/cli-win32-ia32-msvc@2.0.2':
|
||||
'@tauri-apps/cli-win32-ia32-msvc@2.5.0':
|
||||
optional: true
|
||||
|
||||
'@tauri-apps/cli-win32-x64-msvc@2.0.2':
|
||||
'@tauri-apps/cli-win32-x64-msvc@2.5.0':
|
||||
optional: true
|
||||
|
||||
'@tauri-apps/cli@2.0.2':
|
||||
'@tauri-apps/cli@2.5.0':
|
||||
optionalDependencies:
|
||||
'@tauri-apps/cli-darwin-arm64': 2.0.2
|
||||
'@tauri-apps/cli-darwin-x64': 2.0.2
|
||||
'@tauri-apps/cli-linux-arm-gnueabihf': 2.0.2
|
||||
'@tauri-apps/cli-linux-arm64-gnu': 2.0.2
|
||||
'@tauri-apps/cli-linux-arm64-musl': 2.0.2
|
||||
'@tauri-apps/cli-linux-x64-gnu': 2.0.2
|
||||
'@tauri-apps/cli-linux-x64-musl': 2.0.2
|
||||
'@tauri-apps/cli-win32-arm64-msvc': 2.0.2
|
||||
'@tauri-apps/cli-win32-ia32-msvc': 2.0.2
|
||||
'@tauri-apps/cli-win32-x64-msvc': 2.0.2
|
||||
'@tauri-apps/cli-darwin-arm64': 2.5.0
|
||||
'@tauri-apps/cli-darwin-x64': 2.5.0
|
||||
'@tauri-apps/cli-linux-arm-gnueabihf': 2.5.0
|
||||
'@tauri-apps/cli-linux-arm64-gnu': 2.5.0
|
||||
'@tauri-apps/cli-linux-arm64-musl': 2.5.0
|
||||
'@tauri-apps/cli-linux-riscv64-gnu': 2.5.0
|
||||
'@tauri-apps/cli-linux-x64-gnu': 2.5.0
|
||||
'@tauri-apps/cli-linux-x64-musl': 2.5.0
|
||||
'@tauri-apps/cli-win32-arm64-msvc': 2.5.0
|
||||
'@tauri-apps/cli-win32-ia32-msvc': 2.5.0
|
||||
'@tauri-apps/cli-win32-x64-msvc': 2.5.0
|
||||
|
||||
'@tauri-apps/plugin-deep-link@2.0.0':
|
||||
'@tauri-apps/plugin-deep-link@2.2.1':
|
||||
dependencies:
|
||||
'@tauri-apps/api': 2.0.0
|
||||
'@tauri-apps/api': 2.5.0
|
||||
|
||||
'@tauri-apps/plugin-dialog@2.0.0':
|
||||
'@tauri-apps/plugin-dialog@2.2.1':
|
||||
dependencies:
|
||||
'@tauri-apps/api': 2.0.0
|
||||
'@tauri-apps/api': 2.5.0
|
||||
|
||||
'@tauri-apps/plugin-fs@2.0.0':
|
||||
'@tauri-apps/plugin-fs@2.2.1':
|
||||
dependencies:
|
||||
'@tauri-apps/api': 2.0.0
|
||||
'@tauri-apps/api': 2.5.0
|
||||
|
||||
'@tauri-apps/plugin-http@2.0.0':
|
||||
'@tauri-apps/plugin-http@2.4.3':
|
||||
dependencies:
|
||||
'@tauri-apps/api': 2.0.0
|
||||
'@tauri-apps/api': 2.5.0
|
||||
|
||||
'@tauri-apps/plugin-os@2.0.0':
|
||||
'@tauri-apps/plugin-os@2.2.1':
|
||||
dependencies:
|
||||
'@tauri-apps/api': 2.0.0
|
||||
'@tauri-apps/api': 2.5.0
|
||||
|
||||
'@tauri-apps/plugin-process@2.0.0':
|
||||
'@tauri-apps/plugin-process@2.2.1':
|
||||
dependencies:
|
||||
'@tauri-apps/api': 2.0.0
|
||||
'@tauri-apps/api': 2.5.0
|
||||
|
||||
'@tauri-apps/plugin-shell@2.2.1':
|
||||
dependencies:
|
||||
'@tauri-apps/api': 2.0.0
|
||||
'@tauri-apps/api': 2.5.0
|
||||
|
||||
'@tauri-apps/plugin-updater@2.0.0':
|
||||
'@tauri-apps/plugin-updater@2.7.1':
|
||||
dependencies:
|
||||
'@tauri-apps/api': 2.0.0
|
||||
'@tauri-apps/api': 2.5.0
|
||||
|
||||
'@trapezedev/gradle-parse@7.0.10': {}
|
||||
|
||||
|
||||
1145
src-tauri/Cargo.lock
generated
1145
src-tauri/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -13,7 +13,7 @@ edition = "2021"
|
||||
tauri-build = { version = "2", features = [] }
|
||||
|
||||
[dependencies]
|
||||
tauri = { version = "2", features = ["protocol-asset"] }
|
||||
tauri = { version = "2.5.1", features = ["protocol-asset"] }
|
||||
serde_json = "1.0"
|
||||
tiktoken-rs = "0.4.0"
|
||||
base64 = "0.21.0"
|
||||
@@ -25,14 +25,14 @@ eventsource-client = "0.12.2"
|
||||
futures = "0.3.30"
|
||||
url = "2.2"
|
||||
uuid = { version = "1.9.1", features = [ "v4" ] }
|
||||
tauri-plugin-fs = "2"
|
||||
tauri-plugin-fs = "2.2.1"
|
||||
tauri-plugin-os = "2"
|
||||
tauri-plugin-dialog = "2"
|
||||
tauri-plugin-process = "2"
|
||||
tauri-plugin-dialog = "2.2.1"
|
||||
tauri-plugin-process = "2.2.1"
|
||||
tauri-plugin-shell = "2.2.1"
|
||||
tauri-plugin-http = "2"
|
||||
tauri-plugin-http = "2.4.3"
|
||||
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\"))".dependencies]
|
||||
tauri-plugin-deep-link = "2"
|
||||
tauri-plugin-deep-link = "2.1"
|
||||
|
||||
[features]
|
||||
# this feature is used for production builds or when `devPath` points to the filesystem
|
||||
@@ -45,4 +45,4 @@ custom-protocol = ["tauri/custom-protocol"]
|
||||
|
||||
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
||||
tauri-plugin-single-instance = { version = "2.0.0", features = ["deep-link"] }
|
||||
tauri-plugin-updater = "2"
|
||||
tauri-plugin-updater = "2.7.1"
|
||||
|
||||
59
src/lib/UI/NewGUI/Button.svelte
Normal file
59
src/lib/UI/NewGUI/Button.svelte
Normal file
@@ -0,0 +1,59 @@
|
||||
<script lang="ts">
|
||||
import type { Snippet } from "svelte";
|
||||
|
||||
|
||||
let {size='md',color, children}: {size?: 'xs'|'sm'|'md'|'lg'|'xl', color?:'primary'|'secondary'|'danger', children?:Snippet} = $props();
|
||||
|
||||
</script>
|
||||
|
||||
<!--
|
||||
We can define button color using template literals,
|
||||
but since tailwind doesn't support dynamic class names,
|
||||
we need to use a workaround.
|
||||
--->
|
||||
|
||||
{#if color == 'primary'}
|
||||
{#if size == 'xs'}
|
||||
<button type="button" class={`rounded-sm bg-primary-600 px-2 py-1 text-xs font-semibold text-neutral-0 shadow-xs hover:bg-primary-500 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600`}>
|
||||
{@render children?.()}
|
||||
</button>
|
||||
{:else if size == 'sm'}
|
||||
<button type="button" class={`rounded bg-primary-600 px-2 py-1 text-sm font-semibold text-neutral-50 shadow-sm hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600`}>
|
||||
{@render children?.()}
|
||||
</button>
|
||||
{:else if size == 'md'}
|
||||
<button type="button" class={`rounded-md bg-primary-600 px-2.5 py-1.5 text-sm font-semibold text-neutral-50 shadow-sm hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600`}>
|
||||
{@render children?.()}
|
||||
</button>
|
||||
{:else if size == 'lg'}
|
||||
<button type="button" class={`rounded-md bg-primary-600 px-3 py-2 text-sm font-semibold text-neutral-50 shadow-sm hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600`}>
|
||||
{@render children?.()}
|
||||
</button>
|
||||
{:else if size == 'xl'}
|
||||
<button type="button" class={`rounded-md bg-primary-600 px-3.5 py-2.5 text-sm font-semibold text-neutral-50 shadow-sm hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600`}>
|
||||
{@render children?.()}
|
||||
</button>
|
||||
{/if}
|
||||
{:else if color == 'danger'}
|
||||
{#if size == 'xs'}
|
||||
<button type="button" class={`rounded-sm bg-danger-600 px-2 py-1 text-xs font-semibold text-neutral-0 shadow-xs hover:bg-danger-500 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-danger-600`}>
|
||||
{@render children?.()}
|
||||
</button>
|
||||
{:else if size == 'sm'}
|
||||
<button type="button" class={`rounded bg-danger-600 px-2 py-1 text-sm font-semibold text-neutral-50 shadow-sm hover:bg-danger-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-danger-600`}>
|
||||
{@render children?.()}
|
||||
</button>
|
||||
{:else if size == 'md'}
|
||||
<button type="button" class={`rounded-md bg-danger-600 px-2.5 py-1.5 text-sm font-semibold text-neutral-50 shadow-sm hover:bg-danger-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-danger-600`}>
|
||||
{@render children?.()}
|
||||
</button>
|
||||
{:else if size == 'lg'}
|
||||
<button type="button" class={`rounded-md bg-danger-600 px-3 py-2 text-sm font-semibold text-neutral-50 shadow-sm hover:bg-danger-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-danger-600`}>
|
||||
{@render children?.()}
|
||||
</button>
|
||||
{:else if size == 'xl'}
|
||||
<button type="button" class={`rounded-md bg-danger-600 px-3.5 py-2.5 text-sm font-semibold text-neutral-50 shadow-sm hover:bg-danger-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-danger-600`}>
|
||||
{@render children?.()}
|
||||
</button>
|
||||
{/if}
|
||||
{/if}
|
||||
@@ -30,6 +30,61 @@ body{
|
||||
--risu-theme-darkbutton: #374151;
|
||||
--risu-height-size: 100%;
|
||||
--risu-font-family: Arial, sans-serif, serif;
|
||||
|
||||
--risu-theme-neutral-50: #f9fafb;
|
||||
--risu-theme-neutral-100: #f3f4f6;
|
||||
--risu-theme-neutral-200: #e5e7eb;
|
||||
--risu-theme-neutral-300: #d1d5db;
|
||||
--risu-theme-neutral-400: #9ca3af;
|
||||
--risu-theme-neutral-500: #6b7280;
|
||||
--risu-theme-neutral-600: #4b5563;
|
||||
--risu-theme-neutral-700: #374151;
|
||||
--risu-theme-neutral-800: #1f2937;
|
||||
--risu-theme-neutral-900: #111827;
|
||||
|
||||
--risu-theme-primary-50: #eff6ff;
|
||||
--risu-theme-primary-100: #dbeafe;
|
||||
--risu-theme-primary-200: #bfdbfe;
|
||||
--risu-theme-primary-300: #93c5fd;
|
||||
--risu-theme-primary-400: #60a5fa;
|
||||
--risu-theme-primary-500: #3b82f6;
|
||||
--risu-theme-primary-600: #2563eb;
|
||||
--risu-theme-primary-700: #1d4ed8;
|
||||
--risu-theme-primary-800: #1e40af;
|
||||
--risu-theme-primary-900: #1e3a8a;
|
||||
|
||||
--risu-theme-secondary-50: #f5f3ff;
|
||||
--risu-theme-secondary-100: #ede9fe;
|
||||
--risu-theme-secondary-200: #ddd6fe;
|
||||
--risu-theme-secondary-300: #c4b5fd;
|
||||
--risu-theme-secondary-400: #a78bfa;
|
||||
--risu-theme-secondary-500: #8b5cf6;
|
||||
--risu-theme-secondary-600: #7c3aed;
|
||||
--risu-theme-secondary-700: #6d28d9;
|
||||
--risu-theme-secondary-800: #5b21b6;
|
||||
--risu-theme-secondary-900: #4c1d95;
|
||||
|
||||
--risu-theme-danger-50: #fef2f2;
|
||||
--risu-theme-danger-100: #fee2e2;
|
||||
--risu-theme-danger-200: #fecaca;
|
||||
--risu-theme-danger-300: #fca5a5;
|
||||
--risu-theme-danger-400: #f87171;
|
||||
--risu-theme-danger-500: #ef4444;
|
||||
--risu-theme-danger-600: #dc2626;
|
||||
--risu-theme-danger-700: #b91c1c;
|
||||
--risu-theme-danger-800: #991b1b;
|
||||
--risu-theme-danger-900: #7f1d1d;
|
||||
|
||||
--risu-theme-success-50: #f0fdf4;
|
||||
--risu-theme-success-100: #dcfce7;
|
||||
--risu-theme-success-200: #bbf7d0;
|
||||
--risu-theme-success-300: #86efac;
|
||||
--risu-theme-success-400: #4ade80;
|
||||
--risu-theme-success-500: #22c55e;
|
||||
--risu-theme-success-600: #16a34a;
|
||||
--risu-theme-success-700: #15803d;
|
||||
--risu-theme-success-800: #166534;
|
||||
--risu-theme-success-900: #14532d;
|
||||
}
|
||||
|
||||
.x-risu-language-json{
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
|
||||
|
||||
export function declareTest() {
|
||||
if(import.meta.env.DEV){
|
||||
globalThis.test = async () => {
|
||||
const d = await import("./test.js")
|
||||
return d.test()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -7,6 +7,8 @@ export default {
|
||||
theme: {
|
||||
extend: {
|
||||
colors:{
|
||||
|
||||
//old Colors
|
||||
bgcolor: "var(--risu-theme-bgcolor)",
|
||||
darkbg: "var(--risu-theme-darkbg)",
|
||||
borderc: "var(--risu-theme-borderc)",
|
||||
@@ -16,6 +18,73 @@ export default {
|
||||
textcolor2: "var(--risu-theme-textcolor2)",
|
||||
darkborderc: "var(--risu-theme-darkborderc)",
|
||||
darkbutton: "var(--risu-theme-darkbutton)",
|
||||
|
||||
//new Colors
|
||||
primary: {
|
||||
50: "var(--risu-theme-primary-50)",
|
||||
100: "var(--risu-theme-primary-100)",
|
||||
200: "var(--risu-theme-primary-200)",
|
||||
300: "var(--risu-theme-primary-300)",
|
||||
400: "var(--risu-theme-primary-400)",
|
||||
500: "var(--risu-theme-primary-500)",
|
||||
600: "var(--risu-theme-primary-600)",
|
||||
700: "var(--risu-theme-primary-700)",
|
||||
800: "var(--risu-theme-primary-800)",
|
||||
900: "var(--risu-theme-primary-900)",
|
||||
},
|
||||
|
||||
secondary: {
|
||||
50: "var(--risu-theme-secondary-50)",
|
||||
100: "var(--risu-theme-secondary-100)",
|
||||
200: "var(--risu-theme-secondary-200)",
|
||||
300: "var(--risu-theme-secondary-300)",
|
||||
400: "var(--risu-theme-secondary-400)",
|
||||
500: "var(--risu-theme-secondary-500)",
|
||||
600: "var(--risu-theme-secondary-600)",
|
||||
700: "var(--risu-theme-secondary-700)",
|
||||
800: "var(--risu-theme-secondary-800)",
|
||||
900: "var(--risu-theme-secondary-900)",
|
||||
},
|
||||
|
||||
danger: {
|
||||
50: "var(--risu-theme-danger-50)",
|
||||
100: "var(--risu-theme-danger-100)",
|
||||
200: "var(--risu-theme-danger-200)",
|
||||
300: "var(--risu-theme-danger-300)",
|
||||
400: "var(--risu-theme-danger-400)",
|
||||
500: "var(--risu-theme-danger-500)",
|
||||
600: "var(--risu-theme-danger-600)",
|
||||
700: "var(--risu-theme-danger-700)",
|
||||
800: "var(--risu-theme-danger-800)",
|
||||
900: "var(--risu-theme-danger-900)",
|
||||
},
|
||||
|
||||
neutral: {
|
||||
50: "var(--risu-theme-neutral-50)",
|
||||
100: "var(--risu-theme-neutral-100)",
|
||||
200: "var(--risu-theme-neutral-200)",
|
||||
300: "var(--risu-theme-neutral-300)",
|
||||
400: "var(--risu-theme-neutral-400)",
|
||||
500: "var(--risu-theme-neutral-500)",
|
||||
600: "var(--risu-theme-neutral-600)",
|
||||
700: "var(--risu-theme-neutral-700)",
|
||||
800: "var(--risu-theme-neutral-800)",
|
||||
900: "var(--risu-theme-neutral-900)",
|
||||
},
|
||||
success: {
|
||||
50: "var(--risu-theme-success-50)",
|
||||
100: "var(--risu-theme-success-100)",
|
||||
200: "var(--risu-theme-success-200)",
|
||||
300: "var(--risu-theme-success-300)",
|
||||
400: "var(--risu-theme-success-400)",
|
||||
500: "var(--risu-theme-success-500)",
|
||||
600: "var(--risu-theme-success-600)",
|
||||
700: "var(--risu-theme-success-700)",
|
||||
800: "var(--risu-theme-success-800)",
|
||||
900: "var(--risu-theme-success-900)",
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
minWidth: {
|
||||
'2': '0.5rem',
|
||||
|
||||
Reference in New Issue
Block a user