mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-23 07:08:47 -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;
|
grid-auto-rows: max-content;
|
||||||
justify-items: center;
|
justify-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.no-icons-found {
|
||||||
|
font-size: var(--font-size-s);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,6 +30,7 @@ import { PluginMessageEvent } from '../model';
|
||||||
<div class="icons-list">
|
<div class="icons-list">
|
||||||
@for (key of iconKeys(); track key) {
|
@for (key of iconKeys(); track key) {
|
||||||
<app-icon-button
|
<app-icon-button
|
||||||
|
[class]="theme()"
|
||||||
[icon]="icons()[key]"
|
[icon]="icons()[key]"
|
||||||
(insertIcon)="this.insertIcon(key)"
|
(insertIcon)="this.insertIcon(key)"
|
||||||
></app-icon-button>
|
></app-icon-button>
|
||||||
|
|
|
@ -15,3 +15,14 @@
|
||||||
box-shadow: inset 0 0 0 2px var(--da-primary);
|
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…
Add table
Reference in a new issue