fix(ui): task log colors

This commit is contained in:
Denis Gukov 2024-10-11 19:47:50 +00:00
parent c18b737178
commit 14db3c8d7c
2 changed files with 21 additions and 1 deletions

View File

@ -57,6 +57,7 @@
</v-col>
</v-row>
</v-container>
<div class="task-log-records" ref="output">
<div class="task-log-records__record" v-for="record in output" :key="record.id">
<div class="task-log-records__time">

View File

@ -8,7 +8,26 @@ import vuetify from './plugins/vuetify';
import './assets/scss/main.scss';
import i18n from './plugins/i18';
const convert = new Convert();
const convert = new Convert({
colors: {
0: '#000',
1: '#A00',
2: '#0A0',
3: '#A50',
4: '#00F',
5: '#A0A',
6: '#0AA',
7: '#AAA',
8: '#555',
9: '#F55',
10: '#5F5',
11: '#FF5',
12: '#55F',
13: '#F5F',
14: '#5FF',
15: '#FFF',
},
});
axios.defaults.baseURL = document.baseURI;
Vue.config.productionTip = false;