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
4437
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-47e6716 to 0.0.0-4982aaf

218

dist/js/colors/dark.js

@@ -119,6 +119,6 @@ "use strict";

"icon": {
"primary": "#0d1117",
"secondary": "#30363d",
"tertiary": "#6e7681",
"info": "#316ecd",
"primary": "#f0f6fc",
"secondary": "#8b949e",
"tertiary": "#8b949e",
"info": "#75bbff",
"danger": "#ed4e50",

@@ -129,19 +129,19 @@ "success": "#58ce65",

"hl": {
"hoverPrimaryBg": "#316ecd",
"hoverPrimaryBorder": "#316ecd",
"hoverSecondaryBg": "#d5dde5",
"hoverSecondaryBorder": "#d5dde5",
"selectedPrimaryBg": "#316ecd",
"selectedPrimaryBorder": "#316ecd"
"hoverPrimaryBg": "#3f87e9",
"hoverPrimaryBorder": "#3f87e9",
"hoverSecondaryBg": "#161b22",
"hoverSecondaryBorder": "#161b22",
"selectedPrimaryBg": "#3f87e9",
"selectedPrimaryBorder": "#3f87e9"
},
"border": {
"primary": "#30363d",
"primaryLight": "#bac2cb",
"secondary": "#8b949e",
"tertiary": "#f0f6fc",
"primaryLight": "#292e34",
"secondary": "#30363d",
"tertiary": "#0d1117",
"inverse": "#ffffff",
"info": "#316ecd",
"danger": "#d13339",
"success": "#248035",
"warning": "#b67b00"
"info": "#3f87e9",
"danger": "#ed4e50",
"success": "#2f9a42",
"warning": "#f7d232"
},

@@ -151,15 +151,15 @@ "bg": {

"canvasInverse": "#f0f6fc",
"primary": "#ffffff",
"secondary": "#d5dde5",
"tertiary": "#f0f6fc",
"overlay": "#ffffff",
"selected": "#316ecd",
"info": "#a1d3ff",
"infoInverse": "#316ecd",
"danger": "#ffbdba",
"dangerInverse": "#d13339",
"success": "#81e38a",
"successInverse": "#248035",
"warning": "#f7d232",
"warningInverse": "#b67b00"
"primary": "#0d1117",
"secondary": "#161b22",
"tertiary": "#0d1117",
"overlay": "#0d1117",
"selected": "#3f87e9",
"info": "#0b2e63",
"infoInverse": "#3f87e9",
"danger": "#660614",
"dangerInverse": "#ed4e50",
"success": "#0a3818",
"successInverse": "#2f9a42",
"warning": "#b67b00",
"warningInverse": "#f7d232"
},

@@ -171,3 +171,3 @@ "shadow": {

"0",
"rgba(13,17,23,0.04)"
"rgba(72,79,88,0.04)"
],

@@ -178,3 +178,3 @@ "medium": [

"6px",
"rgba(110,118,129,0.15)"
"rgba(72,79,88,0.15)"
],

@@ -185,3 +185,3 @@ "large": [

"24px",
"rgba(110,118,129,0.2)"
"rgba(72,79,88,0.2)"
],

@@ -192,3 +192,3 @@ "extraLarge": [

"48px",
"rgba(110,118,129,0.3)"
"rgba(72,79,88,0.3)"
],

@@ -200,3 +200,3 @@ "highlight": [

"0",
"rgba(255,255,255,0.25)"
"rgba(255,255,255,0.1)"
],

@@ -208,3 +208,3 @@ "inset": [

"0",
"rgba(177,186,196,0.2)"
"rgba(33,38,45,0.2)"
],

@@ -216,3 +216,3 @@ "focus": [

"3px",
"rgba(49,110,205,0.3)"
"rgba(63,135,233,0.3)"
]

@@ -239,31 +239,31 @@ },

"alert": {
"bg": "#a1d3ff",
"border": "rgba(13,65,137,0.2)",
"icon": "rgba(13,65,137,0.6)",
"bg": "#0b2e63",
"border": "rgba(117,187,255,0.2)",
"icon": "rgba(117,187,255,0.6)",
"warn": {
"bg": "#fde15f",
"border": "rgba(155,100,0,0.2)",
"icon": "#9b6400"
"bg": "#9b6400",
"border": "rgba(253,225,95,0.2)",
"icon": "#fde15f"
},
"error": {
"bg": "#ffe3e6",
"border": "rgba(102,6,20,0.2)",
"icon": "rgba(102,6,20,0.6)"
"border": "rgba(255,189,186,0.2)",
"icon": "rgba(255,189,186,0.6)"
},
"success": {
"bg": "#81e38a",
"border": "rgba(20,77,35,0.2)",
"icon": "rgba(20,77,35,0.8)"
"border": "rgba(88,206,101,0.2)",
"icon": "rgba(88,206,101,0.8)"
}
},
"blankslate": {
"icon": "#7a838e"
"icon": "#535c66"
},
"btn": {
"bg": "#f0f6fc",
"border": "rgba(13,17,23,0.15)",
"text": "#0d1117",
"ic": "#484f58",
"bg": "#0d1117",
"border": "rgba(255,255,255,0.15)",
"text": "#f0f6fc",
"ic": "#6e7681",
"bgHover": "#f3f4f6",
"bgActive": "#edeff2",
"bgActive": "#f9f9fa",
"shadowActive": [

@@ -323,3 +323,3 @@ "inset",

"inverseOnHover": {
"border": "rgba(13,17,23,0.15)",
"border": "rgba(255,255,255,0.15)",
"shadow": [

@@ -341,6 +341,6 @@ "0",

"danger": {
"text": "#d13339",
"textDisabled": "rgba(209,51,57,0.5)",
"bgHover": "#ac212b",
"bgActive": "#9f1f28",
"text": "#ed4e50",
"textDisabled": "rgba(237,78,80,0.5)",
"bgHover": "#ff7170",
"bgActive": "#ff6261",
"shadow": [

@@ -364,6 +364,6 @@ "inset",

"outline": {
"text": "#316ecd",
"textDisabled": "rgba(49,110,205,0.5)",
"bgHover": "#316ecd",
"bgActive": "#2e67c1",
"text": "#3f87e9",
"textDisabled": "rgba(63,135,233,0.5)",
"bgHover": "#54a2fb",
"bgActive": "#459afb",
"shadow": [

@@ -389,14 +389,14 @@ "inset",

"counter": {
"text": "#0d1117",
"bg": "rgba(139,148,158,0.5)",
"text": "#f0f6fc",
"bg": "rgba(48,54,61,0.5)",
"border": "rgba(209,213,218,0.5)"
},
"topic": {
"tagBg": "#cae8ff",
"tagBorder": "#cae8ff",
"tagText": "#316ecd"
"tagBg": "#061e46",
"tagBorder": "#061e46",
"tagText": "#3f87e9"
},
"input": {
"bg": "#ffffff",
"contrastBg": "#f0f6fc",
"bg": "#0d1117",
"contrastBg": "#0d1117",
"shadow": [

@@ -407,3 +407,3 @@ "inset",

"2px",
"rgba(13,17,23,0.075)"
"rgba(255,255,255,0.075)"
],

@@ -419,5 +419,5 @@ "shadowFocus": [

"avatar": {
"border": "rgba(13,17,23,0.1)",
"stackFade": "#8b949e",
"stackFadeMore": "#b1bac4",
"border": "rgba(255,255,255,0.1)",
"stackFade": "#30363d",
"stackFadeMore": "#21262d",
"childShadow": [

@@ -431,9 +431,9 @@ "-2px",

"toast": {
"icBgLoading": "#30363d"
"icBgLoading": "#8b949e"
},
"timeline": {
"text": "#21262d",
"badgeBg": "#b1bac4",
"targetBadgeBorder": "#3f87e9",
"targetBadgeShadow": "#75bbff"
"text": "#b1bac4",
"badgeBg": "#21262d",
"targetBadgeBorder": "#316ecd",
"targetBadgeShadow": "#0d4189"
},

@@ -448,7 +448,7 @@ "selectMenu": {

],
"tapHighlight": "rgba(139,148,158,0.5)",
"tapFocusBg": "#a1d3ff"
"tapHighlight": "rgba(48,54,61,0.5)",
"tapFocusBg": "#0b2e63"
},
"box": {
"blueBorder": "#75bbff"
"blueBorder": "#0d4189"
},

@@ -462,12 +462,12 @@ "dropdown": {

"branchName": {
"text": "rgba(13,17,23,0.6)",
"bg": "#b0daff",
"icon": "#91a6be"
"text": "rgba(255,255,255,0.6)",
"bg": "#0d3471",
"icon": "#676767"
},
"markdown": {
"codeBg": "rgba(13,17,23,0.05)",
"frameBorder": "#99a1aa",
"blockquoteBorder": "#99a1aa",
"tableBorder": "#99a1aa",
"tableTrBorder": "#808a95"
"codeBg": "rgba(255,255,255,0.05)",
"frameBorder": "#3b434b",
"blockquoteBorder": "#3b434b",
"tableBorder": "#3b434b",
"tableTrBorder": "#272c32"
},

@@ -478,30 +478,30 @@ "header": {

"filterItem": {
"barBg": "#cfd8e1"
"barBg": "#12161c"
},
"hiddenTextExpander": {
"bg": "#99a1aa",
"bgHover": "#808a95"
"bg": "#3b434b",
"bgHover": "#272c32"
},
"dragAndDrop": {
"border": "#7d8792"
"border": "#25292f"
},
"uploadEnabled": {
"border": "#99a1aa",
"borderFocused": "#649eed"
"border": "#3b434b",
"borderFocused": "#5185d5"
},
"previewableCommentForm": {
"border": "#7d8792"
"border": "#25292f"
},
"icFolder": "#54a2fb",
"hlAuthorBg": "#cae8ff",
"hlAuthorBorder": "#75bbff",
"logoSubdued": "#8b949e",
"discussionBorder": "#6a856f",
"icFolder": "#2456aa",
"hlAuthorBg": "#061e46",
"hlAuthorBorder": "#0d4189",
"logoSubdued": "#30363d",
"discussionBorder": "#354c3a",
"diff": {
"neutralBg": "#8b949e",
"deletionBg": "#ac212b",
"neutralBg": "#30363d",
"deletionBg": "#ff7170",
"deletionBgStrong": "#ffffff",
"deletionBorder": "#ffffff",
"deletionBorderStrong": "#ffffff",
"additionBg": "#29863a",
"additionBg": "#1e6c2d",
"additionBgStrong": "#ffffff",

@@ -512,7 +512,7 @@ "additionBorder": "#ffffff",

"globalNav": {
"logo": "#ffffff",
"bg": "#0d1117",
"text": "#ffffff",
"inputBg": "#f0f6fc",
"inputBorder": "#f0f6fc",
"logo": "#0d1117",
"bg": "#f0f6fc",
"text": "#0d1117",
"inputBg": "#0d1117",
"inputBorder": "#0d1117",
"inputIc": "#ffffff",

@@ -519,0 +519,0 @@ "inputPlaceholder": "#ffffff"

@@ -108,4 +108,4 @@ "use strict";

"tertiary": "#6a737d",
"placeholder": "#d1d5da",
"disabled": "#d1d5da",
"placeholder": "#6a737d",
"disabled": "#6a737d",
"inverse": "#ffffff",

@@ -115,3 +115,3 @@ "linkPrimary": "#0366d6",

"linkTertiary": "#586069",
"danger": "#d73a49",
"danger": "#cb2431",
"success": "#22863a",

@@ -145,4 +145,4 @@ "warning": "#b08800"

"danger": "#d73a49",
"success": "#28a745",
"warning": "#dbab09"
"success": "#34d058",
"warning": "#f9c513"
},

@@ -157,5 +157,5 @@ "bg": {

"selected": "#0366d6",
"info": "#dbedff",
"info": "#f1f8ff",
"infoInverse": "#0366d6",
"danger": "#ffdce0",
"danger": "#ffeef0",
"dangerInverse": "#d73a49",

@@ -165,3 +165,3 @@ "success": "#dcffe4",

"warning": "#fff5b1",
"warningInverse": "#dbab09"
"warningInverse": "#f9c513"
},

@@ -168,0 +168,0 @@ "shadow": {

@@ -117,6 +117,6 @@ {

"icon": {
"primary": "#0d1117",
"secondary": "#30363d",
"tertiary": "#6e7681",
"info": "#316ecd",
"primary": "#f0f6fc",
"secondary": "#8b949e",
"tertiary": "#8b949e",
"info": "#75bbff",
"danger": "#ed4e50",

@@ -127,19 +127,19 @@ "success": "#58ce65",

"hl": {
"hoverPrimaryBg": "#316ecd",
"hoverPrimaryBorder": "#316ecd",
"hoverSecondaryBg": "#d5dde5",
"hoverSecondaryBorder": "#d5dde5",
"selectedPrimaryBg": "#316ecd",
"selectedPrimaryBorder": "#316ecd"
"hoverPrimaryBg": "#3f87e9",
"hoverPrimaryBorder": "#3f87e9",
"hoverSecondaryBg": "#161b22",
"hoverSecondaryBorder": "#161b22",
"selectedPrimaryBg": "#3f87e9",
"selectedPrimaryBorder": "#3f87e9"
},
"border": {
"primary": "#30363d",
"primaryLight": "#bac2cb",
"secondary": "#8b949e",
"tertiary": "#f0f6fc",
"primaryLight": "#292e34",
"secondary": "#30363d",
"tertiary": "#0d1117",
"inverse": "#ffffff",
"info": "#316ecd",
"danger": "#d13339",
"success": "#248035",
"warning": "#b67b00"
"info": "#3f87e9",
"danger": "#ed4e50",
"success": "#2f9a42",
"warning": "#f7d232"
},

@@ -149,15 +149,15 @@ "bg": {

"canvasInverse": "#f0f6fc",
"primary": "#ffffff",
"secondary": "#d5dde5",
"tertiary": "#f0f6fc",
"overlay": "#ffffff",
"selected": "#316ecd",
"info": "#a1d3ff",
"infoInverse": "#316ecd",
"danger": "#ffbdba",
"dangerInverse": "#d13339",
"success": "#81e38a",
"successInverse": "#248035",
"warning": "#f7d232",
"warningInverse": "#b67b00"
"primary": "#0d1117",
"secondary": "#161b22",
"tertiary": "#0d1117",
"overlay": "#0d1117",
"selected": "#3f87e9",
"info": "#0b2e63",
"infoInverse": "#3f87e9",
"danger": "#660614",
"dangerInverse": "#ed4e50",
"success": "#0a3818",
"successInverse": "#2f9a42",
"warning": "#b67b00",
"warningInverse": "#f7d232"
},

@@ -169,3 +169,3 @@ "shadow": {

"0",
"rgba(13,17,23,0.04)"
"rgba(72,79,88,0.04)"
],

@@ -176,3 +176,3 @@ "medium": [

"6px",
"rgba(110,118,129,0.15)"
"rgba(72,79,88,0.15)"
],

@@ -183,3 +183,3 @@ "large": [

"24px",
"rgba(110,118,129,0.2)"
"rgba(72,79,88,0.2)"
],

@@ -190,3 +190,3 @@ "extraLarge": [

"48px",
"rgba(110,118,129,0.3)"
"rgba(72,79,88,0.3)"
],

@@ -198,3 +198,3 @@ "highlight": [

"0",
"rgba(255,255,255,0.25)"
"rgba(255,255,255,0.1)"
],

@@ -206,3 +206,3 @@ "inset": [

"0",
"rgba(177,186,196,0.2)"
"rgba(33,38,45,0.2)"
],

@@ -214,3 +214,3 @@ "focus": [

"3px",
"rgba(49,110,205,0.3)"
"rgba(63,135,233,0.3)"
]

@@ -237,31 +237,31 @@ },

"alert": {
"bg": "#a1d3ff",
"border": "rgba(13,65,137,0.2)",
"icon": "rgba(13,65,137,0.6)",
"bg": "#0b2e63",
"border": "rgba(117,187,255,0.2)",
"icon": "rgba(117,187,255,0.6)",
"warn": {
"bg": "#fde15f",
"border": "rgba(155,100,0,0.2)",
"icon": "#9b6400"
"bg": "#9b6400",
"border": "rgba(253,225,95,0.2)",
"icon": "#fde15f"
},
"error": {
"bg": "#ffe3e6",
"border": "rgba(102,6,20,0.2)",
"icon": "rgba(102,6,20,0.6)"
"border": "rgba(255,189,186,0.2)",
"icon": "rgba(255,189,186,0.6)"
},
"success": {
"bg": "#81e38a",
"border": "rgba(20,77,35,0.2)",
"icon": "rgba(20,77,35,0.8)"
"border": "rgba(88,206,101,0.2)",
"icon": "rgba(88,206,101,0.8)"
}
},
"blankslate": {
"icon": "#7a838e"
"icon": "#535c66"
},
"btn": {
"bg": "#f0f6fc",
"border": "rgba(13,17,23,0.15)",
"text": "#0d1117",
"ic": "#484f58",
"bg": "#0d1117",
"border": "rgba(255,255,255,0.15)",
"text": "#f0f6fc",
"ic": "#6e7681",
"bgHover": "#f3f4f6",
"bgActive": "#edeff2",
"bgActive": "#f9f9fa",
"shadowActive": [

@@ -321,3 +321,3 @@ "inset",

"inverseOnHover": {
"border": "rgba(13,17,23,0.15)",
"border": "rgba(255,255,255,0.15)",
"shadow": [

@@ -339,6 +339,6 @@ "0",

"danger": {
"text": "#d13339",
"textDisabled": "rgba(209,51,57,0.5)",
"bgHover": "#ac212b",
"bgActive": "#9f1f28",
"text": "#ed4e50",
"textDisabled": "rgba(237,78,80,0.5)",
"bgHover": "#ff7170",
"bgActive": "#ff6261",
"shadow": [

@@ -362,6 +362,6 @@ "inset",

"outline": {
"text": "#316ecd",
"textDisabled": "rgba(49,110,205,0.5)",
"bgHover": "#316ecd",
"bgActive": "#2e67c1",
"text": "#3f87e9",
"textDisabled": "rgba(63,135,233,0.5)",
"bgHover": "#54a2fb",
"bgActive": "#459afb",
"shadow": [

@@ -387,14 +387,14 @@ "inset",

"counter": {
"text": "#0d1117",
"bg": "rgba(139,148,158,0.5)",
"text": "#f0f6fc",
"bg": "rgba(48,54,61,0.5)",
"border": "rgba(209,213,218,0.5)"
},
"topic": {
"tagBg": "#cae8ff",
"tagBorder": "#cae8ff",
"tagText": "#316ecd"
"tagBg": "#061e46",
"tagBorder": "#061e46",
"tagText": "#3f87e9"
},
"input": {
"bg": "#ffffff",
"contrastBg": "#f0f6fc",
"bg": "#0d1117",
"contrastBg": "#0d1117",
"shadow": [

@@ -405,3 +405,3 @@ "inset",

"2px",
"rgba(13,17,23,0.075)"
"rgba(255,255,255,0.075)"
],

@@ -417,5 +417,5 @@ "shadowFocus": [

"avatar": {
"border": "rgba(13,17,23,0.1)",
"stackFade": "#8b949e",
"stackFadeMore": "#b1bac4",
"border": "rgba(255,255,255,0.1)",
"stackFade": "#30363d",
"stackFadeMore": "#21262d",
"childShadow": [

@@ -429,9 +429,9 @@ "-2px",

"toast": {
"icBgLoading": "#30363d"
"icBgLoading": "#8b949e"
},
"timeline": {
"text": "#21262d",
"badgeBg": "#b1bac4",
"targetBadgeBorder": "#3f87e9",
"targetBadgeShadow": "#75bbff"
"text": "#b1bac4",
"badgeBg": "#21262d",
"targetBadgeBorder": "#316ecd",
"targetBadgeShadow": "#0d4189"
},

@@ -446,7 +446,7 @@ "selectMenu": {

],
"tapHighlight": "rgba(139,148,158,0.5)",
"tapFocusBg": "#a1d3ff"
"tapHighlight": "rgba(48,54,61,0.5)",
"tapFocusBg": "#0b2e63"
},
"box": {
"blueBorder": "#75bbff"
"blueBorder": "#0d4189"
},

@@ -460,12 +460,12 @@ "dropdown": {

"branchName": {
"text": "rgba(13,17,23,0.6)",
"bg": "#b0daff",
"icon": "#91a6be"
"text": "rgba(255,255,255,0.6)",
"bg": "#0d3471",
"icon": "#676767"
},
"markdown": {
"codeBg": "rgba(13,17,23,0.05)",
"frameBorder": "#99a1aa",
"blockquoteBorder": "#99a1aa",
"tableBorder": "#99a1aa",
"tableTrBorder": "#808a95"
"codeBg": "rgba(255,255,255,0.05)",
"frameBorder": "#3b434b",
"blockquoteBorder": "#3b434b",
"tableBorder": "#3b434b",
"tableTrBorder": "#272c32"
},

@@ -476,30 +476,30 @@ "header": {

"filterItem": {
"barBg": "#cfd8e1"
"barBg": "#12161c"
},
"hiddenTextExpander": {
"bg": "#99a1aa",
"bgHover": "#808a95"
"bg": "#3b434b",
"bgHover": "#272c32"
},
"dragAndDrop": {
"border": "#7d8792"
"border": "#25292f"
},
"uploadEnabled": {
"border": "#99a1aa",
"borderFocused": "#649eed"
"border": "#3b434b",
"borderFocused": "#5185d5"
},
"previewableCommentForm": {
"border": "#7d8792"
"border": "#25292f"
},
"icFolder": "#54a2fb",
"hlAuthorBg": "#cae8ff",
"hlAuthorBorder": "#75bbff",
"logoSubdued": "#8b949e",
"discussionBorder": "#6a856f",
"icFolder": "#2456aa",
"hlAuthorBg": "#061e46",
"hlAuthorBorder": "#0d4189",
"logoSubdued": "#30363d",
"discussionBorder": "#354c3a",
"diff": {
"neutralBg": "#8b949e",
"deletionBg": "#ac212b",
"neutralBg": "#30363d",
"deletionBg": "#ff7170",
"deletionBgStrong": "#ffffff",
"deletionBorder": "#ffffff",
"deletionBorderStrong": "#ffffff",
"additionBg": "#29863a",
"additionBg": "#1e6c2d",
"additionBgStrong": "#ffffff",

@@ -510,7 +510,7 @@ "additionBorder": "#ffffff",

"globalNav": {
"logo": "#ffffff",
"bg": "#0d1117",
"text": "#ffffff",
"inputBg": "#f0f6fc",
"inputBorder": "#f0f6fc",
"logo": "#0d1117",
"bg": "#f0f6fc",
"text": "#0d1117",
"inputBg": "#0d1117",
"inputBorder": "#0d1117",
"inputIc": "#ffffff",

@@ -517,0 +517,0 @@ "inputPlaceholder": "#ffffff"

@@ -106,4 +106,4 @@ {

"tertiary": "#6a737d",
"placeholder": "#d1d5da",
"disabled": "#d1d5da",
"placeholder": "#6a737d",
"disabled": "#6a737d",
"inverse": "#ffffff",

@@ -113,3 +113,3 @@ "linkPrimary": "#0366d6",

"linkTertiary": "#586069",
"danger": "#d73a49",
"danger": "#cb2431",
"success": "#22863a",

@@ -143,4 +143,4 @@ "warning": "#b08800"

"danger": "#d73a49",
"success": "#28a745",
"warning": "#dbab09"
"success": "#34d058",
"warning": "#f9c513"
},

@@ -155,5 +155,5 @@ "bg": {

"selected": "#0366d6",
"info": "#dbedff",
"info": "#f1f8ff",
"infoInverse": "#0366d6",
"danger": "#ffdce0",
"danger": "#ffeef0",
"dangerInverse": "#d73a49",

@@ -163,3 +163,3 @@ "success": "#dcffe4",

"warning": "#fff5b1",
"warningInverse": "#dbab09"
"warningInverse": "#f9c513"
},

@@ -166,0 +166,0 @@ "shadow": {

@@ -117,6 +117,6 @@ export default {

"icon": {
"primary": "#0d1117",
"secondary": "#30363d",
"tertiary": "#6e7681",
"info": "#316ecd",
"primary": "#f0f6fc",
"secondary": "#8b949e",
"tertiary": "#8b949e",
"info": "#75bbff",
"danger": "#ed4e50",

@@ -127,19 +127,19 @@ "success": "#58ce65",

"hl": {
"hoverPrimaryBg": "#316ecd",
"hoverPrimaryBorder": "#316ecd",
"hoverSecondaryBg": "#d5dde5",
"hoverSecondaryBorder": "#d5dde5",
"selectedPrimaryBg": "#316ecd",
"selectedPrimaryBorder": "#316ecd"
"hoverPrimaryBg": "#3f87e9",
"hoverPrimaryBorder": "#3f87e9",
"hoverSecondaryBg": "#161b22",
"hoverSecondaryBorder": "#161b22",
"selectedPrimaryBg": "#3f87e9",
"selectedPrimaryBorder": "#3f87e9"
},
"border": {
"primary": "#30363d",
"primaryLight": "#bac2cb",
"secondary": "#8b949e",
"tertiary": "#f0f6fc",
"primaryLight": "#292e34",
"secondary": "#30363d",
"tertiary": "#0d1117",
"inverse": "#ffffff",
"info": "#316ecd",
"danger": "#d13339",
"success": "#248035",
"warning": "#b67b00"
"info": "#3f87e9",
"danger": "#ed4e50",
"success": "#2f9a42",
"warning": "#f7d232"
},

@@ -149,15 +149,15 @@ "bg": {

"canvasInverse": "#f0f6fc",
"primary": "#ffffff",
"secondary": "#d5dde5",
"tertiary": "#f0f6fc",
"overlay": "#ffffff",
"selected": "#316ecd",
"info": "#a1d3ff",
"infoInverse": "#316ecd",
"danger": "#ffbdba",
"dangerInverse": "#d13339",
"success": "#81e38a",
"successInverse": "#248035",
"warning": "#f7d232",
"warningInverse": "#b67b00"
"primary": "#0d1117",
"secondary": "#161b22",
"tertiary": "#0d1117",
"overlay": "#0d1117",
"selected": "#3f87e9",
"info": "#0b2e63",
"infoInverse": "#3f87e9",
"danger": "#660614",
"dangerInverse": "#ed4e50",
"success": "#0a3818",
"successInverse": "#2f9a42",
"warning": "#b67b00",
"warningInverse": "#f7d232"
},

@@ -169,3 +169,3 @@ "shadow": {

"0",
"rgba(13,17,23,0.04)"
"rgba(72,79,88,0.04)"
],

@@ -176,3 +176,3 @@ "medium": [

"6px",
"rgba(110,118,129,0.15)"
"rgba(72,79,88,0.15)"
],

@@ -183,3 +183,3 @@ "large": [

"24px",
"rgba(110,118,129,0.2)"
"rgba(72,79,88,0.2)"
],

@@ -190,3 +190,3 @@ "extraLarge": [

"48px",
"rgba(110,118,129,0.3)"
"rgba(72,79,88,0.3)"
],

@@ -198,3 +198,3 @@ "highlight": [

"0",
"rgba(255,255,255,0.25)"
"rgba(255,255,255,0.1)"
],

@@ -206,3 +206,3 @@ "inset": [

"0",
"rgba(177,186,196,0.2)"
"rgba(33,38,45,0.2)"
],

@@ -214,3 +214,3 @@ "focus": [

"3px",
"rgba(49,110,205,0.3)"
"rgba(63,135,233,0.3)"
]

@@ -237,31 +237,31 @@ },

"alert": {
"bg": "#a1d3ff",
"border": "rgba(13,65,137,0.2)",
"icon": "rgba(13,65,137,0.6)",
"bg": "#0b2e63",
"border": "rgba(117,187,255,0.2)",
"icon": "rgba(117,187,255,0.6)",
"warn": {
"bg": "#fde15f",
"border": "rgba(155,100,0,0.2)",
"icon": "#9b6400"
"bg": "#9b6400",
"border": "rgba(253,225,95,0.2)",
"icon": "#fde15f"
},
"error": {
"bg": "#ffe3e6",
"border": "rgba(102,6,20,0.2)",
"icon": "rgba(102,6,20,0.6)"
"border": "rgba(255,189,186,0.2)",
"icon": "rgba(255,189,186,0.6)"
},
"success": {
"bg": "#81e38a",
"border": "rgba(20,77,35,0.2)",
"icon": "rgba(20,77,35,0.8)"
"border": "rgba(88,206,101,0.2)",
"icon": "rgba(88,206,101,0.8)"
}
},
"blankslate": {
"icon": "#7a838e"
"icon": "#535c66"
},
"btn": {
"bg": "#f0f6fc",
"border": "rgba(13,17,23,0.15)",
"text": "#0d1117",
"ic": "#484f58",
"bg": "#0d1117",
"border": "rgba(255,255,255,0.15)",
"text": "#f0f6fc",
"ic": "#6e7681",
"bgHover": "#f3f4f6",
"bgActive": "#edeff2",
"bgActive": "#f9f9fa",
"shadowActive": [

@@ -321,3 +321,3 @@ "inset",

"inverseOnHover": {
"border": "rgba(13,17,23,0.15)",
"border": "rgba(255,255,255,0.15)",
"shadow": [

@@ -339,6 +339,6 @@ "0",

"danger": {
"text": "#d13339",
"textDisabled": "rgba(209,51,57,0.5)",
"bgHover": "#ac212b",
"bgActive": "#9f1f28",
"text": "#ed4e50",
"textDisabled": "rgba(237,78,80,0.5)",
"bgHover": "#ff7170",
"bgActive": "#ff6261",
"shadow": [

@@ -362,6 +362,6 @@ "inset",

"outline": {
"text": "#316ecd",
"textDisabled": "rgba(49,110,205,0.5)",
"bgHover": "#316ecd",
"bgActive": "#2e67c1",
"text": "#3f87e9",
"textDisabled": "rgba(63,135,233,0.5)",
"bgHover": "#54a2fb",
"bgActive": "#459afb",
"shadow": [

@@ -387,14 +387,14 @@ "inset",

"counter": {
"text": "#0d1117",
"bg": "rgba(139,148,158,0.5)",
"text": "#f0f6fc",
"bg": "rgba(48,54,61,0.5)",
"border": "rgba(209,213,218,0.5)"
},
"topic": {
"tagBg": "#cae8ff",
"tagBorder": "#cae8ff",
"tagText": "#316ecd"
"tagBg": "#061e46",
"tagBorder": "#061e46",
"tagText": "#3f87e9"
},
"input": {
"bg": "#ffffff",
"contrastBg": "#f0f6fc",
"bg": "#0d1117",
"contrastBg": "#0d1117",
"shadow": [

@@ -405,3 +405,3 @@ "inset",

"2px",
"rgba(13,17,23,0.075)"
"rgba(255,255,255,0.075)"
],

@@ -417,5 +417,5 @@ "shadowFocus": [

"avatar": {
"border": "rgba(13,17,23,0.1)",
"stackFade": "#8b949e",
"stackFadeMore": "#b1bac4",
"border": "rgba(255,255,255,0.1)",
"stackFade": "#30363d",
"stackFadeMore": "#21262d",
"childShadow": [

@@ -429,9 +429,9 @@ "-2px",

"toast": {
"icBgLoading": "#30363d"
"icBgLoading": "#8b949e"
},
"timeline": {
"text": "#21262d",
"badgeBg": "#b1bac4",
"targetBadgeBorder": "#3f87e9",
"targetBadgeShadow": "#75bbff"
"text": "#b1bac4",
"badgeBg": "#21262d",
"targetBadgeBorder": "#316ecd",
"targetBadgeShadow": "#0d4189"
},

@@ -446,7 +446,7 @@ "selectMenu": {

],
"tapHighlight": "rgba(139,148,158,0.5)",
"tapFocusBg": "#a1d3ff"
"tapHighlight": "rgba(48,54,61,0.5)",
"tapFocusBg": "#0b2e63"
},
"box": {
"blueBorder": "#75bbff"
"blueBorder": "#0d4189"
},

@@ -460,12 +460,12 @@ "dropdown": {

"branchName": {
"text": "rgba(13,17,23,0.6)",
"bg": "#b0daff",
"icon": "#91a6be"
"text": "rgba(255,255,255,0.6)",
"bg": "#0d3471",
"icon": "#676767"
},
"markdown": {
"codeBg": "rgba(13,17,23,0.05)",
"frameBorder": "#99a1aa",
"blockquoteBorder": "#99a1aa",
"tableBorder": "#99a1aa",
"tableTrBorder": "#808a95"
"codeBg": "rgba(255,255,255,0.05)",
"frameBorder": "#3b434b",
"blockquoteBorder": "#3b434b",
"tableBorder": "#3b434b",
"tableTrBorder": "#272c32"
},

@@ -476,30 +476,30 @@ "header": {

"filterItem": {
"barBg": "#cfd8e1"
"barBg": "#12161c"
},
"hiddenTextExpander": {
"bg": "#99a1aa",
"bgHover": "#808a95"
"bg": "#3b434b",
"bgHover": "#272c32"
},
"dragAndDrop": {
"border": "#7d8792"
"border": "#25292f"
},
"uploadEnabled": {
"border": "#99a1aa",
"borderFocused": "#649eed"
"border": "#3b434b",
"borderFocused": "#5185d5"
},
"previewableCommentForm": {
"border": "#7d8792"
"border": "#25292f"
},
"icFolder": "#54a2fb",
"hlAuthorBg": "#cae8ff",
"hlAuthorBorder": "#75bbff",
"logoSubdued": "#8b949e",
"discussionBorder": "#6a856f",
"icFolder": "#2456aa",
"hlAuthorBg": "#061e46",
"hlAuthorBorder": "#0d4189",
"logoSubdued": "#30363d",
"discussionBorder": "#354c3a",
"diff": {
"neutralBg": "#8b949e",
"deletionBg": "#ac212b",
"neutralBg": "#30363d",
"deletionBg": "#ff7170",
"deletionBgStrong": "#ffffff",
"deletionBorder": "#ffffff",
"deletionBorderStrong": "#ffffff",
"additionBg": "#29863a",
"additionBg": "#1e6c2d",
"additionBgStrong": "#ffffff",

@@ -510,7 +510,7 @@ "additionBorder": "#ffffff",

"globalNav": {
"logo": "#ffffff",
"bg": "#0d1117",
"text": "#ffffff",
"inputBg": "#f0f6fc",
"inputBorder": "#f0f6fc",
"logo": "#0d1117",
"bg": "#f0f6fc",
"text": "#0d1117",
"inputBg": "#0d1117",
"inputBorder": "#0d1117",
"inputIc": "#ffffff",

@@ -517,0 +517,0 @@ "inputPlaceholder": "#ffffff"

@@ -106,4 +106,4 @@ export default {

"tertiary": "#6a737d",
"placeholder": "#d1d5da",
"disabled": "#d1d5da",
"placeholder": "#6a737d",
"disabled": "#6a737d",
"inverse": "#ffffff",

@@ -113,3 +113,3 @@ "linkPrimary": "#0366d6",

"linkTertiary": "#586069",
"danger": "#d73a49",
"danger": "#cb2431",
"success": "#22863a",

@@ -143,4 +143,4 @@ "warning": "#b08800"

"danger": "#d73a49",
"success": "#28a745",
"warning": "#dbab09"
"success": "#34d058",
"warning": "#f9c513"
},

@@ -155,5 +155,5 @@ "bg": {

"selected": "#0366d6",
"info": "#dbedff",
"info": "#f1f8ff",
"infoInverse": "#0366d6",
"danger": "#ffdce0",
"danger": "#ffeef0",
"dangerInverse": "#d73a49",

@@ -163,3 +163,3 @@ "success": "#dcffe4",

"warning": "#fff5b1",
"warningInverse": "#dbab09"
"warningInverse": "#f9c513"
},

@@ -166,0 +166,0 @@ "shadow": {

{
"name": "@primer/primitives",
"version": "0.0.0-47e6716",
"version": "0.0.0-4982aaf",
"description": "Typography, spacing, and color primitives for Primer design system",

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

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