0
Fork 0
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:
María Valderrama 2024-06-12 21:38:09 +02:00
parent e80a3aec66
commit db8d61a1cb
3 changed files with 16 additions and 0 deletions

View file

@ -26,4 +26,8 @@
grid-auto-rows: max-content;
justify-items: center;
}
.no-icons-found {
font-size: var(--font-size-s);
}
}

View file

@ -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>

View file

@ -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);
}
}
}
}