Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nextui-org/theme

Package Overview
Dependencies
Maintainers
1
Versions
537
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nextui-org/theme - npm Package Compare versions

Comparing version 0.0.0-dev-v2-20230619185541 to 0.0.0-dev-v2-20230620004617

dist/chunk-5LKRUH3Q.mjs

16

dist/colors.js

@@ -42,3 +42,3 @@ "use strict";

400: "#338ef7",
500: "#0072f5",
500: "#0069E0",
600: "#005bc4",

@@ -235,3 +235,3 @@ 700: "#004493",

...commonColors.blue,
foreground: commonColors.white,
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
DEFAULT: commonColors.blue[500]

@@ -241,3 +241,3 @@ },

...commonColors.purple,
foreground: commonColors.white,
foreground: (0, import_color2k.readableColor)(commonColors.purple[500]),
DEFAULT: commonColors.purple[500]

@@ -247,3 +247,3 @@ },

...commonColors.green,
foreground: commonColors.white,
foreground: commonColors.green[800],
DEFAULT: commonColors.green[500]

@@ -253,3 +253,3 @@ },

...commonColors.yellow,
foreground: commonColors.white,
foreground: commonColors.yellow[900],
DEFAULT: commonColors.yellow[500]

@@ -272,8 +272,8 @@ },

...swapColorValues(commonColors.blue),
DEFAULT: commonColors.blue[500],
foreground: commonColors.white
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
DEFAULT: commonColors.blue[500]
},
secondary: {
...swapColorValues(commonColors.purple),
foreground: commonColors.white,
foreground: (0, import_color2k.readableColor)(commonColors.purple[400]),
DEFAULT: commonColors.purple[400]

@@ -280,0 +280,0 @@ },

@@ -32,3 +32,3 @@ "use strict";

400: "#338ef7",
500: "#0072f5",
500: "#0069E0",
600: "#005bc4",

@@ -35,0 +35,0 @@ 700: "#004493",

@@ -34,3 +34,3 @@ "use strict";

400: "#338ef7",
500: "#0072f5",
500: "#0069E0",
600: "#005bc4",

@@ -37,0 +37,0 @@ 700: "#004493",

@@ -42,3 +42,3 @@ "use strict";

400: "#338ef7",
500: "#0072f5",
500: "#0069E0",
600: "#005bc4",

@@ -235,3 +235,3 @@ 700: "#004493",

...commonColors.blue,
foreground: commonColors.white,
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
DEFAULT: commonColors.blue[500]

@@ -241,3 +241,3 @@ },

...commonColors.purple,
foreground: commonColors.white,
foreground: (0, import_color2k.readableColor)(commonColors.purple[500]),
DEFAULT: commonColors.purple[500]

@@ -247,3 +247,3 @@ },

...commonColors.green,
foreground: commonColors.white,
foreground: commonColors.green[800],
DEFAULT: commonColors.green[500]

@@ -253,3 +253,3 @@ },

...commonColors.yellow,
foreground: commonColors.white,
foreground: commonColors.yellow[900],
DEFAULT: commonColors.yellow[500]

@@ -272,8 +272,8 @@ },

...swapColorValues(commonColors.blue),
DEFAULT: commonColors.blue[500],
foreground: commonColors.white
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
DEFAULT: commonColors.blue[500]
},
secondary: {
...swapColorValues(commonColors.purple),
foreground: commonColors.white,
foreground: (0, import_color2k.readableColor)(commonColors.purple[400]),
DEFAULT: commonColors.purple[400]

@@ -280,0 +280,0 @@ },

@@ -62,3 +62,3 @@ "use strict";

400: "#338ef7",
500: "#0072f5",
500: "#0069E0",
600: "#005bc4",

@@ -233,3 +233,3 @@ 700: "#004493",

...commonColors.blue,
foreground: commonColors.white,
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
DEFAULT: commonColors.blue[500]

@@ -239,3 +239,3 @@ },

...commonColors.purple,
foreground: commonColors.white,
foreground: (0, import_color2k.readableColor)(commonColors.purple[500]),
DEFAULT: commonColors.purple[500]

@@ -245,3 +245,3 @@ },

...commonColors.green,
foreground: commonColors.white,
foreground: commonColors.green[800],
DEFAULT: commonColors.green[500]

@@ -251,3 +251,3 @@ },

...commonColors.yellow,
foreground: commonColors.white,
foreground: commonColors.yellow[900],
DEFAULT: commonColors.yellow[500]

@@ -270,8 +270,8 @@ },

...swapColorValues(commonColors.blue),
DEFAULT: commonColors.blue[500],
foreground: commonColors.white
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
DEFAULT: commonColors.blue[500]
},
secondary: {
...swapColorValues(commonColors.purple),
foreground: commonColors.white,
foreground: (0, import_color2k.readableColor)(commonColors.purple[400]),
DEFAULT: commonColors.purple[400]

@@ -278,0 +278,0 @@ },

@@ -86,2 +86,7 @@ import * as tailwind_variants from 'tailwind-variants';

};
hideCursor: {
true: {
cursor: string;
};
};
disableAnimation: {

@@ -97,7 +102,2 @@ true: {

};
disableCursor: {
true: {
cursor: string;
};
};
}, {

@@ -177,2 +177,7 @@ base: string;

};
hideCursor: {
true: {
cursor: string;
};
};
disableAnimation: {

@@ -188,7 +193,2 @@ true: {

};
disableCursor: {
true: {
cursor: string;
};
};
}, {

@@ -259,2 +259,7 @@ variant: {

};
hideCursor: {
true: {
cursor: string;
};
};
disableAnimation: {

@@ -270,7 +275,2 @@ true: {

};
disableCursor: {
true: {
cursor: string;
};
};
}>, {

@@ -341,2 +341,7 @@ variant: {

};
hideCursor: {
true: {
cursor: string;
};
};
disableAnimation: {

@@ -352,7 +357,2 @@ true: {

};
disableCursor: {
true: {
cursor: string;
};
};
}, {

@@ -359,0 +359,0 @@ base: string;

@@ -191,2 +191,7 @@ "use strict";

},
hideCursor: {
true: {
cursor: "hidden"
}
},
disableAnimation: {

@@ -201,7 +206,2 @@ true: {

}
},
disableCursor: {
true: {
cursor: "hidden"
}
}

@@ -218,3 +218,3 @@ },

disableAnimation: false,
disableCursor: false
hideCursor: false
},

@@ -272,3 +272,3 @@ compoundVariants: [

{
disableCursor: true,
hideCursor: true,
color: "default",

@@ -284,3 +284,3 @@ class: {

{
disableCursor: true,
hideCursor: true,
color: "primary",

@@ -296,3 +296,3 @@ class: {

{
disableCursor: true,
hideCursor: true,
color: "secondary",

@@ -308,3 +308,3 @@ class: {

{
disableCursor: true,
hideCursor: true,
color: "success",

@@ -320,3 +320,3 @@ class: {

{
disableCursor: true,
hideCursor: true,
color: "warning",

@@ -332,3 +332,3 @@ class: {

{
disableCursor: true,
hideCursor: true,
color: "danger",

@@ -344,3 +344,3 @@ class: {

{
disableCursor: true,
hideCursor: true,
showShadow: true,

@@ -353,3 +353,3 @@ color: "default",

{
disableCursor: true,
hideCursor: true,
showShadow: true,

@@ -362,3 +362,3 @@ color: "primary",

{
disableCursor: true,
hideCursor: true,
showShadow: true,

@@ -371,3 +371,3 @@ color: "secondary",

{
disableCursor: true,
hideCursor: true,
showShadow: true,

@@ -380,3 +380,3 @@ color: "success",

{
disableCursor: true,
hideCursor: true,
showShadow: true,

@@ -389,3 +389,3 @@ color: "warning",

{
disableCursor: true,
hideCursor: true,
showShadow: true,

@@ -392,0 +392,0 @@ color: "danger",

@@ -30,2 +30,6 @@ import * as tailwindcss from 'tailwindcss';

/**
* If true, the common nextui colors (e.g. "blue", "green", "purple") will not be extended on the theme.
*/
omitCommonColors?: boolean;
/**
* The theme definitions.

@@ -32,0 +36,0 @@ */

@@ -47,3 +47,3 @@ "use strict";

400: "#338ef7",
500: "#0072f5",
500: "#0069E0",
600: "#005bc4",

@@ -251,3 +251,3 @@ 700: "#004493",

...commonColors.blue,
foreground: commonColors.white,
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
DEFAULT: commonColors.blue[500]

@@ -257,3 +257,3 @@ },

...commonColors.purple,
foreground: commonColors.white,
foreground: (0, import_color2k.readableColor)(commonColors.purple[500]),
DEFAULT: commonColors.purple[500]

@@ -263,3 +263,3 @@ },

...commonColors.green,
foreground: commonColors.white,
foreground: commonColors.green[800],
DEFAULT: commonColors.green[500]

@@ -269,3 +269,3 @@ },

...commonColors.yellow,
foreground: commonColors.white,
foreground: commonColors.yellow[900],
DEFAULT: commonColors.yellow[500]

@@ -288,8 +288,8 @@ },

...swapColorValues(commonColors.blue),
DEFAULT: commonColors.blue[500],
foreground: commonColors.white
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
DEFAULT: commonColors.blue[500]
},
secondary: {
...swapColorValues(commonColors.purple),
foreground: commonColors.white,
foreground: (0, import_color2k.readableColor)(commonColors.purple[400]),
DEFAULT: commonColors.purple[400]

@@ -550,3 +550,3 @@ },

};
var corePlugin = (config = {}, defaultTheme, prefix) => {
var corePlugin = (config = {}, defaultTheme, prefix, omitCommonColors) => {
const resolved = resolveConfig(config, defaultTheme, prefix);

@@ -569,3 +569,3 @@ return (0, import_plugin.default)(

colors: {
...commonColors,
...omitCommonColors ? {} : commonColors,
...resolved.colors

@@ -616,2 +616,3 @@ },

const defaultPrefix = config.prefix || DEFAULT_PREFIX;
const omitCommonColors = config.omitCommonColors || false;
const otherThemes = (0, import_lodash3.default)(themeObject, ["light", "dark"]) || {};

@@ -625,3 +626,4 @@ return corePlugin(

defaultTheme,
defaultPrefix
defaultPrefix,
omitCommonColors
);

@@ -628,0 +630,0 @@ };

{
"name": "@nextui-org/theme",
"version": "0.0.0-dev-v2-20230619185541",
"version": "0.0.0-dev-v2-20230620004617",
"description": "The default theme for NextUI components",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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