MCPcopy Create free account
hub / github.com/dailydotdev/apps / ghostTextDark

Function ghostTextDark

packages/shared/tailwind/buttons.ts:84–96  ·  view source on GitHub ↗
(color: ColorName | undefined)

Source from the content-addressed store, hash-verified

82};
83
84const ghostTextDark = (color: ColorName | undefined): GhostLadder => {
85 if (!color) {
86 return NEUTRAL_GHOST;
87 }
88 switch (color) {
89 case 'burger':
90 return { hover: palette.burger['30'], active: palette.burger['20'] };
91 case 'onion':
92 return { hover: palette.onion['20'], active: palette.onion['10'] };
93 default:
94 return { hover: palette[color]['40'], active: palette[color]['30'] };
95 }
96};
97
98const focusRingLight = (color?: ColorName): string => {
99 if (!color) {

Callers 1

buttons.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected