diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 4e5c5659d..647e9fb78 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -54,7 +54,6 @@ "fullscreen": false, "alwaysOnTop": false, "focus": true, - "transparent": true, "fileDropEnabled": false, "decorations": false, "center": true diff --git a/src/App.tsx b/src/App.tsx index ce7dfd15e..6c85d56fa 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,6 +1,7 @@ import React from 'react'; -import { Button, colors, ColorScheme, extendTheme, Input } from '@vechaiui/react'; +import { Button, colors, ColorScheme, extendTheme, Icon, Input, Switch } from '@vechaiui/react'; import { VechaiProvider } from '@vechaiui/react'; +import { CookingPot } from 'phosphor-react'; export const pale: ColorScheme = { id: 'pale', @@ -29,15 +30,38 @@ const theme = extendTheme({ export default function App() { return ( -
-
+
+
- +
+ +
+
+ + +
+
+ + + + +
); diff --git a/tailwind.config.js b/tailwind.config.js index 6135405fe..d9b5b3ebc 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -6,7 +6,7 @@ module.exports = { './src/**/*.{vue,js,ts,jsx,tsx}', './node_modules/@vechaiui/**/*.{js,ts,jsx,tsx}' ], - darkMode: 'media', + darkMode: 'class', mode: 'jit', theme: { colors: { @@ -20,9 +20,7 @@ module.exports = { } }, variants: { - extend: { - // bg: { transparent: 'transparent' } - } + extend: {} }, plugins: [require('@tailwindcss/forms'), require('@vechaiui/core')] };