@tlon/indigo-tokens
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -138,3 +138,5 @@ 'use strict'; | ||
_extends({ | ||
colors: { | ||
colors: | ||
/*#__PURE__*/ | ||
_extends({}, colors, { | ||
// Black, white, grays | ||
@@ -196,3 +198,3 @@ black: colors.white, | ||
none: 'rgba(0,0,0,0)' | ||
} | ||
}) | ||
}, core); | ||
@@ -199,0 +201,0 @@ |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=(e=require("styled-components"))&&"object"==typeof e&&"default"in e?e.default:e;function l(){return(l=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var y in l)Object.prototype.hasOwnProperty.call(l,y)&&(e[y]=l[y])}return e}).apply(this,arguments)}var y={black:"#000000",white:"#FFFFFF",gray8:"#222222",gray7:"#333333",gray6:"#555555",gray5:"#808080",gray4:"#999999",gray3:"#AAAAAA",gray2:"#CCCCCC",gray1:"#EEEEEE",gray0:"#F4F4F4",gray:"#808080",red8:"#C2111B",red7:"#D12228",red6:"#DE2A2F",red5:"#FF4036",red4:"#F95251",red3:"#ED7374",red2:"#F59B9B",red1:"#FFCED3",red0:"#FFEBEF",red:"#FF4036",yellow8:"#FF6800",yellow7:"#FF8A00",yellow6:"#FF9C00",yellow5:"#FFBE00",yellow4:"#FFC800",yellow3:"#FFD342",yellow2:"#FFDF7B",yellow1:"#FFEBAF",yellow0:"#FFF8DF",yellow:"#FFC800",green8:"#005C37",green7:"#007C4C",green6:"#008D58",green5:"#0AAE6F",green4:"#45BA85",green3:"#6AC69A",green2:"#97D6B6",green1:"#C0E6D2",green0:"#E5F5ED",green:"#0AAE6F",blue8:"#0B3DA8",blue7:"#005CC9",blue6:"#006EDB",blue5:"#008EFE",blue4:"#289EFF",blue3:"#56AFFE",blue2:"#89C6FF",blue1:"#B8DCFF",blue0:"#E2F1FF",blue:"#289EFF",purple8:"#4110CF",purple7:"#5B08EA",purple6:"#6C15EF",purple5:"#8928FF",purple4:"#9D52FF",purple3:"#B176FF",purple2:"#C8A0FF",purple1:"#DEC7FF",purple0:"#F3E8FF",purple:"#9D52FF",cmyk:["#00FFFF","#FF00FF","#FFFF00","#000000"],rgb:["#FF0000","#00FF00","#0000FF"]},g={fonts:{sans:"\"Inter\", \"Inter UI\", -apple-system, BlinkMacSystemFont, 'San Francisco', 'Helvetica Neue', Arial, sans-serif",mono:'"Source Code Pro", "Roboto mono", "Courier New", monospace'},fontSizes:[10,11,12,14,16,20,24,32,48,64,72],fontWeights:{thin:300,regular:400,bold:600},lineHeights:{min:1.2,short:1.333333,regular:1.5,tall:1.666666},borders:["none","1px solid"],space:[0,4,8,12,16,20,24,32,48,64,96,160,288,448,736],radii:[0,2,4,6,8,10,12,16,24,32],sizes:[0,4,8,12,16,20,24,32,48,64,96,160,288,448,736],zIndices:[0,1,2,3,4,5,6,7,8,9,10],breakpoints:["768px","1024px","1440px","2200px"]},a=l({colors:{black:y.white,gray8:y.gray0,gray7:y.gray1,gray6:y.gray2,gray5:y.gray3,gray4:y.gray4,gray3:y.gray5,gray2:y.gray6,gray1:y.gray7,gray0:y.gray8,white:y.black,red8:y.red0,red7:y.red1,red6:y.red2,red5:y.red3,red4:y.red4,red3:y.red5,red2:y.red6,red1:y.red7,red0:y.red8,yellow8:y.yellow0,yellow7:y.yellow1,yellow6:y.yellow2,yellow5:y.yellow3,yellow4:y.yellow4,yellow3:y.yellow5,yellow2:y.yellow6,yellow1:y.yellow7,yellow0:y.yellow8,green8:y.green0,green7:y.green1,green6:y.green2,green5:y.green3,green4:y.green4,green3:y.green5,green2:y.green6,green1:y.green7,green0:y.green8,blue8:y.blue0,blue7:y.blue1,blue6:y.blue2,blue5:y.blue3,blue4:y.blue4,blue3:y.blue5,blue2:y.blue6,blue1:y.blue7,blue0:y.blue8,primary:y.blue,caution:y.red,none:"rgba(0,0,0,0)"}},g),F=l({colors:l({},y,{primary:y.blue,caution:y.red,none:"rgba(0,0,0,0)"})},g),o=l({colors:{black:y.white,gray8:y.gray0,gray7:y.gray1,gray6:y.gray2,gray5:y.gray3,gray4:y.gray4,gray3:y.gray5,gray2:y.gray6,gray1:y.gray7,gray0:y.gray8,white:y.black,red2:"#C4FFFC",red1:"#21D5D0",red0:"#001410",yellow2:"#C2E6FF",yellow1:"#0063FF",yellow0:"#000720",green2:"#FFCBDC",green1:"#FF83B3",green0:"#1F0018",blue2:"#FFDC9F",blue1:"#FF9123",blue0:"#1E0E00",primary:y.blue,caution:y.red,none:"rgba(0,0,0,0)"}},g),n=l({colors:l({},y,{black:"#191919",gray8:"#383838",gray7:"#474747",gray6:"#666666",gray5:"#8D8D8D",gray4:"#969696",gray3:"#999999",gray2:"#B8B8B8",gray1:"#D6D6D6",gray0:"#DCDCDC",white:"#E5E5E5",primary:y.blue,caution:y.red,none:"rgba(0,0,0,0)"})},g),u=l({colors:l({},y,{white:"#191919",gray0:"#383838",gray1:"#474747",gray2:"#666666",gray3:"#8D8D8D",gray4:"#969696",gray5:"#999999",gray6:"#B8B8B8",gray7:"#D6D6D6",gray8:"#DCDCDC",black:"#E5E5E5",red8:y.red0,red7:y.red1,red6:y.red2,red5:y.red3,red4:y.red4,red3:y.red5,red2:y.red6,red1:y.red7,red0:y.red8,yellow8:y.yellow0,yellow7:y.yellow1,yellow6:y.yellow2,yellow5:y.yellow3,yellow4:y.yellow4,yellow3:y.yellow5,yellow2:y.yellow6,yellow1:y.yellow7,yellow0:y.yellow8,green8:y.green0,green7:y.green1,green6:y.green2,green5:y.green3,green4:y.green4,green3:y.green5,green2:y.green6,green1:y.green7,green0:y.green8,blue8:y.blue0,blue7:y.blue1,blue6:y.blue2,blue5:y.blue3,blue4:y.blue4,blue3:y.blue5,blue2:y.blue6,blue1:y.blue7,blue0:y.blue8,primary:y.blue,caution:y.red,none:"rgba(0,0,0,0)"})},g),b=r;exports.dark=a,exports.inverted=o,exports.light=F,exports.paperDark=u,exports.paperLight=n,exports.styled=b; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=(e=require("styled-components"))&&"object"==typeof e&&"default"in e?e.default:e;function l(){return(l=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var l=arguments[r];for(var y in l)Object.prototype.hasOwnProperty.call(l,y)&&(e[y]=l[y])}return e}).apply(this,arguments)}var y={black:"#000000",white:"#FFFFFF",gray8:"#222222",gray7:"#333333",gray6:"#555555",gray5:"#808080",gray4:"#999999",gray3:"#AAAAAA",gray2:"#CCCCCC",gray1:"#EEEEEE",gray0:"#F4F4F4",gray:"#808080",red8:"#C2111B",red7:"#D12228",red6:"#DE2A2F",red5:"#FF4036",red4:"#F95251",red3:"#ED7374",red2:"#F59B9B",red1:"#FFCED3",red0:"#FFEBEF",red:"#FF4036",yellow8:"#FF6800",yellow7:"#FF8A00",yellow6:"#FF9C00",yellow5:"#FFBE00",yellow4:"#FFC800",yellow3:"#FFD342",yellow2:"#FFDF7B",yellow1:"#FFEBAF",yellow0:"#FFF8DF",yellow:"#FFC800",green8:"#005C37",green7:"#007C4C",green6:"#008D58",green5:"#0AAE6F",green4:"#45BA85",green3:"#6AC69A",green2:"#97D6B6",green1:"#C0E6D2",green0:"#E5F5ED",green:"#0AAE6F",blue8:"#0B3DA8",blue7:"#005CC9",blue6:"#006EDB",blue5:"#008EFE",blue4:"#289EFF",blue3:"#56AFFE",blue2:"#89C6FF",blue1:"#B8DCFF",blue0:"#E2F1FF",blue:"#289EFF",purple8:"#4110CF",purple7:"#5B08EA",purple6:"#6C15EF",purple5:"#8928FF",purple4:"#9D52FF",purple3:"#B176FF",purple2:"#C8A0FF",purple1:"#DEC7FF",purple0:"#F3E8FF",purple:"#9D52FF",cmyk:["#00FFFF","#FF00FF","#FFFF00","#000000"],rgb:["#FF0000","#00FF00","#0000FF"]},g={fonts:{sans:"\"Inter\", \"Inter UI\", -apple-system, BlinkMacSystemFont, 'San Francisco', 'Helvetica Neue', Arial, sans-serif",mono:'"Source Code Pro", "Roboto mono", "Courier New", monospace'},fontSizes:[10,11,12,14,16,20,24,32,48,64,72],fontWeights:{thin:300,regular:400,bold:600},lineHeights:{min:1.2,short:1.333333,regular:1.5,tall:1.666666},borders:["none","1px solid"],space:[0,4,8,12,16,20,24,32,48,64,96,160,288,448,736],radii:[0,2,4,6,8,10,12,16,24,32],sizes:[0,4,8,12,16,20,24,32,48,64,96,160,288,448,736],zIndices:[0,1,2,3,4,5,6,7,8,9,10],breakpoints:["768px","1024px","1440px","2200px"]},a=l({colors:l({},y,{black:y.white,gray8:y.gray0,gray7:y.gray1,gray6:y.gray2,gray5:y.gray3,gray4:y.gray4,gray3:y.gray5,gray2:y.gray6,gray1:y.gray7,gray0:y.gray8,white:y.black,red8:y.red0,red7:y.red1,red6:y.red2,red5:y.red3,red4:y.red4,red3:y.red5,red2:y.red6,red1:y.red7,red0:y.red8,yellow8:y.yellow0,yellow7:y.yellow1,yellow6:y.yellow2,yellow5:y.yellow3,yellow4:y.yellow4,yellow3:y.yellow5,yellow2:y.yellow6,yellow1:y.yellow7,yellow0:y.yellow8,green8:y.green0,green7:y.green1,green6:y.green2,green5:y.green3,green4:y.green4,green3:y.green5,green2:y.green6,green1:y.green7,green0:y.green8,blue8:y.blue0,blue7:y.blue1,blue6:y.blue2,blue5:y.blue3,blue4:y.blue4,blue3:y.blue5,blue2:y.blue6,blue1:y.blue7,blue0:y.blue8,primary:y.blue,caution:y.red,none:"rgba(0,0,0,0)"})},g),F=l({colors:l({},y,{primary:y.blue,caution:y.red,none:"rgba(0,0,0,0)"})},g),o=l({colors:{black:y.white,gray8:y.gray0,gray7:y.gray1,gray6:y.gray2,gray5:y.gray3,gray4:y.gray4,gray3:y.gray5,gray2:y.gray6,gray1:y.gray7,gray0:y.gray8,white:y.black,red2:"#C4FFFC",red1:"#21D5D0",red0:"#001410",yellow2:"#C2E6FF",yellow1:"#0063FF",yellow0:"#000720",green2:"#FFCBDC",green1:"#FF83B3",green0:"#1F0018",blue2:"#FFDC9F",blue1:"#FF9123",blue0:"#1E0E00",primary:y.blue,caution:y.red,none:"rgba(0,0,0,0)"}},g),n=l({colors:l({},y,{black:"#191919",gray8:"#383838",gray7:"#474747",gray6:"#666666",gray5:"#8D8D8D",gray4:"#969696",gray3:"#999999",gray2:"#B8B8B8",gray1:"#D6D6D6",gray0:"#DCDCDC",white:"#E5E5E5",primary:y.blue,caution:y.red,none:"rgba(0,0,0,0)"})},g),u=l({colors:l({},y,{white:"#191919",gray0:"#383838",gray1:"#474747",gray2:"#666666",gray3:"#8D8D8D",gray4:"#969696",gray5:"#999999",gray6:"#B8B8B8",gray7:"#D6D6D6",gray8:"#DCDCDC",black:"#E5E5E5",red8:y.red0,red7:y.red1,red6:y.red2,red5:y.red3,red4:y.red4,red3:y.red5,red2:y.red6,red1:y.red7,red0:y.red8,yellow8:y.yellow0,yellow7:y.yellow1,yellow6:y.yellow2,yellow5:y.yellow3,yellow4:y.yellow4,yellow3:y.yellow5,yellow2:y.yellow6,yellow1:y.yellow7,yellow0:y.yellow8,green8:y.green0,green7:y.green1,green6:y.green2,green5:y.green3,green4:y.green4,green3:y.green5,green2:y.green6,green1:y.green7,green0:y.green8,blue8:y.blue0,blue7:y.blue1,blue6:y.blue2,blue5:y.blue3,blue4:y.blue4,blue3:y.blue5,blue2:y.blue6,blue1:y.blue7,blue0:y.blue8,primary:y.blue,caution:y.red,none:"rgba(0,0,0,0)"})},g),b=r;exports.dark=a,exports.inverted=o,exports.light=F,exports.paperDark=u,exports.paperLight=n,exports.styled=b; | ||
//# sourceMappingURL=indigo-tokens.cjs.production.min.js.map |
@@ -132,3 +132,5 @@ import baseStyled from 'styled-components'; | ||
_extends({ | ||
colors: { | ||
colors: | ||
/*#__PURE__*/ | ||
_extends({}, colors, { | ||
// Black, white, grays | ||
@@ -190,3 +192,3 @@ black: colors.white, | ||
none: 'rgba(0,0,0,0)' | ||
} | ||
}) | ||
}, core); | ||
@@ -193,0 +195,0 @@ |
@@ -75,4 +75,21 @@ declare const theme: { | ||
none: string; | ||
gray: string; | ||
red: string; | ||
yellow: string; | ||
green: string; | ||
blue: string; | ||
purple8: string; | ||
purple7: string; | ||
purple6: string; | ||
purple5: string; | ||
purple4: string; | ||
purple3: string; | ||
purple2: string; | ||
purple1: string; | ||
purple0: string; | ||
purple: string; | ||
cmyk: string[]; | ||
rgb: string[]; | ||
}; | ||
}; | ||
export default theme; |
{ | ||
"name": "@tlon/indigo-tokens", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Tlon's design language", | ||
@@ -5,0 +5,0 @@ "author": "tlon", |
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
89265
1306