mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-08 08:53:51 +00:00
a3487e7073
* refactor: remove useless template * refactor: handle promise * refactor: associate labels to fields * refactor: simplify checking if element exists * refactor: prevent reassigning * refactor: avoid wildcard imports * refactor: simplify imports * refactor: simplify boolean comparison * chore: version bump
26 lines
521 B
TypeScript
26 lines
521 B
TypeScript
export const ontimeSwitch = {
|
|
track: {
|
|
background: '#2d2d2d', // $gray-1100
|
|
border: '1px solid transparent',
|
|
_checked: {
|
|
background: '#2B5ABC', // $blue-700
|
|
},
|
|
_focus: {
|
|
border: '1px solid #578AF4', // $blue-500
|
|
},
|
|
},
|
|
};
|
|
|
|
export const lightSwitch = {
|
|
track: {
|
|
border: '1px solid transparent',
|
|
background: '#cfcfcf', // $gray-300
|
|
_checked: {
|
|
background: '#578AF4', // $blue-500
|
|
},
|
|
_focus: {
|
|
border: '1px solid #D2DDFF', // $blue-200
|
|
},
|
|
},
|
|
};
|