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

@novalabsxyz/web-theme

Package Overview
Dependencies
Maintainers
6
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@novalabsxyz/web-theme - npm Package Compare versions

Comparing version 0.1.34-alpha.0 to 0.1.35-alpha.0

11

build/palette.d.ts
import { PaletteMode } from '@mui/material';
declare const palette: {
primaryBackground: string;
secondaryBackground: string;
cardBackground: string;
primaryText: string;
secondaryText: string;
placeholderText: string;
accentText: string;
inputBackground: string;
activeBackground: string;
inactiveIcon: string;
black: string;
appBackground: string;
cardBackground: string;
slate: string;

@@ -7,0 +16,0 @@ mineshaft: string;

20

build/palette.js

@@ -7,22 +7,4 @@ "use strict";

const base_theme_1 = __importDefault(require("@novalabsxyz/base-theme"));
// purpleToGreen:
// 'linear-gradient(135deg, #B250FF 18.23%, #52C1FF 49.48%, #00E268 78.65%)',
// yellowToOrange: 'linear-gradient(135deg, #FFD231 18.23%, #FF6B17 78.65%)',
// blueToTeal: 'linear-gradient(135deg, #52C1FF 18.23%, #17FF90 78.65%)',
// pinkToMagenta: 'linear-gradient(131deg, #FF4AA1 -4.02%, #DF1CFF 94.46%)',
// yellowToPurple:
// 'linear-gradient(134deg, #FFCC16 -0.9%, #FF4AA1 51.59%, #B250FF 100.9%)',
// yellowToLime: 'linear-gradient(137deg, #FFCC16 1.63%, #8CFA36 98.37%)',
// darkBlueToMagenta: 'linear-gradient(132deg, #2B99FF -2.91%, #DF1CFF 102.91%)',
const themeGradients = base_theme_1.default.gradients;
const gradients = Object.keys(themeGradients).reduce((acc, key) => {
// Find gradient
let colors = '';
themeGradients[key].colors.forEach((element, index) => {
colors += `${element} ${themeGradients[key].locations[index] * 100}%, `;
});
return Object.assign(Object.assign({}, acc), { [key]: `linear-gradient(${themeGradients[key].angle}deg, ${colors})` });
}, {});
const palette = Object.assign(Object.assign({ mode: 'dark' }, base_theme_1.default.palette), gradients);
const palette = Object.assign({ mode: 'dark' }, base_theme_1.default.palette);
exports.default = palette;
//# sourceMappingURL=palette.js.map

@@ -41,11 +41,2 @@ import {

darkBlue: string
// Gradients
purpleToGreen: string
yellowToOrange: string
blueToTeal: string
pinkToMagenta: string
yellowToPurple: string
yellowToLime: string
darkBlueToMagenta: string
}

@@ -52,0 +43,0 @@ }

{
"name": "@novalabsxyz/web-theme",
"version": "0.1.34-alpha.0",
"version": "0.1.35-alpha.0",
"description": "Novalabs Web Theme",

@@ -28,3 +28,3 @@ "contributors": [

"dependencies": {
"@novalabsxyz/base-theme": "^0.1.34-alpha.0",
"@novalabsxyz/base-theme": "^0.1.35-alpha.0",
"react": "18.2.0"

@@ -35,3 +35,3 @@ },

},
"gitHead": "2d82ef3a0795059bb6e96d2f47131a988683320d"
"gitHead": "0d174b76721f1db1a7e9d3a5ff40eaf093f5e385"
}

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

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