From f1ada5b3292d45fed7eb808d8cc4d98573636e9b Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 5 Oct 2023 00:01:10 +0530 Subject: using dark mode if system is in dark mode --- package-lock.json | 11 ++++++++++- package.json | 3 ++- src/components/brands_table.vue | 4 ++-- src/components/customers_table.vue | 4 ++-- src/components/items_table.vue | 4 ++-- src/components/navbar.vue | 4 ++-- src/components/new_brand.vue | 2 +- src/components/new_customer.vue | 2 +- src/components/new_item.vue | 2 +- src/main.ts | 31 +++++++++++++++++++------------ src/views/LogIn.vue | 2 +- tsconfig.app.json | 1 + tsconfig.node.json | 1 + 13 files changed, 45 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index 37cd1c1..da4e03b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,6 +18,7 @@ "devDependencies": { "@rushstack/eslint-patch": "^1.3.3", "@tsconfig/node18": "^18.2.2", + "@types/bootstrap": "^5.2.7", "@types/node": "^18.17.17", "@vitejs/plugin-vue": "^4.3.4", "@vitejs/plugin-vue-jsx": "^3.0.2", @@ -1062,7 +1063,6 @@ "version": "2.11.8", "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", - "peer": true, "funding": { "type": "opencollective", "url": "https://opencollective.com/popperjs" @@ -1080,6 +1080,15 @@ "integrity": "sha512-d6McJeGsuoRlwWZmVIeE8CUA27lu6jLjvv1JzqmpsytOYYbVi1tHZEnwCNVOXnj4pyLvneZlFlpXUK+X9wBWyw==", "dev": true }, + "node_modules/@types/bootstrap": { + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@types/bootstrap/-/bootstrap-5.2.7.tgz", + "integrity": "sha512-vWs0HzobIB8Af2F0B1GXpaVLSVn1NWULDYgTIWp08Et/r2B3aAwwhFBeOs/rRFWJA38EZTXkWP3tepIjpQkpLg==", + "dev": true, + "dependencies": { + "@popperjs/core": "^2.9.2" + } + }, "node_modules/@types/json-schema": { "version": "7.0.13", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.13.tgz", diff --git a/package.json b/package.json index c66ce3a..e2296a9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openbills-web", - "version": "0.0.1", + "version": "0.0.2", "private": false, "scripts": { "dev": "vite", @@ -22,6 +22,7 @@ "devDependencies": { "@rushstack/eslint-patch": "^1.3.3", "@tsconfig/node18": "^18.2.2", + "@types/bootstrap": "^5.2.7", "@types/node": "^18.17.17", "@vitejs/plugin-vue": "^4.3.4", "@vitejs/plugin-vue-jsx": "^3.0.2", diff --git a/src/components/brands_table.vue b/src/components/brands_table.vue index a0f95ad..d81e143 100644 --- a/src/components/brands_table.vue +++ b/src/components/brands_table.vue @@ -1,4 +1,4 @@ -