update font size/weight of labels

This commit is contained in:
Mutasem 2021-10-18 18:21:41 +02:00
parent f7ad5c0da8
commit 10b6291fa0

View file

@ -1837,7 +1837,7 @@ export default mixins(
{ {
id: 'output-items-label', id: 'output-items-label',
label, label,
cssClass: 'connection-output-name-label', cssClass: 'connection-output-items-label',
location: .5, location: .5,
}, },
]); ]);
@ -2548,15 +2548,22 @@ export default mixins(
<style lang="scss"> <style lang="scss">
.connection-input-name-label, .connection-input-name-label,
.connection-output-items-label,
.connection-output-name-label { .connection-output-name-label {
border-radius: 7px; border-radius: 7px;
background-color: rgba( $--custom-node-view-background, 0.8 ); background-color: rgba( $--custom-node-view-background, 0.8 );
font-size: 0.7em; font-size: 0.7em;
font-weight: var(--font-weight-regular);
line-height: 1.3em; line-height: 1.3em;
padding: 2px 3px; padding: 2px 3px;
white-space: nowrap; white-space: nowrap;
} }
.connection-output-items-label {
font-size: var(--font-size-s);
font-weight: var(--font-weight-regular);
}
.drop-add-node-label { .drop-add-node-label {
color: #555; color: #555;
font-weight: 600; font-weight: 600;