diff --git a/package.json b/package.json index 22c091c..377cc2b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "wealthfolio-app", "private": true, - "version": "1.0.21", + "version": "1.0.22", "type": "module", "scripts": { "dev": "vite", diff --git a/src-core/Cargo.lock b/src-core/Cargo.lock index a091921..e3f88f6 100644 --- a/src-core/Cargo.lock +++ b/src-core/Cargo.lock @@ -1931,7 +1931,7 @@ checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" [[package]] name = "wealthfolio_core" -version = "1.0.21" +version = "1.0.22" dependencies = [ "async-trait", "bigdecimal", diff --git a/src-core/Cargo.toml b/src-core/Cargo.toml index 685fe8c..d95d275 100644 --- a/src-core/Cargo.toml +++ b/src-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wealthfolio_core" -version = "1.0.21" +version = "1.0.22" description = "Portfolio tracker" authors = ["Aziz Fadil"] license = "AGPL-3.0" diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 8964d08..2b833b8 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -5486,7 +5486,7 @@ dependencies = [ [[package]] name = "wealthfolio-app" -version = "1.0.21" +version = "1.0.22" dependencies = [ "chrono", "csv", @@ -5507,7 +5507,7 @@ dependencies = [ [[package]] name = "wealthfolio_core" -version = "1.0.21" +version = "1.0.22" dependencies = [ "async-trait", "bigdecimal", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index b816946..f79fb57 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wealthfolio-app" -version = "1.0.21" +version = "1.0.22" description = "Portfolio tracker" authors = ["Aziz Fadil"] license = "AGPL-3.0" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 3532391..4b70aad 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -21,7 +21,7 @@ }, "productName": "Wealthfolio", "mainBinaryName": "Wealthfolio", - "version": "1.0.21", + "version": "1.0.22", "identifier": "com.teymz.wealthfolio", "plugins": { "updater": { diff --git a/tailwind.config.js b/tailwind.config.js index c8d8b2c..9fd32bf 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,7 +1,8 @@ -/** @type {import('tailwindcss').Config} */ -const { fontFamily } = require('tailwindcss/defaultTheme'); +import { fontFamily } from 'tailwindcss/defaultTheme'; +import tailwindcssAnimate from 'tailwindcss-animate'; -module.exports = { +/** @type {import('tailwindcss').Config} */ +export default { darkMode: ['class'], content: [ './pages/**/*.{ts,tsx}', @@ -10,98 +11,90 @@ module.exports = { './src/**/*.{ts,tsx}', ], theme: { - container: { - center: 'true', - padding: '2rem', - screens: { - '2xl': '1400px' - } - }, - extend: { - fontFamily: { - mono: ['IBM Plex Mono', ...fontFamily.mono] - }, - colors: { - border: 'hsl(var(--border))', - input: 'hsl(var(--input))', - ring: 'hsl(var(--ring))', - background: 'hsl(var(--background))', - foreground: 'hsl(var(--foreground))', - primary: { - DEFAULT: 'hsl(var(--primary))', - foreground: 'hsl(var(--primary-foreground))' - }, - secondary: { - DEFAULT: 'hsl(var(--secondary))', - foreground: 'hsl(var(--secondary-foreground))' - }, - destructive: { - DEFAULT: 'hsl(var(--destructive))', - foreground: 'hsl(var(--destructive-foreground))' - }, - muted: { - DEFAULT: 'hsl(var(--muted))', - foreground: 'hsl(var(--muted-foreground))' - }, - accent: { - DEFAULT: 'hsl(var(--accent))', - foreground: 'hsl(var(--accent-foreground))' - }, - popover: { - DEFAULT: 'hsl(var(--popover))', - foreground: 'hsl(var(--popover-foreground))' - }, - card: { - DEFAULT: 'hsl(var(--card))', - foreground: 'hsl(var(--card-foreground))' - }, - sidebar: { - DEFAULT: 'hsl(var(--sidebar))' - }, - success: { - DEFAULT: 'hsl(var(--success))', - foreground: 'hsl(var(--success-foreground))', - background: 'hsl(var(--success-background))' - }, - 'custom-green': '#E7EBCC', - 'custom-green-dark': '#606448' - }, - borderRadius: { - lg: 'var(--radius)', - md: 'calc(var(--radius) - 2px)', - sm: 'calc(var(--radius) - 4px)' - }, - keyframes: { - 'accordion-down': { - from: { - height: '0' - }, - to: { - height: 'var(--radix-accordion-content-height)' - } - }, - 'accordion-up': { - from: { - height: 'var(--radix-accordion-content-height)' - }, - to: { - height: '0' - } - } - }, - animation: { - 'accordion-down': 'accordion-down 0.2s ease-out', - 'accordion-up': 'accordion-up 0.2s ease-out' - }, - gridTemplateColumns: { - sidebar: '200px auto', - 'sidebar-collapsed': '70px auto' - }, - width: { - sidebar: '220px', - 'sidebar-collapsed': '70px' - } - } + container: { + center: true, + padding: '2rem', + screens: { + '2xl': '1400px', + }, + }, + extend: { + fontFamily: { + mono: ['IBM Plex Mono', ...fontFamily.mono], + }, + colors: { + border: 'hsl(var(--border))', + input: 'hsl(var(--input))', + ring: 'hsl(var(--ring))', + background: 'hsl(var(--background))', + foreground: 'hsl(var(--foreground))', + primary: { + DEFAULT: 'hsl(var(--primary))', + foreground: 'hsl(var(--primary-foreground))', + }, + secondary: { + DEFAULT: 'hsl(var(--secondary))', + foreground: 'hsl(var(--secondary-foreground))', + }, + destructive: { + DEFAULT: 'hsl(var(--destructive))', + foreground: 'hsl(var(--destructive-foreground))', + }, + muted: { + DEFAULT: 'hsl(var(--muted))', + foreground: 'hsl(var(--muted-foreground))', + }, + accent: { + DEFAULT: 'hsl(var(--accent))', + foreground: 'hsl(var(--accent-foreground))', + }, + popover: { + DEFAULT: 'hsl(var(--popover))', + foreground: 'hsl(var(--popover-foreground))', + }, + card: { + DEFAULT: 'hsl(var(--card))', + foreground: 'hsl(var(--card-foreground))', + }, + sidebar: { + DEFAULT: 'hsl(var(--sidebar))', + }, + success: { + DEFAULT: 'hsl(var(--success))', + foreground: 'hsl(var(--success-foreground))', + background: 'hsl(var(--success-background))', + }, + 'custom-green': '#E7EBCC', + 'custom-green-dark': '#606448', + }, + borderRadius: { + lg: 'var(--radius)', + md: 'calc(var(--radius) - 2px)', + sm: 'calc(var(--radius) - 4px)', + }, + keyframes: { + 'accordion-down': { + from: { height: '0' }, + to: { height: 'var(--radix-accordion-content-height)' }, + }, + 'accordion-up': { + from: { height: 'var(--radix-accordion-content-height)' }, + to: { height: '0' }, + }, + }, + animation: { + 'accordion-down': 'accordion-down 0.2s ease-out', + 'accordion-up': 'accordion-up 0.2s ease-out', + }, + gridTemplateColumns: { + sidebar: '200px auto', + 'sidebar-collapsed': '70px auto', + }, + width: { + sidebar: '220px', + 'sidebar-collapsed': '70px', + }, + }, }, - plugins: [require('tailwindcss-animate')], + plugins: [tailwindcssAnimate], };