mirror of
https://github.com/frappe/books.git
synced 2025-02-02 20:18:26 +00:00
Replace color values with constants
This commit is contained in:
parent
671b884f5c
commit
cb13d0d5c1
@ -36,6 +36,7 @@
|
|||||||
import frappe from 'frappejs';
|
import frappe from 'frappejs';
|
||||||
import Observable from 'frappejs/utils/observable';
|
import Observable from 'frappejs/utils/observable';
|
||||||
import FormLayout from 'frappejs/ui/components/Form/FormLayout';
|
import FormLayout from 'frappejs/ui/components/Form/FormLayout';
|
||||||
|
import indicatorColor from 'frappejs/ui/constants/indicators';
|
||||||
import setupConfig from './config';
|
import setupConfig from './config';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -84,7 +85,7 @@ export default {
|
|||||||
this.currentSection -= 1;
|
this.currentSection -= 1;
|
||||||
},
|
},
|
||||||
indicatorColor(i) {
|
indicatorColor(i) {
|
||||||
return i === this.currentSection ? 'blue' : '';
|
return i === this.currentSection ? indicatorColor.BLUE : '';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user