mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-06 14:50:21 -05:00
fix(icons-plugin): light theme + uxui review
This commit is contained in:
parent
e80a3aec66
commit
db8d61a1cb
3 changed files with 16 additions and 0 deletions
|
@ -26,4 +26,8 @@
|
|||
grid-auto-rows: max-content;
|
||||
justify-items: center;
|
||||
}
|
||||
|
||||
.no-icons-found {
|
||||
font-size: var(--font-size-s);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,6 +30,7 @@ import { PluginMessageEvent } from '../model';
|
|||
<div class="icons-list">
|
||||
@for (key of iconKeys(); track key) {
|
||||
<app-icon-button
|
||||
[class]="theme()"
|
||||
[icon]="icons()[key]"
|
||||
(insertIcon)="this.insertIcon(key)"
|
||||
></app-icon-button>
|
||||
|
|
|
@ -15,3 +15,14 @@
|
|||
box-shadow: inset 0 0 0 2px var(--da-primary);
|
||||
}
|
||||
}
|
||||
|
||||
:host {
|
||||
&.light {
|
||||
.icon-button {
|
||||
&:focus,
|
||||
&:active {
|
||||
box-shadow: inset 0 0 0 2px var(--accent-tertiary);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue