支持右侧面板拉伸
This commit is contained in:
parent
d257fb5a89
commit
514772d549
@ -77,6 +77,22 @@
|
|||||||
opacity: 0%;
|
opacity: 0%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.right-nav-enter-active,
|
||||||
|
.right-nav-leave-active {
|
||||||
|
transition: all .5s ease-out;
|
||||||
|
-moz-transition: all .5s ease-out;
|
||||||
|
-webkit-transition: all .5s ease-out;
|
||||||
|
}
|
||||||
|
.right-nav-enter-from {
|
||||||
|
position: relative;
|
||||||
|
transform: translateX(-100px);
|
||||||
|
opacity: 0%;
|
||||||
|
}
|
||||||
|
.right-nav-leave-to {
|
||||||
|
transform: translateX(-100px);
|
||||||
|
opacity: 0%;
|
||||||
|
}
|
||||||
|
|
||||||
.collapse-from-top-enter-active,
|
.collapse-from-top-enter-active,
|
||||||
.collapse-from-top-leave-active {
|
.collapse-from-top-leave-active {
|
||||||
transition: var(--animation-3s);
|
transition: var(--animation-3s);
|
||||||
|
BIN
public/test.view
BIN
public/test.view
Binary file not shown.
@ -41,8 +41,8 @@ body::-webkit-scrollbar {
|
|||||||
|
|
||||||
* hr {
|
* hr {
|
||||||
border: none;
|
border: none;
|
||||||
background-color: var(--vscode-focusBorder);
|
background-color: var(--main-color);
|
||||||
height: 2px;
|
height: 1.5px;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
@ -118,8 +118,8 @@ a {
|
|||||||
.digital-ide-icon.big {
|
.digital-ide-icon.big {
|
||||||
background-image: url(./icon.svg);
|
background-image: url(./icon.svg);
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
height: 200px;
|
height: 150px;
|
||||||
width: 200px;
|
width: 150px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner {
|
.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner {
|
||||||
|
10
src/App.vue
10
src/App.vue
@ -10,16 +10,16 @@
|
|||||||
|
|
||||||
<!-- 显示当前信号树形关系 -->
|
<!-- 显示当前信号树形关系 -->
|
||||||
<!-- 右侧工具合集 -->
|
<!-- 右侧工具合集 -->
|
||||||
<RightNav :topModules="VcdInfo.topModules"></RightNav>
|
<RightNav></RightNav>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { onMounted, reactive, watch } from 'vue';
|
import { onMounted, watch } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
import { ElLoading } from 'element-plus';
|
import { ElLoading } from 'element-plus';
|
||||||
|
|
||||||
import { emitter, globalLookup, globalSetting } from '@/hook/global';
|
import { emitter, globalLookup, globalSetting, VcdInfo } from '@/hook/global';
|
||||||
import { makeWaveView } from '@/hook/render';
|
import { makeWaveView } from '@/hook/render';
|
||||||
import { getCrossOriginWorkerURL } from '@/hook/network';
|
import { getCrossOriginWorkerURL } from '@/hook/network';
|
||||||
|
|
||||||
@ -43,10 +43,6 @@ watch(
|
|||||||
{ deep: true }
|
{ deep: true }
|
||||||
);
|
);
|
||||||
|
|
||||||
const VcdInfo = reactive({
|
|
||||||
topModules: [],
|
|
||||||
values: [],
|
|
||||||
});
|
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
const loading = new ElLoading.service({
|
const loading = new ElLoading.service({
|
||||||
|
@ -85,13 +85,10 @@ export default {
|
|||||||
<style>
|
<style>
|
||||||
.about-wrapper {
|
.about-wrapper {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
width: 450px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.version-caption {
|
.version-caption {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100% !important;
|
|
||||||
font-size: 1.1rem;
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -133,6 +130,7 @@ export default {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
|
width: 363px;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,6 +19,9 @@ export const controlPanel = reactive({
|
|||||||
if (this.currentIndex === index) {
|
if (this.currentIndex === index) {
|
||||||
this.currentIndex = -1;
|
this.currentIndex = -1;
|
||||||
} else {
|
} else {
|
||||||
|
if (horizontalResizer.width < 5) {
|
||||||
|
horizontalResizer.width = 435;
|
||||||
|
}
|
||||||
this.currentIndex = index;
|
this.currentIndex = index;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -26,3 +29,21 @@ export const controlPanel = reactive({
|
|||||||
saveViewApi({ rightNavIndex: true });
|
saveViewApi({ rightNavIndex: true });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export const horizontalResizer = reactive({
|
||||||
|
active: false,
|
||||||
|
hover: false,
|
||||||
|
width: 435,
|
||||||
|
mousedown() {
|
||||||
|
this.active = true;
|
||||||
|
document.addEventListener('mousemove', resize);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
export function resize(event) {
|
||||||
|
// 50 是 --right-nav-width
|
||||||
|
const computedWidth = window.innerWidth - event.clientX - 50;
|
||||||
|
if (computedWidth >= 0 && computedWidth <= 2000) {
|
||||||
|
horizontalResizer.width = computedWidth;
|
||||||
|
}
|
||||||
|
}
|
@ -1,14 +1,25 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="vcd-right-nav">
|
<div class="vcd-right-nav">
|
||||||
|
|
||||||
|
<div class="horizontal-scalable-wrapper" :style="resizerWrapperStyle"
|
||||||
|
v-show="controlPanel.currentIndex > -1">
|
||||||
|
<div class="horizontal-resizer"
|
||||||
|
@mousedown="horizontalResizer.mousedown()"
|
||||||
|
@mouseenter="horizontalResizer.hover = true"
|
||||||
|
@mouseleave="horizontalResizer.hover = false"
|
||||||
|
:class="{ 'active': horizontalResizer.active || horizontalResizer.hover }"
|
||||||
|
></div>
|
||||||
<div class="vcd-function-panel">
|
<div class="vcd-function-panel">
|
||||||
<TreeView :topModules="props.topModules"
|
<TreeView
|
||||||
v-show="controlPanel.currentIndex === 0"></TreeView>
|
v-show="controlPanel.currentIndex === 0"></TreeView>
|
||||||
|
|
||||||
<Setting
|
<Setting
|
||||||
v-show="controlPanel.currentIndex === 1"></Setting>
|
v-show="controlPanel.currentIndex === 1"></Setting>
|
||||||
|
|
||||||
<About
|
<About
|
||||||
v-show="controlPanel.currentIndex === 2"></About>
|
v-show="controlPanel.currentIndex === 2"></About>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="vcd-function-option">
|
<div class="vcd-function-option">
|
||||||
<div class="vcd-control-panel-wrapper">
|
<div class="vcd-control-panel-wrapper">
|
||||||
@ -29,13 +40,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { defineComponent, reactive } from 'vue';
|
import { defineComponent, onMounted, computed } from 'vue';
|
||||||
|
|
||||||
import TreeView from '@/components/treeview';
|
import TreeView from '@/components/treeview';
|
||||||
import Setting from '@/components/setting';
|
import Setting from '@/components/setting';
|
||||||
import About from '@/components/about';
|
import About from '@/components/about';
|
||||||
import { emitter } from '@/hook/global';
|
import { emitter } from '@/hook/global';
|
||||||
import { controlPanel } from './right-nav';
|
import { controlPanel, horizontalResizer, resize } from './right-nav';
|
||||||
|
|
||||||
defineComponent({ name: 'right-nav' });
|
defineComponent({ name: 'right-nav' });
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
@ -45,6 +56,12 @@ const props = defineProps({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
document.addEventListener('mouseup', () => {
|
||||||
|
horizontalResizer.active = false;
|
||||||
|
document.removeEventListener('mousemove', resize);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
emitter.on('right-nav', index => {
|
emitter.on('right-nav', index => {
|
||||||
if (controlPanel.currentIndex === index) {
|
if (controlPanel.currentIndex === index) {
|
||||||
@ -54,6 +71,11 @@ emitter.on('right-nav', index => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const resizerWrapperStyle = computed(() => ({
|
||||||
|
width: horizontalResizer.width + 'px'
|
||||||
|
}));
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@ -69,14 +91,36 @@ emitter.on('right-nav', index => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
background-color: var(--sidebar);
|
background-color: var(--sidebar);
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
z-index: 200;
|
||||||
|
user-select: none;
|
||||||
box-shadow: var(--gray-box-shadow-1);
|
box-shadow: var(--gray-box-shadow-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.horizontal-scalable-wrapper {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.horizontal-resizer {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
width: 2px;
|
||||||
|
height: 100%;
|
||||||
|
cursor: ew-resize;
|
||||||
|
transition: var(--animation-5s);
|
||||||
|
z-index: 201;
|
||||||
|
}
|
||||||
|
|
||||||
|
.horizontal-resizer.active {
|
||||||
|
background-color: var(--main-color);
|
||||||
|
transition: var(--animation-5s);
|
||||||
|
}
|
||||||
|
|
||||||
.vcd-function-option {
|
.vcd-function-option {
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background-color: var(--sidebar);
|
background-color: var(--sidebar);
|
||||||
box-shadow: var(--gray-box-shadow-1);
|
box-shadow: var(--gray-box-shadow-1);
|
||||||
|
z-index: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vcd-control-panel-wrapper {
|
.vcd-control-panel-wrapper {
|
||||||
|
@ -4,9 +4,11 @@
|
|||||||
<div class="setting-section">
|
<div class="setting-section">
|
||||||
<h2>{{ t('general-setting') }}</h2>
|
<h2>{{ t('general-setting') }}</h2>
|
||||||
<div class="setting-option" style="width: 220px;">
|
<div class="setting-option" style="width: 220px;">
|
||||||
|
<span>
|
||||||
<span class="iconfont icon-i18n"></span>
|
<span class="iconfont icon-i18n"></span>
|
||||||
 
|
 
|
||||||
<span class="option-title">{{ t('language-setting') }}</span>
|
<span class="option-title">{{ t('language-setting') }}</span>
|
||||||
|
</span>
|
||||||
<div style="width: 100px;">
|
<div style="width: 100px;">
|
||||||
<el-select
|
<el-select
|
||||||
name="language-setting"
|
name="language-setting"
|
||||||
@ -58,7 +60,6 @@
|
|||||||
</span>
|
</span>
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="globalSetting.renderAnimation"
|
v-model="globalSetting.renderAnimation"
|
||||||
size="default"
|
|
||||||
active-text="ON"
|
active-text="ON"
|
||||||
inactive-text="OFF"
|
inactive-text="OFF"
|
||||||
/>
|
/>
|
||||||
@ -120,7 +121,8 @@
|
|||||||
|
|
||||||
<div class="setting-option">
|
<div class="setting-option">
|
||||||
<span class="option-title" style="width: 100px;">{{ t('wavecolor') }}</span>
|
<span class="option-title" style="width: 100px;">{{ t('wavecolor') }}</span>
|
||||||
<div style="width: 120px">
|
<div class="option-group">
|
||||||
|
<div style="width: 120px;">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="wavecolor.currentOptionIndex"
|
v-model="wavecolor.currentOptionIndex"
|
||||||
collapse-tags
|
collapse-tags
|
||||||
@ -136,15 +138,16 @@
|
|||||||
v-model="wavecolor.colors[wavecolor.currentOptionIndex]"
|
v-model="wavecolor.colors[wavecolor.currentOptionIndex]"
|
||||||
show-alpha
|
show-alpha
|
||||||
:predefine="predefinedColors"
|
:predefine="predefinedColors"
|
||||||
size="large"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<div class="setting-option">
|
<div class="setting-option">
|
||||||
<span class="option-title" style="width: 100px;">{{ t('setting.appearance.pivot-color') }}</span>
|
<span class="option-title" style="width: 100px;">{{ t('setting.appearance.pivot-color') }}</span>
|
||||||
<div style="width: 120px">
|
<div class="option-group">
|
||||||
|
<div style="width: 120px;">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="pivotColor.currentOptionIndex"
|
v-model="pivotColor.currentOptionIndex"
|
||||||
collapse-tags
|
collapse-tags
|
||||||
@ -160,10 +163,10 @@
|
|||||||
v-model="pivotColor.colors[pivotColor.currentOptionIndex]"
|
v-model="pivotColor.colors[pivotColor.currentOptionIndex]"
|
||||||
show-alpha
|
show-alpha
|
||||||
:predefine="predefinedColors"
|
:predefine="predefinedColors"
|
||||||
size="large"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@ -171,14 +174,22 @@
|
|||||||
<h2>{{ t('search-setting') }}</h2>
|
<h2>{{ t('search-setting') }}</h2>
|
||||||
<div class="setting-option">
|
<div class="setting-option">
|
||||||
<span class="option-title">{{ t('search-case-sensitivity') }}</span>
|
<span class="option-title">{{ t('search-case-sensitivity') }}</span>
|
||||||
<el-switch v-model="globalSetting.caseSensitivity" size="default"/>
|
<el-switch
|
||||||
|
v-model="globalSetting.caseSensitivity"
|
||||||
|
active-text="ON"
|
||||||
|
inactive-text="OFF"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<div class="setting-option">
|
<div class="setting-option">
|
||||||
<span class="option-title">{{ t('search-display-parent-only') }}</span>
|
<span class="option-title">{{ t('search-display-parent-only') }}</span>
|
||||||
<el-switch v-model="globalSetting.displayParentOnly" size="default"/>
|
<el-switch
|
||||||
|
v-model="globalSetting.displayParentOnly"
|
||||||
|
active-text="ON"
|
||||||
|
inactive-text="OFF"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
@ -188,7 +199,6 @@
|
|||||||
<div style="width: 150px;">
|
<div style="width: 150px;">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="globalSetting.searchScope"
|
v-model="globalSetting.searchScope"
|
||||||
size="large"
|
|
||||||
multiple
|
multiple
|
||||||
collapse-tags
|
collapse-tags
|
||||||
collapse-tags-tooltip
|
collapse-tags-tooltip
|
||||||
@ -403,23 +413,35 @@ const safeModifySignalTrackHeight = debounceWrapper(modifySignalTrackHeight, 200
|
|||||||
}
|
}
|
||||||
|
|
||||||
.setting-option {
|
.setting-option {
|
||||||
margin: 5px;
|
margin: 3px;
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
width: fit-content;
|
width: 360px !important;
|
||||||
border-radius: .5em;
|
border-radius: .5em;
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.option-group {
|
||||||
|
display: flex;
|
||||||
|
width: fit-content;
|
||||||
|
}
|
||||||
|
|
||||||
.option-title {
|
.option-title {
|
||||||
|
font-size: 0.8rem;
|
||||||
min-width: 80px;
|
min-width: 80px;
|
||||||
margin-right: 12px;
|
margin-right: 12px;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner,
|
||||||
|
.el-checkbox-button__inner {
|
||||||
|
font-size: 0.8rem !important;
|
||||||
|
}
|
||||||
|
|
||||||
.el-slider__button {
|
.el-slider__button {
|
||||||
background-color: var(--background) !important;
|
background-color: var(--background) !important;
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<div class="vcd-signal-title">{{ t('module') }}</div>
|
<div class="vcd-signal-title">{{ t('module') }}</div>
|
||||||
<hr>
|
<hr>
|
||||||
<el-scrollbar height="86vh" style="padding-right: 7px;">
|
<el-scrollbar height="86vh" style="padding-right: 7px;">
|
||||||
<Modules v-for="mod of props.topModules"
|
<Modules v-for="mod of VcdInfo.topModules"
|
||||||
:key="mod.name"
|
:key="mod.name"
|
||||||
:module="mod"
|
:module="mod"
|
||||||
></Modules>
|
></Modules>
|
||||||
@ -20,40 +20,24 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script setup>
|
||||||
import { onMounted } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
import TreeViewSearch from '@/components/treeview/search.vue';
|
import TreeViewSearch from '@/components/treeview/search.vue';
|
||||||
import Modules from '@/components/treeview/modules.vue';
|
import Modules from '@/components/treeview/modules.vue';
|
||||||
import Signals from '@/components/treeview/signals.vue';
|
import Signals from '@/components/treeview/signals.vue';
|
||||||
|
|
||||||
|
import { VcdInfo } from '@/hook/global';
|
||||||
|
|
||||||
export default {
|
defineComponent({ name: 'tree-view' });
|
||||||
name: 'tree-view',
|
const { t } = useI18n();
|
||||||
components: {
|
|
||||||
Modules,
|
|
||||||
Signals,
|
|
||||||
TreeViewSearch
|
|
||||||
},
|
|
||||||
props: {
|
|
||||||
topModules: Array
|
|
||||||
},
|
|
||||||
setup(props) {
|
|
||||||
const { t } = useI18n();
|
|
||||||
|
|
||||||
|
|
||||||
return {
|
|
||||||
props,
|
|
||||||
t
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.vcd-module-info {
|
.vcd-module-info {
|
||||||
width: fit-content;
|
width: 200px;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
id="search-result-wrapper"
|
id="search-result-wrapper"
|
||||||
>
|
>
|
||||||
<el-scrollbar
|
<el-scrollbar
|
||||||
height="50vh"
|
|
||||||
width="600px"
|
width="600px"
|
||||||
class="search-result"
|
class="search-result"
|
||||||
@mouseenter="searchManage.mouseOnResult = true"
|
@mouseenter="searchManage.mouseOnResult = true"
|
||||||
@ -171,17 +170,17 @@ const safeSearch = debounceWrapper(search, 200);
|
|||||||
}
|
}
|
||||||
|
|
||||||
.search-nothing {
|
.search-nothing {
|
||||||
height: 40vh;
|
height: 20vh;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 1.1rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-nothing .iconfont {
|
.search-nothing .iconfont {
|
||||||
font-size: 120px;
|
font-size: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
@ -8,7 +8,7 @@ export function setDefaultCss() {
|
|||||||
document.body.style.setProperty('--el-color-primary-light-3', 'var(--main-color)');
|
document.body.style.setProperty('--el-color-primary-light-3', 'var(--main-color)');
|
||||||
document.body.style.setProperty('--el-text-color-secondary', 'var(--foreground)');
|
document.body.style.setProperty('--el-text-color-secondary', 'var(--foreground)');
|
||||||
document.body.style.setProperty('--el-text-color-regular', 'var(--foreground)');
|
document.body.style.setProperty('--el-text-color-regular', 'var(--foreground)');
|
||||||
document.body.style.setProperty('--el-border-color', 'var(--vscode-focusBorder)');
|
document.body.style.setProperty('--el-border-color', 'var(--main-color)');
|
||||||
document.body.style.setProperty('--el-fill-color-blank', 'var(--sidebar)');
|
document.body.style.setProperty('--el-fill-color-blank', 'var(--sidebar)');
|
||||||
document.body.style.setProperty('--el-fill-color-light', 'var(--vscode-button-hoverBackground)');
|
document.body.style.setProperty('--el-fill-color-light', 'var(--vscode-button-hoverBackground)');
|
||||||
document.body.style.setProperty('--el-switch-on-color', 'var(--main-color)');
|
document.body.style.setProperty('--el-switch-on-color', 'var(--main-color)');
|
||||||
@ -16,9 +16,9 @@ export function setDefaultCss() {
|
|||||||
document.body.style.setProperty('--el-border-color-light', 'var(--sidebar)');
|
document.body.style.setProperty('--el-border-color-light', 'var(--sidebar)');
|
||||||
document.body.style.setProperty('--el-border-color-lighter', 'var(--sidebar)');
|
document.body.style.setProperty('--el-border-color-lighter', 'var(--sidebar)');
|
||||||
document.body.style.setProperty('--el-bg-color-overlay', 'var(--sidebar)');
|
document.body.style.setProperty('--el-bg-color-overlay', 'var(--sidebar)');
|
||||||
document.body.style.setProperty('--el-color-info-light-9', 'var(--vscode-focusBorder)');
|
document.body.style.setProperty('--el-color-info-light-9', 'var(--main-color)');
|
||||||
document.body.style.setProperty('--el-color-info', 'var(--foreground)');
|
document.body.style.setProperty('--el-color-info', 'var(--foreground)');
|
||||||
document.body.style.setProperty('--el-color-info-light-8', 'var(--vscode-focusBorder)');
|
document.body.style.setProperty('--el-color-info-light-8', 'var(--main-color)');
|
||||||
document.body.style.setProperty('--el-fill-color-light', 'var(--sidebar-item-selected)');
|
document.body.style.setProperty('--el-fill-color-light', 'var(--sidebar-item-selected)');
|
||||||
// document.body.style.setProperty('--el-color-white', 'var(--background)');
|
// document.body.style.setProperty('--el-color-white', 'var(--background)');
|
||||||
|
|
||||||
|
@ -226,3 +226,7 @@ function getCurrentWiresRenderView() {
|
|||||||
return globalLookup.currentWiresRenderView;
|
return globalLookup.currentWiresRenderView;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const VcdInfo = reactive({
|
||||||
|
topModules: [],
|
||||||
|
values: [],
|
||||||
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user