PadApp/js/color.js

36 lines
714 B
JavaScript
Raw Normal View History

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();
}
export const cancleBtn = () =>{
if(dark) return "#eb3b5a";
else return "#fc5c65";
}
export const setMode = (m)=> {
if(m==-1) dark = !dark;
else dark = m;
}