mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 22:53:02 -04:00
make plugin cards prettier (#389)
Co-authored-by: Ven <vendicated@riseup.net>
This commit is contained in:
parent
7582feb603
commit
0e5b8b07c9
2 changed files with 18 additions and 8 deletions
|
@ -152,14 +152,11 @@ function PluginCard({ plugin, disabled, onRestartNeeded, onMouseEnter, onMouseLe
|
|||
onChange={toggleEnabled}
|
||||
disabled={disabled}
|
||||
value={isEnabled()}
|
||||
note={<Text className={cl("note")} variant="text-md/normal">{plugin.description}</Text>}
|
||||
note={<Text className={cl("note")} variant="text-sm/normal">{plugin.description}</Text>}
|
||||
hideBorder={true}
|
||||
>
|
||||
<Flex className={cl("flex")}>
|
||||
<Text
|
||||
variant="text-md/bold"
|
||||
className={cl("name")}
|
||||
>
|
||||
<Text variant="text-md/bold" className={cl("name")}>
|
||||
{plugin.name}{isNew && <Badge text="NEW" color="#ED4245" />}
|
||||
</Text>
|
||||
<button role="switch" onClick={() => openModal()} className={classes("button-12Fmur", cl("info-button"))}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue