mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 10:27:03 -04:00
Update Signature, Css fix (#248)
* Update Signature * update Plugin Stats cards
This commit is contained in:
parent
493afb254c
commit
d1f9476faa
2 changed files with 29 additions and 3 deletions
|
@ -252,6 +252,24 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.visual-refresh .button-danger-background:hover {
|
.visual-refresh .button-danger-background:hover {
|
||||||
background-color: var(--status-danger-background) !important;
|
background-color: var(--status-danger-background) !important;
|
||||||
color: var(--status-danger-text) !important;
|
color: var(--status-danger-text) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.visual-refresh .vc-plugins-info-card {
|
||||||
|
background-color: var(--card-primary-bg) !important;
|
||||||
|
border: 1px solid var(--border-subtle) !important;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: var(--card-primary-bg) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.visual-refresh .vc-plugin-stats {
|
||||||
|
background-color: var(--card-primary-bg) !important;
|
||||||
|
border: 1px solid var(--border-subtle) !important;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: var(--card-primary-bg) !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,6 +22,14 @@ const settings = definePluginSettings(
|
||||||
description: "The signature that will be added to the end of your messages",
|
description: "The signature that will be added to the end of your messages",
|
||||||
default: "a chronic discord user"
|
default: "a chronic discord user"
|
||||||
},
|
},
|
||||||
|
textHeader: {
|
||||||
|
description: "What header to preface text with",
|
||||||
|
type: OptionType.SELECT,
|
||||||
|
options: [
|
||||||
|
{ label: ">", value: ">", default: true },
|
||||||
|
{ label: "-#", value: "-#" }
|
||||||
|
]
|
||||||
|
},
|
||||||
showIcon: {
|
showIcon: {
|
||||||
type: OptionType.BOOLEAN,
|
type: OptionType.BOOLEAN,
|
||||||
default: true,
|
default: true,
|
||||||
|
@ -141,7 +149,7 @@ export default definePlugin({
|
||||||
|
|
||||||
// text processing injection processor
|
// text processing injection processor
|
||||||
function textProcessing(input: string) {
|
function textProcessing(input: string) {
|
||||||
return `${input}\n> ${settings.store.name}`;
|
return `${input}\n${settings.store.textHeader} ${settings.store.name}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue