/* @oracle/oraclejet-preact: undefined */
import { useContext } from 'preact/hooks';
import { E as EnvironmentContext } from './LayerHost-e6402730.js';
import 'preact/jsx-runtime';
import 'preact/compat';

/**
 * @license
 * Copyright (c) %FIRST_YEAR% %CURRENT_YEAR%, Oracle and/or its affiliates.
 * The Universal Permissive License (UPL), Version 1.0
 * as shown at https://oss.oracle.com/licenses/upl/
 * @ignore
 */
function useTheme() {
    return useContext(EnvironmentContext).theme;
}

export { useTheme as u };
//# sourceMappingURL=useTheme-93c07059.js.map
