💄 UI 升级

This commit is contained in:
muwoo
2023-10-12 14:04:10 +08:00
parent 0d0f745fc1
commit 3cf0d3471f
98 changed files with 1475 additions and 14012 deletions

View File

@@ -0,0 +1,2 @@
export const WINDOW_WIDTH = 688;
export const WINDOW_HEIGHT = 60;

View File

@@ -1,14 +1,16 @@
export default {
version: 0,
version: 4,
perf: {
custom: {
theme: 'SPRING',
primaryColor: '#ff4ea4',
errorColor: '#ed6d46',
warningColor: '#e5a84b',
successColor: '#c0d695',
infoColor: '#aa8eeB',
logo: `file://${__static}/logo.png`,
placeholder: '你好 rubick',
placeholder: '你好Rubick!请输入插件关键词',
username: 'Rubick',
},
shortCut: {
showAndHidden: 'Option+R',

View File

@@ -1,7 +1,7 @@
const WINDOW_MAX_HEIGHT = 600;
const WINDOW_MIN_HEIGHT = 60;
const PRE_ITEM_HEIGHT = 60;
const HISTORY_HEIGHT = 80;
const HISTORY_HEIGHT = 70;
export default (searchList: Array<any>, historyList): number => {
const defaultHeight = historyList.length ? HISTORY_HEIGHT : 0;