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

Function focusRingLight

packages/shared/tailwind/buttons.ts:98–116  ·  view source on GitHub ↗
(color?: ColorName)

Source from the content-addressed store, hash-verified

96};
97
98const focusRingLight = (color?: ColorName): string => {
99 if (!color) {
100 return 'var(--theme-accent-blueCheese-default)';
101 }
102 switch (color) {
103 case 'avocado':
104 case 'lettuce':
105 case 'cheese':
106 return 'var(--theme-accent-blueCheese-default)';
107 case 'blueCheese':
108 return palette.blueCheese['90'];
109 case 'bun':
110 return palette.bun['90'];
111 case 'bacon':
112 return palette.bacon['80'];
113 default:
114 return palette[color]['60'];
115 }
116};
117
118const focusRingDark = (color?: ColorName): string => {
119 if (!color) {

Callers 1

buttons.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected