-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
121 changed files
with
6,304 additions
and
5,929 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import '@unocss/reset/tailwind.css' | ||
import 'uno.css' | ||
import { createApp } from 'vue' | ||
import App from './App.vue' | ||
import './style.css' | ||
import "@unocss/reset/tailwind.css"; | ||
import "uno.css"; | ||
import { createApp } from "vue"; | ||
import App from "./App.vue"; | ||
import "./style.css"; | ||
|
||
createApp(App).mount('#app') | ||
createApp(App).mount("#app"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
input { | ||
--at-apply: 'p2 w-250px bg-transparent border rounded border-gray-200 dark:border-gray-700 outline-none active:outline-none'; | ||
--at-apply: "p2 w-250px bg-transparent border rounded border-gray-200 dark:border-gray-700 outline-none active:outline-none"; | ||
} | ||
|
||
button { | ||
--at-apply: 'px-4 py-1 rounded inline-block bg-yellow-600 text-white cursor-pointer hover:bg-yellow-700 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50'; | ||
--at-apply: "px-4 py-1 rounded inline-block bg-yellow-600 text-white cursor-pointer hover:bg-yellow-700 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50"; | ||
} | ||
|
||
hr { | ||
--at-apply: 'my-3'; | ||
--at-apply: "my-3"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"useDefineForClassFields": true, | ||
"module": "ESNext", | ||
"moduleResolution": "bundler", | ||
"strict": true, | ||
"jsx": "preserve", | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"esModuleInterop": true, | ||
"lib": ["ESNext", "DOM"], | ||
"skipLibCheck": true, | ||
"noEmit": true, | ||
"paths": { | ||
"crossbell": ["../../src/index.ts"] | ||
}, | ||
"experimentalDecorators": true | ||
}, | ||
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"], | ||
"references": [{ "path": "./tsconfig.node.json" }] | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"useDefineForClassFields": true, | ||
"module": "ESNext", | ||
"moduleResolution": "bundler", | ||
"strict": true, | ||
"jsx": "preserve", | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"esModuleInterop": true, | ||
"lib": ["ESNext", "DOM"], | ||
"skipLibCheck": true, | ||
"noEmit": true, | ||
"paths": { | ||
"crossbell": ["../../src/index.ts"] | ||
}, | ||
"experimentalDecorators": true | ||
}, | ||
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"], | ||
"references": [{ "path": "./tsconfig.node.json" }] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
import transformerDirectives from '@unocss/transformer-directives' | ||
import { defineConfig, presetAttributify, presetIcons, presetUno } from 'unocss' | ||
import transformerDirectives from "@unocss/transformer-directives"; | ||
import { | ||
defineConfig, | ||
presetAttributify, | ||
presetIcons, | ||
presetUno, | ||
} from "unocss"; | ||
|
||
export default defineConfig({ | ||
presets: [presetUno(), presetAttributify(), presetIcons()], | ||
transformers: [transformerDirectives()], | ||
}) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
import path from 'node:path' | ||
import Vue from '@vitejs/plugin-vue' | ||
import UnoCSS from 'unocss/vite' | ||
import { defineConfig, loadEnv } from 'vite' | ||
import path from "node:path"; | ||
import Vue from "@vitejs/plugin-vue"; | ||
import UnoCSS from "unocss/vite"; | ||
import { defineConfig, loadEnv } from "vite"; | ||
|
||
export default defineConfig(({ mode }) => { | ||
const env = loadEnv(mode, process.cwd(), '') | ||
const env = loadEnv(mode, process.cwd(), ""); | ||
return { | ||
resolve: { | ||
alias: { | ||
crossbell: path.resolve(__dirname, '../../src/index.ts'), | ||
crossbell: path.resolve(__dirname, "../../src/index.ts"), | ||
}, | ||
}, | ||
define: { | ||
'globalThis.process.env.CROSSBELL_RPC_ADDRESS': JSON.stringify( | ||
"globalThis.process.env.CROSSBELL_RPC_ADDRESS": JSON.stringify( | ||
env.CROSSBELL_RPC_ADDRESS, | ||
), | ||
}, | ||
plugins: [Vue(), UnoCSS()], | ||
} | ||
}) | ||
}; | ||
}); |
Oops, something went wrong.