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

@toeverything/theme

Package Overview
Dependencies
Maintainers
0
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toeverything/theme - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

136

dist/v2/index.js

@@ -1,5 +0,6 @@

function t(e) {
function r(e) {
return Object.keys(e);
}
const r = {
const o = {
redMedium: "#ffffff",
"badge/believer": "#374151",

@@ -41,2 +42,5 @@ "badge/free": "#29a3fa",

"button/siderbarPrimary/background": "#ffffffab",
"centerPeek/background": "#ffffff",
"centerPeek/icon": "#7a7a7a",
"centerPeek/overlay": "#0000002b",
"database/border": "#0000001a",

@@ -49,2 +53,3 @@ "database/textSecondary": "#00000085",

"edgeless/frame/background/grey": "#f3f3f3",
"edgeless/frame/background/magenta": "#ffecf6",
"edgeless/frame/background/orange": "#ffebd5",

@@ -91,2 +96,27 @@ "edgeless/frame/background/purple": "#ede9ff",

"edgeless/note/yellow": "#fde68a",
"edgeless/palette/black": "#000000",
"edgeless/palette/white": "#ffffff",
"edgeless/palette/heavy/blue": "#1c70a5",
"edgeless/palette/heavy/green": "#447756",
"edgeless/palette/heavy/magenta": "#941555",
"edgeless/palette/heavy/orange": "#b55309",
"edgeless/palette/heavy/purple": "#5a21b6",
"edgeless/palette/heavy/red": "#761717",
"edgeless/palette/heavy/yellow": "#ac7400",
"edgeless/palette/light/blueLight": "#e6f5ff",
"edgeless/palette/light/greenLight": "#f1fdf4",
"edgeless/palette/light/greyLight": "#e6e6e6",
"edgeless/palette/light/magentaLight": "#ffecf6",
"edgeless/palette/light/orangeLight": "#ffebd5",
"edgeless/palette/light/purpleLight": "#ede9ff",
"edgeless/palette/light/redLight": "#fce5e6",
"edgeless/palette/light/yellowLight": "#fffbd5",
"edgeless/palette/medium/blueMedium": "#29a3fa",
"edgeless/palette/medium/greenMedium": "#3cbc36",
"edgeless/palette/medium/greyMedium": "#929292",
"edgeless/palette/medium/magentaMedium": "#e660a4",
"edgeless/palette/medium/orangeMedium": "#ff8c38",
"edgeless/palette/medium/purpleMedium": "#6e52df",
"edgeless/palette/medium/redMedium": "#ed3f3f",
"edgeless/palette/medium/yellowMedium": "#facc15",
"edgeless/shape/black": "#000000",

@@ -118,7 +148,10 @@ "edgeless/shape/blue": "#9fd9ff",

"label/yellow": "#fef3c7",
"layer/border": "#e6e6e6",
"layer/toolTips": "#141414",
"layer/insideBorder/black": "#0000001a",
"layer/insideBorder/primary": "#1e96eb",
"layer/insideBorder/white": "#ffffff8f",
"layer/black": "#000000",
"layer/pureBlack": "#000000",
"layer/pureWhite": "#ffffff",
"layer/white": "#ffffff",
"layer/insideBorder/blackBorder": "#0000001a",
"layer/insideBorder/border": "#e6e6e6",
"layer/insideBorder/primaryBorder": "#1e96eb",
"layer/insideBorder/whiteBorder": "#ffffff8f",
"layer/background/codeBlock": "#f9f9f9",

@@ -128,2 +161,3 @@ "layer/background/error": "#fff1f1",

"layer/background/modal": "#000000b2",
"layer/background/modalWhite": "#ffffff2b",
"layer/background/overlayPanel": "#ffffff",

@@ -137,2 +171,4 @@ "layer/background/primary": "#ffffff",

"layer/background/warning": "#fff7ee",
"layer/mobile/iOSControl": "#000000",
"layer/mobile/modal": "#0000002b",
"loading/background": "#0000001a",

@@ -142,2 +178,4 @@ "loading/foreground": "#1e96eb",

"others/warnLabel/yellow": "#facc15",
"portrait/localPortrait": "#00000038",
"portrait/localPortraitBackground": "#0000001a",
"status/error": "#ed3f3f",

@@ -162,3 +200,3 @@ "status/success": "#44b931",

"tab/tabBackground/active": "#00000012",
"tab/tabBackground/default": "#00000008",
"tab/tabBackground/default": "#0000000d",
"text/disable": "#7a7a7a",

@@ -208,2 +246,3 @@ "text/emphasis": "#1e96eb",

}, d = {
redMedium: "#ffffff",
"badge/believer": "#374151",

@@ -245,2 +284,5 @@ "badge/free": "#29a3fa",

"button/siderbarPrimary/background": "#0000002b",
"centerPeek/background": "#000000",
"centerPeek/icon": "#b3b3b3",
"centerPeek/overlay": "#00000085",
"database/border": "#ffffff21",

@@ -253,2 +295,3 @@ "database/textSecondary": "#ffffff8f",

"edgeless/frame/background/grey": "#f3f3f3",
"edgeless/frame/background/magenta": "#ffecf6",
"edgeless/frame/background/orange": "#ffebd5",

@@ -295,10 +338,35 @@ "edgeless/frame/background/purple": "#ede9ff",

"edgeless/note/yellow": "#704200",
"edgeless/palette/black": "#000000",
"edgeless/palette/white": "#ffffff",
"edgeless/palette/heavy/blue": "#1c70a5",
"edgeless/palette/heavy/green": "#447756",
"edgeless/palette/heavy/magenta": "#941555",
"edgeless/palette/heavy/orange": "#b55309",
"edgeless/palette/heavy/purple": "#5a21b6",
"edgeless/palette/heavy/red": "#761717",
"edgeless/palette/heavy/yellow": "#ac7400",
"edgeless/palette/light/blueLight": "#e6f5ff",
"edgeless/palette/light/greenLight": "#f1fdf4",
"edgeless/palette/light/greyLight": "#e6e6e6",
"edgeless/palette/light/magentaLight": "#ffecf6",
"edgeless/palette/light/orangeLight": "#ffebd5",
"edgeless/palette/light/purpleLight": "#d7cdff",
"edgeless/palette/light/redLight": "#fce5e6",
"edgeless/palette/light/yellowLight": "#fffbd5",
"edgeless/palette/medium/blueMedium": "#29a3fa",
"edgeless/palette/medium/greenMedium": "#3cbc36",
"edgeless/palette/medium/greyMedium": "#929292",
"edgeless/palette/medium/magentaMedium": "#e660a4",
"edgeless/palette/medium/orangeMedium": "#ff8c38",
"edgeless/palette/medium/purpleMedium": "#6e52df",
"edgeless/palette/medium/redMedium": "#ed3f3f",
"edgeless/palette/medium/yellowMedium": "#facc15",
"edgeless/shape/black": "#000000",
"edgeless/shape/blue": "#84cfff",
"edgeless/shape/blue": "#9fd9ff",
"edgeless/shape/green": "#9bda91",
"edgeless/shape/grey": "#b3b3b3",
"edgeless/shape/magenta": "#f58ec3",
"edgeless/shape/grey": "#cdcdcd",
"edgeless/shape/magenta": "#ffc0e0",
"edgeless/shape/orange": "#ffae63",
"edgeless/shape/purple": "#a693f3",
"edgeless/shape/red": "#fc7979",
"edgeless/shape/purple": "#d7cdff",
"edgeless/shape/red": "#fbb7b7",
"edgeless/shape/teal": "#8be7dc",

@@ -322,7 +390,10 @@ "edgeless/shape/white": "#ffffff",

"label/yellow": "#ac7400",
"layer/border": "#414141",
"layer/toolTips": "#e6e6e6",
"layer/insideBorder/black": "#ffffff0d",
"layer/insideBorder/primary": "#1e96eb",
"layer/insideBorder/white": "#ffffff0d",
"layer/black": "#ffffff",
"layer/pureBlack": "#000000",
"layer/pureWhite": "#ffffff",
"layer/white": "#000000",
"layer/insideBorder/blackBorder": "#ffffff0d",
"layer/insideBorder/border": "#414141",
"layer/insideBorder/primaryBorder": "#1e96eb",
"layer/insideBorder/whiteBorder": "#ffffff0d",
"layer/background/codeBlock": "#252525",

@@ -332,2 +403,3 @@ "layer/background/error": "#460606",

"layer/background/modal": "#00000038",
"layer/background/modalWhite": "#ffffff",
"layer/background/overlayPanel": "#252525",

@@ -341,2 +413,4 @@ "layer/background/primary": "#141414",

"layer/background/warning": "#321a04",
"layer/mobile/iOSControl": "#ffffff",
"layer/mobile/modal": "#00000085",
"loading/background": "#ffffffd1",

@@ -346,2 +420,4 @@ "loading/foreground": "#0077cb",

"others/warnLabel/yellow": "#facc15",
"portrait/localPortrait": "#ffffff3b",
"portrait/localPortraitBackground": "#ffffff2b",
"status/error": "#9f2d2d",

@@ -359,5 +435,5 @@ "status/success": "#1d9c07",

"tab/divider/indicator": "#1e96eb",
"tab/fontColor/active": "#141414",
"tab/fontColor/default": "#929292",
"tab/fontColor/hover": "#141414",
"tab/fontColor/active": "#e6e6e6",
"tab/fontColor/default": "#7a7a7a",
"tab/fontColor/hover": "#e6e6e6",
"tab/iconColor/active": "#cdcdcd",

@@ -412,20 +488,20 @@ "tab/iconColor/default": "#7a7a7a",

};
function o(e) {
function l(e) {
return `--affine-${e.split("/").join("-")}`;
}
function l(e) {
function t(e) {
const f = {};
return t(e).forEach((a) => {
f[o(a)] = e[a];
return r(e).forEach((a) => {
f[l(a)] = e[a];
}), f;
}
const g = l(r), c = l(d);
function b(e, f) {
return `var(${o(e)}${f ? `, ${f}` : ""})`;
const g = t(o), s = t(d);
function c(e, f) {
return `var(${l(e)}${f ? `, ${f}` : ""})`;
}
export {
b as cssVarV2,
c as darkCssVariablesV2,
c as cssVarV2,
s as darkCssVariablesV2,
g as lightCssVariablesV2
};
//# sourceMappingURL=index.js.map
export declare const lightThemeV2: {
redMedium: string;
'badge/believer': string;

@@ -38,2 +39,5 @@ 'badge/free': string;

'button/siderbarPrimary/background': string;
'centerPeek/background': string;
'centerPeek/icon': string;
'centerPeek/overlay': string;
'database/border': string;

@@ -46,2 +50,3 @@ 'database/textSecondary': string;

'edgeless/frame/background/grey': string;
'edgeless/frame/background/magenta': string;
'edgeless/frame/background/orange': string;

@@ -88,2 +93,27 @@ 'edgeless/frame/background/purple': string;

'edgeless/note/yellow': string;
'edgeless/palette/black': string;
'edgeless/palette/white': string;
'edgeless/palette/heavy/blue': string;
'edgeless/palette/heavy/green': string;
'edgeless/palette/heavy/magenta': string;
'edgeless/palette/heavy/orange': string;
'edgeless/palette/heavy/purple': string;
'edgeless/palette/heavy/red': string;
'edgeless/palette/heavy/yellow': string;
'edgeless/palette/light/blueLight': string;
'edgeless/palette/light/greenLight': string;
'edgeless/palette/light/greyLight': string;
'edgeless/palette/light/magentaLight': string;
'edgeless/palette/light/orangeLight': string;
'edgeless/palette/light/purpleLight': string;
'edgeless/palette/light/redLight': string;
'edgeless/palette/light/yellowLight': string;
'edgeless/palette/medium/blueMedium': string;
'edgeless/palette/medium/greenMedium': string;
'edgeless/palette/medium/greyMedium': string;
'edgeless/palette/medium/magentaMedium': string;
'edgeless/palette/medium/orangeMedium': string;
'edgeless/palette/medium/purpleMedium': string;
'edgeless/palette/medium/redMedium': string;
'edgeless/palette/medium/yellowMedium': string;
'edgeless/shape/black': string;

@@ -115,7 +145,10 @@ 'edgeless/shape/blue': string;

'label/yellow': string;
'layer/border': string;
'layer/toolTips': string;
'layer/insideBorder/black': string;
'layer/insideBorder/primary': string;
'layer/insideBorder/white': string;
'layer/black': string;
'layer/pureBlack': string;
'layer/pureWhite': string;
'layer/white': string;
'layer/insideBorder/blackBorder': string;
'layer/insideBorder/border': string;
'layer/insideBorder/primaryBorder': string;
'layer/insideBorder/whiteBorder': string;
'layer/background/codeBlock': string;

@@ -125,2 +158,3 @@ 'layer/background/error': string;

'layer/background/modal': string;
'layer/background/modalWhite': string;
'layer/background/overlayPanel': string;

@@ -134,2 +168,4 @@ 'layer/background/primary': string;

'layer/background/warning': string;
'layer/mobile/iOSControl': string;
'layer/mobile/modal': string;
'loading/background': string;

@@ -139,2 +175,4 @@ 'loading/foreground': string;

'others/warnLabel/yellow': string;
'portrait/localPortrait': string;
'portrait/localPortraitBackground': string;
'status/error': string;

@@ -205,2 +243,3 @@ 'status/success': string;

export declare const darkThemeV2: {
redMedium: string;
'badge/believer': string;

@@ -242,2 +281,5 @@ 'badge/free': string;

'button/siderbarPrimary/background': string;
'centerPeek/background': string;
'centerPeek/icon': string;
'centerPeek/overlay': string;
'database/border': string;

@@ -250,2 +292,3 @@ 'database/textSecondary': string;

'edgeless/frame/background/grey': string;
'edgeless/frame/background/magenta': string;
'edgeless/frame/background/orange': string;

@@ -292,2 +335,27 @@ 'edgeless/frame/background/purple': string;

'edgeless/note/yellow': string;
'edgeless/palette/black': string;
'edgeless/palette/white': string;
'edgeless/palette/heavy/blue': string;
'edgeless/palette/heavy/green': string;
'edgeless/palette/heavy/magenta': string;
'edgeless/palette/heavy/orange': string;
'edgeless/palette/heavy/purple': string;
'edgeless/palette/heavy/red': string;
'edgeless/palette/heavy/yellow': string;
'edgeless/palette/light/blueLight': string;
'edgeless/palette/light/greenLight': string;
'edgeless/palette/light/greyLight': string;
'edgeless/palette/light/magentaLight': string;
'edgeless/palette/light/orangeLight': string;
'edgeless/palette/light/purpleLight': string;
'edgeless/palette/light/redLight': string;
'edgeless/palette/light/yellowLight': string;
'edgeless/palette/medium/blueMedium': string;
'edgeless/palette/medium/greenMedium': string;
'edgeless/palette/medium/greyMedium': string;
'edgeless/palette/medium/magentaMedium': string;
'edgeless/palette/medium/orangeMedium': string;
'edgeless/palette/medium/purpleMedium': string;
'edgeless/palette/medium/redMedium': string;
'edgeless/palette/medium/yellowMedium': string;
'edgeless/shape/black': string;

@@ -319,7 +387,10 @@ 'edgeless/shape/blue': string;

'label/yellow': string;
'layer/border': string;
'layer/toolTips': string;
'layer/insideBorder/black': string;
'layer/insideBorder/primary': string;
'layer/insideBorder/white': string;
'layer/black': string;
'layer/pureBlack': string;
'layer/pureWhite': string;
'layer/white': string;
'layer/insideBorder/blackBorder': string;
'layer/insideBorder/border': string;
'layer/insideBorder/primaryBorder': string;
'layer/insideBorder/whiteBorder': string;
'layer/background/codeBlock': string;

@@ -329,2 +400,3 @@ 'layer/background/error': string;

'layer/background/modal': string;
'layer/background/modalWhite': string;
'layer/background/overlayPanel': string;

@@ -338,2 +410,4 @@ 'layer/background/primary': string;

'layer/background/warning': string;
'layer/mobile/iOSControl': string;
'layer/mobile/modal': string;
'loading/background': string;

@@ -343,2 +417,4 @@ 'loading/foreground': string;

'others/warnLabel/yellow': string;
'portrait/localPortrait': string;
'portrait/localPortraitBackground': string;
'status/error': string;

@@ -345,0 +421,0 @@ 'status/success': string;

{
"name": "@toeverything/theme",
"version": "1.0.4",
"version": "1.0.5",
"type": "module",

@@ -5,0 +5,0 @@ "repository": "toeverything/design",

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

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