@vcita/design-system 1.9.6 → 1.9.7-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vcita/design-system",
3
- "version": "1.9.6",
3
+ "version": "1.9.7-beta.1",
4
4
  "description": "vcita design system",
5
5
  "author": "vcita",
6
6
  "scripts": {
@@ -7,8 +7,9 @@
7
7
  v-else-if="submenuItems.length === 0"
8
8
  :data-qa="dataQa"
9
9
  @click="$emit('click')">
10
- <VcIcon v-if="icon" class="VcMenuItem-icon" :size="size === 'md' ? 20 : 16" color="var(--v-text-base)">
11
- {{ icon}}
10
+ <VcIcon v-if="icon" class="VcMenuItem-icon" :size="size === 'md' ? 20 : 16"
11
+ :color="flavor === 'desktop' ? 'var(--v-text-base)' : undefined">
12
+ {{ icon }}
12
13
  </VcIcon>
13
14
  <slot>
14
15
  <VcLayout align-baseline>
@@ -123,7 +124,10 @@ export default {
123
124
  height: 52px;
124
125
  min-height: unset;
125
126
  font-weight: var(--font-weight-medium2);
126
- color: var(--v-text-base);
127
+
128
+ &.desktop {
129
+ color: var(--v-text-base);
130
+ }
127
131
  }
128
132
 
129
133
  .VcMenuItem-skeleton {