@zendeskgarden/react-theming
Version:
Theming utilities and components within the Garden Design System
15 lines (14 loc) • 566 B
TypeScript
/**
* Copyright Zendesk, Inc.
*
* Use of this source code is governed under the Apache License, Version 2.0
* found at http://www.apache.org/licenses/LICENSE-2.0.
*/
import { HueColorParameters } from '../types';
/**
* Get a hue color from the theme
*
* @param {Object} options.theme Provides values used to resolve the desired color
* @param {string} options.value A color variable key (i.e. 'foreground.subtle'), key hue value (i.e. 'primaryHue'), or valid CSS color
*/
export declare const getHueColor: ({ theme, value }: HueColorParameters) => string;