@metamask/design-tokens
Advanced tools
Comparing version 1.11.1 to 1.12.0
@@ -14,2 +14,4 @@ /** | ||
alternativePressed: string; | ||
hover: string; | ||
pressed: string; | ||
}; | ||
@@ -109,2 +111,4 @@ text: { | ||
alternativePressed: string; | ||
hover: string; | ||
pressed: string; | ||
}; | ||
@@ -111,0 +115,0 @@ text: { |
@@ -10,7 +10,9 @@ "use strict"; | ||
default: '#24272A', | ||
defaultHover: '#3B4046', | ||
defaultPressed: '#3B4046', | ||
defaultHover: '#282B2E', | ||
defaultPressed: '#36383B', | ||
alternative: '#141618', | ||
alternativeHover: '#2E3339', | ||
alternativePressed: '#2E3339', | ||
alternativeHover: '#191B1D', | ||
alternativePressed: '#27292A', | ||
hover: '#FFFFFF05', | ||
pressed: '#FFFFFF14', | ||
}, | ||
@@ -17,0 +19,0 @@ text: { |
@@ -10,7 +10,9 @@ "use strict"; | ||
default: '#FFFFFF', | ||
defaultHover: '#FAFBFC', | ||
defaultPressed: '#FAFBFC', | ||
defaultHover: '#FAFAFA', | ||
defaultPressed: '#EBEBEB', | ||
alternative: '#F2F4F6', | ||
alternativeHover: '#D6D9DC', | ||
alternativePressed: '#D6D9DC', | ||
alternativeHover: '#EDEFF1', | ||
alternativePressed: '#DFE0E2', | ||
hover: '#00000005', | ||
pressed: '#00000014', | ||
}, | ||
@@ -17,0 +19,0 @@ text: { |
@@ -46,2 +46,10 @@ import { ThemeTypography } from '../typography'; | ||
alternativePressed: string; | ||
/** | ||
* {string} background.hover - For component hover states that don't have a background color | ||
*/ | ||
hover: string; | ||
/** | ||
* {string} background.pressed - For component pressed states that don't have a background color | ||
*/ | ||
pressed: string; | ||
}; | ||
@@ -48,0 +56,0 @@ text: { |
@@ -16,6 +16,9 @@ interface TypeStyle { | ||
sBodyMD: TypeStyle; | ||
sBodyMDMedium: TypeStyle; | ||
sBodyMDBold: TypeStyle; | ||
sBodySM: TypeStyle; | ||
sBodySMMedium: TypeStyle; | ||
sBodySMBold: TypeStyle; | ||
sBodyXS: TypeStyle; | ||
sBodyXSMedium: TypeStyle; | ||
lDisplayMD: TypeStyle; | ||
@@ -28,7 +31,10 @@ lHeadingLG: TypeStyle; | ||
lBodyMD: TypeStyle; | ||
lBodyMDMedium: TypeStyle; | ||
lBodyMDBold: TypeStyle; | ||
lBodySM: TypeStyle; | ||
lBodySMMedium: TypeStyle; | ||
lBodySMBold: TypeStyle; | ||
lBodyXS: TypeStyle; | ||
lBodyXSMedium: TypeStyle; | ||
} | ||
export {}; |
@@ -64,2 +64,9 @@ "use strict"; | ||
}, | ||
sBodyMDMedium: { | ||
fontFamily: fontFamilies_1.fontFamilies.euclidCircularB, | ||
fontWeight: fontWeights_1.fontWeights.medium, | ||
fontSize: fontSizes_1.fontSizes.fontSize3, | ||
lineHeight: lineHeights_1.lineHeights.lineHeight3, | ||
letterSpacing: letterSpacing_1.letterSpacing.letterSpacing0, | ||
}, | ||
sBodyMDBold: { | ||
@@ -79,2 +86,9 @@ fontFamily: fontFamilies_1.fontFamilies.euclidCircularB, | ||
}, | ||
sBodySMMedium: { | ||
fontFamily: fontFamilies_1.fontFamilies.euclidCircularB, | ||
fontWeight: fontWeights_1.fontWeights.medium, | ||
fontSize: fontSizes_1.fontSizes.fontSize2, | ||
lineHeight: lineHeights_1.lineHeights.lineHeight2, | ||
letterSpacing: letterSpacing_1.letterSpacing.letterSpacing0, | ||
}, | ||
sBodySMBold: { | ||
@@ -94,2 +108,9 @@ fontFamily: fontFamilies_1.fontFamilies.euclidCircularB, | ||
}, | ||
sBodyXSMedium: { | ||
fontFamily: fontFamilies_1.fontFamilies.euclidCircularB, | ||
fontWeight: fontWeights_1.fontWeights.medium, | ||
fontSize: fontSizes_1.fontSizes.fontSize1, | ||
lineHeight: lineHeights_1.lineHeights.lineHeight1, | ||
letterSpacing: letterSpacing_1.letterSpacing.letterSpacing1, | ||
}, | ||
lDisplayMD: { | ||
@@ -148,2 +169,9 @@ fontFamily: fontFamilies_1.fontFamilies.euclidCircularB, | ||
}, | ||
lBodyMDMedium: { | ||
fontFamily: fontFamilies_1.fontFamilies.euclidCircularB, | ||
fontWeight: fontWeights_1.fontWeights.medium, | ||
fontSize: fontSizes_1.fontSizes.fontSize4, | ||
lineHeight: lineHeights_1.lineHeights.lineHeight4, | ||
letterSpacing: letterSpacing_1.letterSpacing.letterSpacing0, | ||
}, | ||
lBodyMDBold: { | ||
@@ -163,2 +191,9 @@ fontFamily: fontFamilies_1.fontFamilies.euclidCircularB, | ||
}, | ||
lBodySMMedium: { | ||
fontFamily: fontFamilies_1.fontFamilies.euclidCircularB, | ||
fontWeight: fontWeights_1.fontWeights.medium, | ||
fontSize: fontSizes_1.fontSizes.fontSize3, | ||
lineHeight: lineHeights_1.lineHeights.lineHeight3, | ||
letterSpacing: letterSpacing_1.letterSpacing.letterSpacing0, | ||
}, | ||
lBodySMBold: { | ||
@@ -178,3 +213,10 @@ fontFamily: fontFamilies_1.fontFamilies.euclidCircularB, | ||
}, | ||
lBodyXSMedium: { | ||
fontFamily: fontFamilies_1.fontFamilies.euclidCircularB, | ||
fontWeight: fontWeights_1.fontWeights.medium, | ||
fontSize: fontSizes_1.fontSizes.fontSize2, | ||
lineHeight: lineHeights_1.lineHeights.lineHeight2, | ||
letterSpacing: letterSpacing_1.letterSpacing.letterSpacing1, | ||
}, | ||
}; | ||
//# sourceMappingURL=typography.js.map |
{ | ||
"name": "@metamask/design-tokens", | ||
"version": "1.11.1", | ||
"version": "1.12.0", | ||
"description": "Design tokens to be used throughout MetaMask products.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
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
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
113476
1637