function
Source: Context.tsx ↗
useReferenceTheme()
Hook for reaching the reference theme from context.
useReferenceTheme: () => ITheme | undefined
Returns
ITheme | undefined
Remarks
The reference theme is the workspace theme prepared with the complementary palette enabled, regardless of how the application presents itself. Use it for computations that must be consistent across applications (e.g. color derivation); use useTheme() for presentation.