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

@littlespoon/theme

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@littlespoon/theme - npm Package Compare versions

Comparing version 1.12.0 to 1.13.0

lib/style.d.ts

8

lib/breakpoints.d.ts

@@ -28,3 +28,3 @@ export declare const mobile = 0;

*/
export declare const up: (minWidth: number, css?: string | undefined) => string;
export declare const up: (minWidth: number, css?: string) => string;
/**

@@ -48,3 +48,3 @@ * Generates media query that matches screen widths smaller than the screen size given by the breakpoint (inclusive).

*/
export declare const down: (maxWidth: number, css?: string | undefined) => string;
export declare const down: (maxWidth: number, css?: string) => string;
declare const breakpoints: {

@@ -60,6 +60,6 @@ readonly xs: 375;

readonly desktop: 1000;
readonly up: (minWidth: number, css?: string | undefined) => string;
readonly down: (maxWidth: number, css?: string | undefined) => string;
readonly up: (minWidth: number, css?: string) => string;
readonly down: (maxWidth: number, css?: string) => string;
};
export default breakpoints;
//# sourceMappingURL=breakpoints.d.ts.map

@@ -35,3 +35,3 @@ "use strict";

var up = function (minWidth, css) {
return "@media (min-width: " + minWidth + "px)" + (css ? " { " + css + " }" : '');
return "@media (min-width: ".concat(minWidth, "px)") + (css ? " { ".concat(css, " }") : '');
};

@@ -58,3 +58,3 @@ exports.up = up;

var down = function (maxWidth, css) {
return "@media (max-width: " + maxWidth + "px)" + (css ? " { " + css + " }" : '');
return "@media (max-width: ".concat(maxWidth, "px)") + (css ? " { ".concat(css, " }") : '');
};

@@ -61,0 +61,0 @@ exports.down = down;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.rgb = exports.rgbaMap = exports.rem = exports.remMap = exports.fontFamily = void 0;
var fontFamily = function (name) { return name + ", sans-serif"; };
var fontFamily = function (name) { return "".concat(name, ", sans-serif"); };
exports.fontFamily = fontFamily;
exports.remMap = {};
var rem = function (value) { return exports.remMap[value] || (exports.remMap[value] = value + "rem"); };
var rem = function (value) { return exports.remMap[value] || (exports.remMap[value] = "".concat(value, "rem")); };
exports.rem = rem;

@@ -17,3 +17,3 @@ exports.rgbaMap = {};

var key = [red, green, blue, alpha].join(',');
return exports.rgbaMap[key] || (exports.rgbaMap[key] = "rgba(" + key + ")");
return exports.rgbaMap[key] || (exports.rgbaMap[key] = "rgba(".concat(key, ")"));
};

@@ -20,0 +20,0 @@ };

{
"name": "@littlespoon/theme",
"version": "1.12.0",
"version": "1.13.0",
"description": "Little Spoon theme",

@@ -37,3 +37,3 @@ "main": "lib/index.js",

"license": "UNLICENSED",
"gitHead": "463a8da3eaaf900d8668dd2cf848b948c9f78fe1"
"gitHead": "838d744c6f8c1314042022c18035f493a1ce4c0b"
}

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

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

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

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