mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(console): default button icon should use secondary color (#4924)
This commit is contained in:
parent
651902c97d
commit
cb18c2ade8
3 changed files with 6 additions and 10 deletions
|
@ -93,6 +93,10 @@
|
|||
border-width: 1px;
|
||||
border-style: solid;
|
||||
|
||||
.icon {
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
border-color: var(--color-border);
|
||||
color: var(--color-neutral-70);
|
||||
|
|
|
@ -13,9 +13,6 @@
|
|||
|
||||
.empty {
|
||||
font: var(--font-body-2);
|
||||
}
|
||||
|
||||
.secondary {
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
|
|
|
@ -97,16 +97,11 @@ function TemplateTable<
|
|||
{onAdd && !hasData && (
|
||||
<>
|
||||
{name && (
|
||||
<div className={classNames(styles.empty, styles.secondary)}>
|
||||
<div className={classNames(styles.empty)}>
|
||||
{t('organizations.empty_placeholder', { entity: String(t(name)).toLowerCase() })}
|
||||
</div>
|
||||
)}
|
||||
<Button
|
||||
className={styles.secondary}
|
||||
icon={<Plus />}
|
||||
title="general.add"
|
||||
onClick={onAdd}
|
||||
/>
|
||||
<Button icon={<Plus />} title="general.add" onClick={onAdd} />
|
||||
</>
|
||||
)}
|
||||
</section>
|
||||
|
|
Loading…
Reference in a new issue