@novalabsxyz/web-theme
Advanced tools
Comparing version 0.1.34-alpha.0 to 0.1.35-alpha.0
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; |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
641450
7311
1
+ Added@novalabsxyz/base-theme@0.1.35-alpha.0(transitive)
- Removed@novalabsxyz/base-theme@0.1.34-alpha.0(transitive)