@bgord/design 0.24.0 → 0.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { GeneratorInterface, GeneratorConfigType } from './generator';
2
2
  export declare class BackgroundsGenerator implements GeneratorInterface {
3
- colors: GeneratorConfigType['colors'];
3
+ colors: GeneratorConfigType['grayscale'];
4
4
  constructor(config: GeneratorConfigType);
5
5
  generateHeader(): string;
6
6
  generateCss(): string;
@@ -1586,7 +1586,7 @@ var FlexDirectionsGenerator = /*#__PURE__*/function () {
1586
1586
 
1587
1587
  var BackgroundsGenerator = /*#__PURE__*/function () {
1588
1588
  function BackgroundsGenerator(config) {
1589
- this.colors = config.colors;
1589
+ this.colors = _extends({}, config.grayscale, config.greens, config.reds, config.oranges);
1590
1590
  }
1591
1591
 
1592
1592
  var _proto = BackgroundsGenerator.prototype;
@@ -1617,7 +1617,7 @@ var BackgroundsGenerator = /*#__PURE__*/function () {
1617
1617
 
1618
1618
  var FontColorsGenerator = /*#__PURE__*/function () {
1619
1619
  function FontColorsGenerator(config) {
1620
- this.colors = config.colors;
1620
+ this.colors = _extends({}, config.grayscale, config.greens, config.reds, config.oranges);
1621
1621
  }
1622
1622
 
1623
1623
  var _proto = FontColorsGenerator.prototype;
@@ -1967,7 +1967,7 @@ var FlexDirections = {
1967
1967
  column: 'column',
1968
1968
  'column-reverse': 'column-reverse'
1969
1969
  };
1970
- var Colors = {
1970
+ var Grayscale = {
1971
1971
  white: '#F9FAFB',
1972
1972
  'gray-100': '#F3F4F6',
1973
1973
  'gray-200': '#E5E7EB',
@@ -1979,6 +1979,36 @@ var Colors = {
1979
1979
  'gray-800': '#1F2937',
1980
1980
  black: '#111827'
1981
1981
  };
1982
+ var Greens = {
1983
+ 'green-100': 'hsl(112, 50%, 85%)',
1984
+ 'green-200': 'hsl(112, 50%, 75%)',
1985
+ 'green-300': 'hsl(112, 50%, 65%)',
1986
+ 'green-400': 'hsl(112, 50%, 55%)',
1987
+ 'green-500': 'hsl(112, 50%, 45%)',
1988
+ 'green-600': 'hsl(112, 50%, 35%)',
1989
+ 'green-700': 'hsl(112, 50%, 25%)',
1990
+ 'green-800': 'hsl(112, 50%, 20%)'
1991
+ };
1992
+ var Reds = {
1993
+ 'red-100': 'hsl(5, 80%, 90%)',
1994
+ 'red-200': 'hsl(5, 80%, 83%)',
1995
+ 'red-300': 'hsl(5, 80%, 72.5%)',
1996
+ 'red-400': 'hsl(5, 80%, 62.5%)',
1997
+ 'red-500': 'hsl(5, 80%, 52.5%)',
1998
+ 'red-600': 'hsl(5, 80%, 42%)',
1999
+ 'red-700': 'hsl(5, 80%, 32.5%)',
2000
+ 'red-800': 'hsl(5, 80%, 22.5%)'
2001
+ };
2002
+ var Oranges = {
2003
+ 'orange-100': 'hsl(25, 88%, 85%)',
2004
+ 'orange-200': 'hsl(25, 88%, 75%)',
2005
+ 'orange-300': 'hsl(25, 88%, 65%)',
2006
+ 'orange-400': 'hsl(25, 88%, 55%)',
2007
+ 'orange-500': 'hsl(25, 88%, 45%)',
2008
+ 'orange-600': 'hsl(25, 88%, 37.5%)',
2009
+ 'orange-700': 'hsl(25, 88%, 27.5%)',
2010
+ 'orange-800': 'hsl(25, 88%, 20%)'
2011
+ };
1982
2012
  var Breakpoints = {
1983
2013
  md: 768
1984
2014
  };
@@ -1999,7 +2029,7 @@ var BorderWidths = {
1999
2029
  '6': 6,
2000
2030
  '12': 12
2001
2031
  };
2002
- var BorderColors = /*#__PURE__*/_extends({}, Colors, {
2032
+ var BorderColors = /*#__PURE__*/_extends({}, Grayscale, {
2003
2033
  transparent: 'transparent'
2004
2034
  });
2005
2035
  var BorderRadiuses = {
@@ -2106,7 +2136,10 @@ function _main() {
2106
2136
  fontWeights: FontWeights,
2107
2137
  lineHeights: LineHeights,
2108
2138
  flexDirections: FlexDirections,
2109
- colors: Colors,
2139
+ grayscale: Grayscale,
2140
+ greens: Greens,
2141
+ reds: Reds,
2142
+ oranges: Oranges,
2110
2143
  breakpoints: Breakpoints,
2111
2144
  letterSpacings: LetterSpacings,
2112
2145
  flexGrows: FlexGrows,