MCPcopy
hub / github.com/yinxin630/fiora / useTheme

Function useTheme

packages/app/src/hooks/useStore.tsx:26–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26export function useTheme() {
27 const { ui } = useStore();
28 const { primaryColor, primaryTextColor } = ui;
29 return {
30 primaryColor8: `rgba(${primaryColor}, 0.8)`,
31 primaryColor10: `rgba(${primaryColor}, 1)`,
32 primaryTextColor10: `rgba(${primaryTextColor}, 1)`,
33 };
34}
35
36export function useLinkmans() {
37 const data = useStore();

Callers 2

SelfInfoFunction · 0.90
MessageFunction · 0.90

Calls 1

useStoreFunction · 0.70

Tested by

no test coverage detected