mirror of
https://github.com/rubickCenter/rubick
synced 2026-02-26 08:56:57 +08:00
💄 UI 升级
This commit is contained in:
2
src/common/constans/common.ts
Normal file
2
src/common/constans/common.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export const WINDOW_WIDTH = 688;
|
||||
export const WINDOW_HEIGHT = 60;
|
||||
@@ -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',
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user