2022-12-11 22:23:21 +01:00
|
|
|
let dark = true;
|
|
|
|
|
|
|
|
export const text = () =>{
|
|
|
|
return "#2a2a2a";
|
|
|
|
}
|
|
|
|
export const bg = () =>{
|
|
|
|
if(dark) return "#4b6584";
|
|
|
|
else return "#d1d8e0";
|
|
|
|
}
|
|
|
|
export const mainBar = () =>{
|
|
|
|
if(dark) return "#3867d6";
|
|
|
|
else return "#45aaf2";
|
|
|
|
}
|
|
|
|
export const modeInUse = () =>{
|
|
|
|
if(dark) return "#27ae60";
|
|
|
|
else return "#2ecc71";
|
|
|
|
}
|
|
|
|
export const modeNotInUse = () =>{
|
|
|
|
if(dark) return "#c0392b";
|
|
|
|
else return "#e74c3c";
|
|
|
|
}
|
|
|
|
export const floatingBtn = () =>{
|
|
|
|
return mainBar();
|
|
|
|
}
|
|
|
|
export const floatingMenu = ()=>{
|
|
|
|
return bg();
|
|
|
|
}
|
2022-12-19 23:03:59 +01:00
|
|
|
|
|
|
|
export const uiElement = ()=>{
|
|
|
|
if(dark) return "#4b7bec";
|
|
|
|
return "#2d98da";
|
|
|
|
}
|
|
|
|
|
|
|
|
export const padButtons = ()=>{
|
|
|
|
if(dark) return "#f7b731";
|
|
|
|
else return "#fed330";
|
|
|
|
}
|
|
|
|
|
2022-12-11 22:23:21 +01:00
|
|
|
export const cancleBtn = () =>{
|
|
|
|
if(dark) return "#eb3b5a";
|
|
|
|
else return "#fc5c65";
|
|
|
|
}
|
|
|
|
|
|
|
|
export const setMode = (m)=> {
|
|
|
|
if(m==-1) dark = !dark;
|
|
|
|
else dark = m;
|
|
|
|
}
|