mirror of https://github.com/msgbyte/tailchat
feat: 初音未来主题插件
parent
8996fd6ecb
commit
9613df6fe4
@ -0,0 +1,9 @@
|
||||
{
|
||||
"label": "Miku初音未来主题",
|
||||
"name": "com.msgbyte.theme.miku",
|
||||
"url": "/plugins/com.msgbyte.theme.miku/index.js",
|
||||
"version": "0.0.0",
|
||||
"author": "msgbyte",
|
||||
"description": "初音未来主题",
|
||||
"requireRestart": true
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "@plugins/com.msgbyte.theme.miku",
|
||||
"main": "src/index.ts",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"dependencies": {}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
import { regPluginColorScheme } from '@capital/common';
|
||||
import './theme.less';
|
||||
|
||||
regPluginColorScheme({
|
||||
label: 'Miku 葱',
|
||||
name: 'light+miku',
|
||||
});
|
@ -0,0 +1,21 @@
|
||||
#tailchat-app.theme-miku {
|
||||
@primary-color: #39C5BB;
|
||||
|
||||
--tc-primary-color: #39C5BB;
|
||||
|
||||
.bg-navbar-light {
|
||||
background-color: @primary-color;
|
||||
|
||||
.bg-gray-400 {
|
||||
background-color: darken(@primary-color, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
.bg-sidebar-light {
|
||||
background-color: lighten(@primary-color, 20%);
|
||||
}
|
||||
|
||||
.bg-content-light {
|
||||
background-color: lighten(@primary-color, 40%);
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"baseUrl": "./src",
|
||||
"esModuleInterop": true,
|
||||
"jsx": "react",
|
||||
"paths": {
|
||||
"@capital/*": ["../../../src/plugin/*"],
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue