Socket
Socket
Sign inDemoInstall

@chakra-ui/theme-tools

Package Overview
Dependencies
Maintainers
2
Versions
489
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/theme-tools - npm Package Compare versions

Comparing version 2.2.3 to 2.2.4

24

dist/types/color.d.ts

@@ -9,4 +9,2 @@ type Dict = {

* @param fallback - the fallback color
*
* @deprecated This will be removed in the next major release.
*/

@@ -21,4 +19,2 @@ export declare const getColor: (theme: Dict, color: string, fallback?: string) => any;

* @param color - the color in hex, rgb, or hsl
*
* @deprecated This will be removed in the next major release.
*/

@@ -29,4 +25,2 @@ export declare const tone: (color: string) => (theme: Dict) => "dark" | "light";

* @param color - the color in hex, rgb, or hsl
*
* @deprecated This will be removed in the next major release.
*/

@@ -37,4 +31,2 @@ export declare const isDark: (color: string) => (theme: Dict) => boolean;

* @param color - the color in hex, rgb, or hsl
*
* @deprecated This will be removed in the next major release.
*/

@@ -46,4 +38,2 @@ export declare const isLight: (color: string) => (theme: Dict) => boolean;

* @param opacity - the amount of opacity the color should have (0-1)
*
* @deprecated This will be removed in the next major release.
*/

@@ -55,4 +45,2 @@ export declare const transparentize: (color: string, opacity: number) => (theme: Dict) => string;

* @param amount - the amount white to add (0-100)
*
* @deprecated This will be removed in the next major release.
*/

@@ -64,4 +52,2 @@ export declare const whiten: (color: string, amount: number) => (theme: Dict) => string;

* @param amount - the amount black to add (0-100)
*
* @deprecated This will be removed in the next major release.
*/

@@ -73,4 +59,2 @@ export declare const blacken: (color: string, amount: number) => (theme: Dict) => string;

* @param amount - the amount to darken (0-100)
*
* @deprecated This will be removed in the next major release.
*/

@@ -82,4 +66,2 @@ export declare const darken: (color: string, amount: number) => (theme: Dict) => string;

* @param amount - the amount to lighten (0-100)
*
* @deprecated This will be removed in the next major release.
*/

@@ -93,4 +75,2 @@ export declare const lighten: (color: string, amount: number) => (theme: Dict) => void;

* @param bg - the background color
*
* @deprecated This will be removed in the next major release.
*/

@@ -109,4 +89,2 @@ export declare const contrast: (fg: string, bg: string) => (theme: Dict) => number;

* @param options
*
* @deprecated This will be removed in the next major release.
*/

@@ -117,4 +95,2 @@ export declare const isAccessible: (textColor: string, bgColor: string, options?: WCAG2Params) => (theme: Dict) => boolean;

/**
*
* @deprecated This will be removed in the next major release.
*/

@@ -121,0 +97,0 @@ export declare const complementary: (color: string) => (theme: Dict) => string;

3

dist/types/create-breakpoints.d.ts

@@ -12,5 +12,2 @@ export interface BaseBreakpointConfig {

};
/**
* @deprecated will be deprecated pretty soon, simply pass the breakpoints as an object
*/
export declare const createBreakpoints: <T extends BaseBreakpointConfig>(config: T) => Breakpoints<T>;

8

package.json
{
"name": "@chakra-ui/theme-tools",
"version": "2.2.3",
"version": "2.2.4",
"description": "Set of helpers that makes theming and styling easier",

@@ -34,4 +34,4 @@ "keywords": [

"color2k": "^2.0.2",
"@chakra-ui/utils": "2.1.3",
"@chakra-ui/anatomy": "2.3.3"
"@chakra-ui/anatomy": "2.3.3",
"@chakra-ui/utils": "2.2.0"
},

@@ -42,3 +42,3 @@ "peerDependencies": {

"devDependencies": {
"@chakra-ui/styled-system": "2.10.3"
"@chakra-ui/styled-system": "2.11.0"
},

@@ -45,0 +45,0 @@ "exports": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc