New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@primer/primitives

Package Overview
Dependencies
Maintainers
6
Versions
4515
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@primer/primitives - npm Package Compare versions

Comparing version 0.0.0-202010321846 to 0.0.0-202010513038

4

CHANGELOG.md
# 3.0.1 (2020-04-28)
## 0.0.0-202010321846
## 0.0.0-202010513038
### Major Changes
- dd4c7a8: Add support for color modes
- b07ef2a: Add support for color modes

@@ -9,0 +9,0 @@ #### :rotating_light: Breaking Changes

@@ -301,3 +301,37 @@ declare const _default: {

toast: {
icBgLoading: string;
text: string;
bg: string;
border: string;
shadow: string;
icon: string;
iconBg: string;
iconBorder: string;
success: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
warning: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
danger: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
loading: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
};

@@ -535,4 +569,6 @@ timeline: {

sidebarBg: string;
gradientIn: string;
gradientOut: string;
};
};
export default _default;

@@ -457,14 +457,14 @@ "use strict";

"text": "#56d364",
"bg": "rgba(46,160,67,0.1)",
"border": "rgba(46,160,67,0.4)"
"bg": "#101f1b",
"border": "#1c532b"
},
"warning": {
"text": "#e3b341",
"bg": "rgba(187,128,9,0.1)",
"border": "rgba(187,128,9,0.4)"
"bg": "#1e1c16",
"border": "#5d4411"
},
"error": {
"text": "#ff7b72",
"bg": "rgba(248,81,73,0.1)",
"border": "rgba(248,81,73,0.4)"
"bg": "#25171c",
"border": "#792e2e"
}

@@ -480,3 +480,37 @@ }

"toast": {
"icBgLoading": "#8b949e"
"text": "#79c0ff",
"bg": "#010409",
"border": "#214981",
"shadow": "0 8px 24px #010409",
"icon": "#79c0ff",
"iconBg": "#121d2e",
"iconBorder": "#214981",
"success": {
"text": "#56d364",
"border": "#1c532c",
"icon": "#56d364",
"iconBg": "#111f1c",
"iconBorder": "#1c532c"
},
"warning": {
"text": "#e3b341",
"border": "#5e4411",
"icon": "#e3b341",
"iconBg": "#1f1c16",
"iconBorder": "#5e4411"
},
"danger": {
"text": "#ff7b72",
"border": "#792e2e",
"icon": "#ff7b72",
"iconBg": "#25171c",
"iconBorder": "#792e2e"
},
"loading": {
"text": "#f0f6fc",
"border": "#30363d",
"icon": "#f0f6fc",
"iconBg": "#30363d",
"iconBorder": "#30363d"
}
},

@@ -713,4 +747,6 @@ "timeline": {

"headerBg": "#0d1117",
"sidebarBg": "#161b22"
"sidebarBg": "#161b22",
"gradientIn": "#161b22",
"gradientOut": "rgba(22,27,34,0)"
}
};

@@ -302,3 +302,37 @@ declare const _default: {

toast: {
icBgLoading: string;
text: string;
bg: string;
border: string;
shadow: string;
icon: string;
iconBg: string;
iconBorder: string;
success: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
warning: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
danger: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
loading: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
};

@@ -536,2 +570,4 @@ timeline: {

sidebarBg: string;
gradientIn: string;
gradientOut: string;
};

@@ -839,3 +875,37 @@ };

toast: {
icBgLoading: string;
text: string;
bg: string;
border: string;
shadow: string;
icon: string;
iconBg: string;
iconBorder: string;
success: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
warning: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
danger: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
loading: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
};

@@ -1073,2 +1143,4 @@ timeline: {

sidebarBg: string;
gradientIn: string;
gradientOut: string;
};

@@ -1075,0 +1147,0 @@ };

@@ -301,3 +301,37 @@ declare const _default: {

toast: {
icBgLoading: string;
text: string;
bg: string;
border: string;
shadow: string;
icon: string;
iconBg: string;
iconBorder: string;
success: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
warning: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
danger: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
loading: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
};

@@ -535,4 +569,6 @@ timeline: {

sidebarBg: string;
gradientIn: string;
gradientOut: string;
};
};
export default _default;

@@ -479,3 +479,37 @@ "use strict";

"toast": {
"icBgLoading": "#586069"
"text": "#24292e",
"bg": "#ffffff",
"border": "#e1e4e8",
"shadow": "0 8px 24px rgba(149,157,165,0.2)",
"icon": "#ffffff",
"iconBg": "#0366d6",
"iconBorder": "rgba(0,0,0,0)",
"success": {
"text": "#24292e",
"border": "#e1e4e8",
"icon": "#ffffff",
"iconBg": "#28a745",
"iconBorder": "rgba(0,0,0,0)"
},
"warning": {
"text": "#24292e",
"border": "#e1e4e8",
"icon": "#24292e",
"iconBg": "#ffd33d",
"iconBorder": "rgba(0,0,0,0)"
},
"danger": {
"text": "#24292e",
"border": "#e1e4e8",
"icon": "#ffffff",
"iconBg": "#d73a49",
"iconBorder": "rgba(0,0,0,0)"
},
"loading": {
"text": "#24292e",
"border": "#e1e4e8",
"icon": "#ffffff",
"iconBg": "#586069",
"iconBorder": "rgba(0,0,0,0)"
}
},

@@ -712,4 +746,6 @@ "timeline": {

"headerBg": "#24292e",
"sidebarBg": "#ffffff"
"sidebarBg": "#ffffff",
"gradientIn": "#ffffff",
"gradientOut": "rgba(255,255,255,0)"
}
};

@@ -303,3 +303,37 @@ declare const _default: {

toast: {
icBgLoading: string;
text: string;
bg: string;
border: string;
shadow: string;
icon: string;
iconBg: string;
iconBorder: string;
success: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
warning: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
danger: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
loading: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
};

@@ -537,2 +571,4 @@ timeline: {

sidebarBg: string;
gradientIn: string;
gradientOut: string;
};

@@ -840,3 +876,37 @@ };

toast: {
icBgLoading: string;
text: string;
bg: string;
border: string;
shadow: string;
icon: string;
iconBg: string;
iconBorder: string;
success: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
warning: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
danger: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
loading: {
text: string;
border: string;
icon: string;
iconBg: string;
iconBorder: string;
};
};

@@ -1074,2 +1144,4 @@ timeline: {

sidebarBg: string;
gradientIn: string;
gradientOut: string;
};

@@ -1076,0 +1148,0 @@ };

@@ -455,14 +455,14 @@ {

"text": "#56d364",
"bg": "rgba(46,160,67,0.1)",
"border": "rgba(46,160,67,0.4)"
"bg": "#101f1b",
"border": "#1c532b"
},
"warning": {
"text": "#e3b341",
"bg": "rgba(187,128,9,0.1)",
"border": "rgba(187,128,9,0.4)"
"bg": "#1e1c16",
"border": "#5d4411"
},
"error": {
"text": "#ff7b72",
"bg": "rgba(248,81,73,0.1)",
"border": "rgba(248,81,73,0.4)"
"bg": "#25171c",
"border": "#792e2e"
}

@@ -478,3 +478,37 @@ }

"toast": {
"icBgLoading": "#8b949e"
"text": "#79c0ff",
"bg": "#010409",
"border": "#214981",
"shadow": "0 8px 24px #010409",
"icon": "#79c0ff",
"iconBg": "#121d2e",
"iconBorder": "#214981",
"success": {
"text": "#56d364",
"border": "#1c532c",
"icon": "#56d364",
"iconBg": "#111f1c",
"iconBorder": "#1c532c"
},
"warning": {
"text": "#e3b341",
"border": "#5e4411",
"icon": "#e3b341",
"iconBg": "#1f1c16",
"iconBorder": "#5e4411"
},
"danger": {
"text": "#ff7b72",
"border": "#792e2e",
"icon": "#ff7b72",
"iconBg": "#25171c",
"iconBorder": "#792e2e"
},
"loading": {
"text": "#f0f6fc",
"border": "#30363d",
"icon": "#f0f6fc",
"iconBg": "#30363d",
"iconBorder": "#30363d"
}
},

@@ -711,4 +745,6 @@ "timeline": {

"headerBg": "#0d1117",
"sidebarBg": "#161b22"
"sidebarBg": "#161b22",
"gradientIn": "#161b22",
"gradientOut": "rgba(22,27,34,0)"
}
}

@@ -477,3 +477,37 @@ {

"toast": {
"icBgLoading": "#586069"
"text": "#24292e",
"bg": "#ffffff",
"border": "#e1e4e8",
"shadow": "0 8px 24px rgba(149,157,165,0.2)",
"icon": "#ffffff",
"iconBg": "#0366d6",
"iconBorder": "rgba(0,0,0,0)",
"success": {
"text": "#24292e",
"border": "#e1e4e8",
"icon": "#ffffff",
"iconBg": "#28a745",
"iconBorder": "rgba(0,0,0,0)"
},
"warning": {
"text": "#24292e",
"border": "#e1e4e8",
"icon": "#24292e",
"iconBg": "#ffd33d",
"iconBorder": "rgba(0,0,0,0)"
},
"danger": {
"text": "#24292e",
"border": "#e1e4e8",
"icon": "#ffffff",
"iconBg": "#d73a49",
"iconBorder": "rgba(0,0,0,0)"
},
"loading": {
"text": "#24292e",
"border": "#e1e4e8",
"icon": "#ffffff",
"iconBg": "#586069",
"iconBorder": "rgba(0,0,0,0)"
}
},

@@ -710,4 +744,6 @@ "timeline": {

"headerBg": "#24292e",
"sidebarBg": "#ffffff"
"sidebarBg": "#ffffff",
"gradientIn": "#ffffff",
"gradientOut": "rgba(255,255,255,0)"
}
}

@@ -455,14 +455,14 @@ export default {

"text": "#56d364",
"bg": "rgba(46,160,67,0.1)",
"border": "rgba(46,160,67,0.4)"
"bg": "#101f1b",
"border": "#1c532b"
},
"warning": {
"text": "#e3b341",
"bg": "rgba(187,128,9,0.1)",
"border": "rgba(187,128,9,0.4)"
"bg": "#1e1c16",
"border": "#5d4411"
},
"error": {
"text": "#ff7b72",
"bg": "rgba(248,81,73,0.1)",
"border": "rgba(248,81,73,0.4)"
"bg": "#25171c",
"border": "#792e2e"
}

@@ -478,3 +478,37 @@ }

"toast": {
"icBgLoading": "#8b949e"
"text": "#79c0ff",
"bg": "#010409",
"border": "#214981",
"shadow": "0 8px 24px #010409",
"icon": "#79c0ff",
"iconBg": "#121d2e",
"iconBorder": "#214981",
"success": {
"text": "#56d364",
"border": "#1c532c",
"icon": "#56d364",
"iconBg": "#111f1c",
"iconBorder": "#1c532c"
},
"warning": {
"text": "#e3b341",
"border": "#5e4411",
"icon": "#e3b341",
"iconBg": "#1f1c16",
"iconBorder": "#5e4411"
},
"danger": {
"text": "#ff7b72",
"border": "#792e2e",
"icon": "#ff7b72",
"iconBg": "#25171c",
"iconBorder": "#792e2e"
},
"loading": {
"text": "#f0f6fc",
"border": "#30363d",
"icon": "#f0f6fc",
"iconBg": "#30363d",
"iconBorder": "#30363d"
}
},

@@ -711,4 +745,6 @@ "timeline": {

"headerBg": "#0d1117",
"sidebarBg": "#161b22"
"sidebarBg": "#161b22",
"gradientIn": "#161b22",
"gradientOut": "rgba(22,27,34,0)"
}
}

@@ -477,3 +477,37 @@ export default {

"toast": {
"icBgLoading": "#586069"
"text": "#24292e",
"bg": "#ffffff",
"border": "#e1e4e8",
"shadow": "0 8px 24px rgba(149,157,165,0.2)",
"icon": "#ffffff",
"iconBg": "#0366d6",
"iconBorder": "rgba(0,0,0,0)",
"success": {
"text": "#24292e",
"border": "#e1e4e8",
"icon": "#ffffff",
"iconBg": "#28a745",
"iconBorder": "rgba(0,0,0,0)"
},
"warning": {
"text": "#24292e",
"border": "#e1e4e8",
"icon": "#24292e",
"iconBg": "#ffd33d",
"iconBorder": "rgba(0,0,0,0)"
},
"danger": {
"text": "#24292e",
"border": "#e1e4e8",
"icon": "#ffffff",
"iconBg": "#d73a49",
"iconBorder": "rgba(0,0,0,0)"
},
"loading": {
"text": "#24292e",
"border": "#e1e4e8",
"icon": "#ffffff",
"iconBg": "#586069",
"iconBorder": "rgba(0,0,0,0)"
}
},

@@ -710,4 +744,6 @@ "timeline": {

"headerBg": "#24292e",
"sidebarBg": "#ffffff"
"sidebarBg": "#ffffff",
"gradientIn": "#ffffff",
"gradientOut": "rgba(255,255,255,0)"
}
}
{
"name": "@primer/primitives",
"version": "0.0.0-202010321846",
"version": "0.0.0-202010513038",
"description": "Typography, spacing, and color primitives for Primer design system",

@@ -5,0 +5,0 @@ "files": ["dist"],

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