Make field name weight in list view customizable

This commit is contained in:
Martin Kleinschrodt 2021-11-05 16:46:51 +01:00
parent 6675826f83
commit 971b437154
2 changed files with 4 additions and 2 deletions

View File

@ -202,6 +202,8 @@ body {
--items-list-item-field-border-width: 1px;
--items-list-item-field-border-color: var(--border-color);
--items-list-item-field-spacing: var(--spacing);
--items-list-item-field-name-weight: 400;
--items-list-item-field-value-weight: 400;
/* ITEM VIEW */

View File

@ -220,13 +220,13 @@ export class VaultItemListItem extends LitElement {
.item-field-name {
color: var(--color-highlight);
font-weight: var(--items-list-field-name-weight, 400);
font-weight: var(--items-list-item-field-name-weight, 400);
text-transform: uppercase;
${mixins.ellipsis()};
}
.item-field-value {
font-weight: 600;
font-weight: var(--items-list-item-field-value-weight, 400);
${mixins.ellipsis()};
}