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

@toeverything/theme

Package Overview
Dependencies
Maintainers
2
Versions
118
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.0.0-20230512083345-543a80d to 0.0.0-20230515091105-b21333b

2

dist/index.d.ts

@@ -119,2 +119,3 @@ export declare const camelToKebab: (s: string) => string;

floatButtonShadow: string;
buttonGrayColor: string;
fontFamily: string;

@@ -229,2 +230,3 @@ fontNumberFamily: string;

floatButtonShadow: string;
buttonGrayColor: string;
fontFamily: string;

@@ -231,0 +233,0 @@ fontNumberFamily: string;

18

dist/index.js

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

const g = (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 = "apple-system, BlinkMacSystemFont,Helvetica Neue, Tahoma, PingFang SC, Microsoft Yahei, Arial,Hiragino Sans GB, sans-serif, Apple Color Emoji, Segoe UI Emoji,Segoe UI Symbol, Noto Color Emoji", b = {
const g = (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, "-"), e = "apple-system, BlinkMacSystemFont,Helvetica Neue, Tahoma, PingFang SC, Microsoft Yahei, Arial,Hiragino Sans GB, sans-serif, Apple Color Emoji, Segoe UI Emoji,Segoe UI Symbol, Noto Color Emoji", b = {
// font
fontFamily: `Avenir Next, Poppins, ${o}`,
fontNumberFamily: `Roboto Mono, ${o}`,
fontCodeFamily: `Space Mono, Consolas, Menlo, Monaco, Courier, monospace, ${o}`,
fontFamily: `Avenir Next, Poppins, ${e}`,
fontNumberFamily: `Roboto Mono, ${e}`,
fontCodeFamily: `Space Mono, Consolas, Menlo, Monaco, Courier, monospace, ${e}`,
fontTitle: "36px",

@@ -111,3 +111,4 @@ fontH1: "28px",

popoverShadow: "0px 0px 30px rgba(75, 75, 75, 0.2), 0px 0px 4px rgba(75, 75, 75, 0.3), inset 0px 0px 0px rgba(227, 226, 228, 1)",
floatButtonShadow: "0px 10px 12px -3px rgba(66, 65, 73, 0.1), 0px 4px 6px -2px rgba(66, 65, 73, 0.05)"
floatButtonShadow: "0px 10px 12px -3px rgba(66, 65, 73, 0.1), 0px 4px 6px -2px rgba(66, 65, 73, 0.05)",
buttonGrayColor: "rgba(245, 245, 245, 1)"
}, l = {

@@ -177,8 +178,9 @@ ...b,

popoverShadow: "0px 0px 30px rgba(12, 12, 12, 0.8), 0px 0px 8px rgba(12, 12, 12, 1), inset 0px 0px 0px rgba(46, 46, 46, 1)",
floatButtonShadow: " 0px 10px 12px -3px rgba(15, 15, 15, 0.88), 0px 4px 6px -2px rgba(0, 0, 0, 0.88)"
floatButtonShadow: " 0px 10px 12px -3px rgba(15, 15, 15, 0.88), 0px 4px 6px -2px rgba(0, 0, 0, 0.88)",
buttonGrayColor: "rgba(rgb(85, 85, 85, 1)"
}, p = Object.entries(t).reduce(
(r, [a, e]) => (r[`--affine-${g(a)}`] = e, r),
(r, [a, o]) => (r[`--affine-${g(a)}`] = o, r),
{}
), n = Object.entries(l).reduce(
(r, [a, e]) => (r[`--affine-${g(a)}`] = e, r),
(r, [a, o]) => (r[`--affine-${g(a)}`] = o, r),
{}

@@ -185,0 +187,0 @@ );

{
"name": "@toeverything/theme",
"version": "0.0.0-20230512083345-543a80d",
"version": "0.0.0-20230515091105-b21333b",
"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