@compositive/foundation
Version:
Compositive framework foundation package.
19 lines (16 loc) • 525 B
JavaScript
import '../theming/ComputedTheme.js';
import '../theming/Theme.js';
import 'react/jsx-runtime';
import '@compositive/commons-predicates';
import '../theming/ThemeContext.js';
import '@compositive/primitives';
import 'react';
import '../styling/resolveThemedStyleProperties.js';
import '../styling/ThemedStyle.js';
import { useTheme } from '../theming/useTheme.js';
const usePalette = (name) => {
const theme = useTheme();
return theme.palette[name];
};
export { usePalette };
//# sourceMappingURL=usePalette.js.map