Skip to content

Commit 61e0727

Browse files
committed
Refactor StudioChip and StudioDetailsRow styles; update ChannelDetailsModal imports
1 parent 9b1d58d commit 61e0727

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

contentcuration/contentcuration/frontend/shared/views/StudioChip.vue

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<span
44
class="studio-chip"
55
:class="{ notranslate }"
6+
:style="chipStyle"
67
>
78
<slot></slot>
89
</span>
@@ -31,6 +32,14 @@
3132
default: false,
3233
},
3334
},
35+
computed: {
36+
chipStyle() {
37+
return {
38+
color: this.$themeTokens.text,
39+
backgroundColor: this.$themePalette.grey.v_200,
40+
};
41+
},
42+
},
3443
};
3544
3645
</script>
@@ -45,8 +54,6 @@
4554
font-size: 12px;
4655
font-weight: bold;
4756
line-height: 16px;
48-
color: var(--v-text-base, #000000);
49-
background-color: var(--v-grey-lighten3, #e0e0e0);
5057
border-radius: 10px;
5158
}
5259

contentcuration/contentcuration/frontend/shared/views/details/StudioDetailsPanel.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@
612612
.printing {
613613
font-family: 'Noto Sans', helvetica !important;
614614
615+
/* stylelint-disable-next-line selector-pseudo-class-no-unknown */
615616
:global(.material-icons) {
616617
font-family: 'Material Icons' !important;
617618
}
@@ -627,7 +628,7 @@
627628
justify-content: center;
628629
width: 100%;
629630
height: 100%;
630-
background-color: var(--v-greyBackground-base, #f5f5f5);
631+
background-color: var(--v-grey-lighten4);
631632
}
632633
633634
.resource-list {
@@ -719,7 +720,7 @@
719720
font-size: 14px;
720721
font-weight: bold;
721722
line-height: 20px;
722-
color: var(--v-darkGrey-base, #424242);
723+
color: var(--v-grey-darken3);
723724
}
724725
725726
.sample-nodes {

contentcuration/contentcuration/frontend/shared/views/details/StudioDetailsRow.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
font-size: 14px;
9999
font-weight: bold;
100100
line-height: 20px;
101-
color: var(--v-darkGrey-base, #424242);
101+
color: var(--v-grey-darken3);
102102
vertical-align: middle;
103103
}
104104

0 commit comments

Comments
 (0)