UNPKG

@audira/carbon-react-native

Version:

Build React Native apps with component and shared patterns using Carbon

16 lines (14 loc) 599 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ThemeContext = void 0; var _react = require("react"); var _index = require("../../_internal/globals/index.js"); // Probably better to move to the `GlobalContext` // Historically, it also holds all the Carbon color tokens based on what the `colorScheme` is. // Holding an object with 150+ properties in the app runtime seems ridiculous const ThemeContext = exports.ThemeContext = /*#__PURE__*/(0, _react.createContext)({ colorScheme: _index.ColorSchemeGlobal.get() }); //# sourceMappingURL=ThemeContext.js.map