Socket
Socket
Sign inDemoInstall

@toeverything/theme

Package Overview
Dependencies
Maintainers
2
Versions
109
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 0.7.29 to 0.7.30

2

./src/index.ts

@@ -117,3 +117,3 @@ import { grabbingCursor, grabCursor } from './cursors';

'0px 1px 2px 0px rgba(0, 0, 0, 0.25), inset -2px -3px 2px 0px rgba(0, 0, 0, 0.05)',
buttonInnerShadow: '0px 1px 2px 0px rgba(255, 255, 255, 0.25) inset',
buttonInnerShadow: 'unset',
multiCursorsShadow: '0px 2px 4px 0px rgba(0, 0, 0, 0.28)',

@@ -120,0 +120,0 @@ multiPlayersShadow: '0px 1px 6px 0px rgba(0, 0, 0, 0.16)',

@@ -43,3 +43,3 @@ function t(r) {

</svg>
`), C = (r) => typeof r != "string" ? "" : r.replace(/-/g, "_").replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z])([A-Z])(?=[a-z])/g, "$1-$2").toLowerCase().replace(/(\D+)(\d+)$/g, "$1-$2").replace(/\s|_/g, "-"), o = (r, a) => `url(${r}), ${a.join(", ")}`, p = (r) => `--affine-${C(r)}`, d = (r) => Object.entries(r), e = "apple-system, BlinkMacSystemFont, 'Helvetica Neue', Tahoma, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji','Segoe UI Symbol', 'Noto Color Emoji'", b = {
`), C = (r) => typeof r != "string" ? "" : r.replace(/-/g, "_").replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([A-Z])([A-Z])(?=[a-z])/g, "$1-$2").toLowerCase().replace(/(\D+)(\d+)$/g, "$1-$2").replace(/\s|_/g, "-"), o = (r, a) => `url(${r}), ${a.join(", ")}`, b = (r) => `--affine-${C(r)}`, d = (r) => Object.entries(r), e = "apple-system, BlinkMacSystemFont, 'Helvetica Neue', Tahoma, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji','Segoe UI Symbol', 'Noto Color Emoji'", p = {
// font

@@ -115,3 +115,3 @@ fontFamily: `'Inter', 'Source Sans 3', Poppins, ${e}`,

toggleCircleShadow: "0px 1px 2px 0px rgba(0, 0, 0, 0.25), inset -2px -3px 2px 0px rgba(0, 0, 0, 0.05)",
buttonInnerShadow: "0px 1px 2px 0px rgba(255, 255, 255, 0.25) inset",
buttonInnerShadow: "unset",
multiCursorsShadow: "0px 2px 4px 0px rgba(0, 0, 0, 0.28)",

@@ -123,3 +123,3 @@ multiPlayersShadow: "0px 1px 6px 0px rgba(0, 0, 0, 0.16)",

}, h = {
...b,
...p,
themeMode: "light",

@@ -241,3 +241,3 @@ brandColor: "#1E96EB",

}, u = {
...b,
...p,
themeMode: "dark",

@@ -358,8 +358,8 @@ brandColor: "#1E96EB",

embedShadow: "0px 0px 0px 2px rgba(255, 255, 255, 0.08)"
}, l = (r) => d(r).reduce((a, [g, x]) => ({ ...a, [p(g)]: x }), {}), c = l(h), s = l(u);
}, l = (r) => d(r).reduce((a, [g, x]) => ({ ...a, [b(g)]: x }), {}), c = l(h), s = l(u);
function w(r, a) {
return `var(${r.startsWith("--") ? r : p(r)}${a ? `, ${a}` : ""})`;
return `var(${r.startsWith("--") ? r : b(r)}${a ? `, ${a}` : ""})`;
}
export {
b as baseTheme,
p as baseTheme,
C as camelToKebab,

@@ -366,0 +366,0 @@ w as cssVar,

{
"name": "@toeverything/theme",
"version": "0.7.29",
"version": "0.7.30",
"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