MCPcopy Create free account
hub / github.com/OpenSIST/OpenSIST.github.io / make

Function make

src/Components/DataPoints/RecordTable.jsx:39–42  ·  view source on GitHub ↗
(main)

Source from the content-addressed store, hash-verified

37 // light mode: darken the text so it stays legible on the pale tinted
38 // chip background (the full-saturation hue was too light to read)
39 const make = (main) => ({
40 bg: alpha(main, dark ? 0.22 : 0.16),
41 fg: dark ? main : darken(main, 0.32),
42 });
43 return {
44 status: {
45 Admit: make(theme.palette.admit.main),

Callers 1

useChipColorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected