Skip to content

Commit

Permalink
Replaced fetch() by 'material-colors-object' module
Browse files Browse the repository at this point in the history
  • Loading branch information
amercier committed Aug 4, 2018
1 parent 78e514f commit 49baf13
Show file tree
Hide file tree
Showing 13 changed files with 99 additions and 167 deletions.
28 changes: 14 additions & 14 deletions dist/colors.css
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,20 @@
.stroke-blue-grey-900 { stroke: #263238; }


.color-black { color: #000000; }
.bg-black { background-color: #000000; }
.border-black { border-color: #000000; }
.fill-black { fill: #000000; }
.stroke-black { stroke: #000000; }


.color-white { color: #ffffff; }
.bg-white { background-color: #ffffff; }
.border-white { border-color: #ffffff; }
.fill-white { fill: #ffffff; }
.stroke-white { stroke: #ffffff; }


.color-dark-text-primary { color: rgba(0, 0, 0, 0.87); }
.bg-dark-text-primary { background-color: rgba(0, 0, 0, 0.87); }
.border-dark-text-primary { border-color: rgba(0, 0, 0, 0.87); }
Expand Down Expand Up @@ -1374,18 +1388,4 @@
.stroke-light-icons-inactive { stroke: rgba(255, 255, 255, 0.5); }


.color-white { color: #ffffff; }
.bg-white { background-color: #ffffff; }
.border-white { border-color: #ffffff; }
.fill-white { fill: #ffffff; }
.stroke-white { stroke: #ffffff; }


.color-black { color: #000000; }
.bg-black { background-color: #000000; }
.border-black { border-color: #000000; }
.fill-black { fill: #000000; }
.stroke-black { stroke: #000000; }



10 changes: 5 additions & 5 deletions dist/colors.es2015.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ export var deepOrange = {"50":"#fbe9e7","100":"#ffccbc","200":"#ffab91","300":"#
export var brown = {"50":"#efebe9","100":"#d7ccc8","200":"#bcaaa4","300":"#a1887f","400":"#8d6e63","500":"#795548","600":"#6d4c41","700":"#5d4037","800":"#4e342e","900":"#3e2723"};
export var grey = {"50":"#fafafa","100":"#f5f5f5","200":"#eeeeee","300":"#e0e0e0","400":"#bdbdbd","500":"#9e9e9e","600":"#757575","700":"#616161","800":"#424242","900":"#212121"};
export var blueGrey = {"50":"#eceff1","100":"#cfd8dc","200":"#b0bec5","300":"#90a4ae","400":"#78909c","500":"#607d8b","600":"#546e7a","700":"#455a64","800":"#37474f","900":"#263238"};
export var black = "#000000";
export var white = "#ffffff";
export var darkText = {"primary":"rgba(0, 0, 0, 0.87)","secondary":"rgba(0, 0, 0, 0.54)","disabled":"rgba(0, 0, 0, 0.38)","dividers":"rgba(0, 0, 0, 0.12)"};
export var lightText = {"primary":"rgba(255, 255, 255, 1)","secondary":"rgba(255, 255, 255, 0.7)","disabled":"rgba(255, 255, 255, 0.5)","dividers":"rgba(255, 255, 255, 0.12)"};
export var darkIcons = {"active":"rgba(0, 0, 0, 0.54)","inactive":"rgba(0, 0, 0, 0.38)"};
export var lightIcons = {"active":"rgba(255, 255, 255, 1)","inactive":"rgba(255, 255, 255, 0.5)"};
export var white = "#ffffff";
export var black = "#000000";

export default {
red: red,
Expand All @@ -44,10 +44,10 @@ export default {
brown: brown,
grey: grey,
blueGrey: blueGrey,
black: black,
white: white,
darkText: darkText,
lightText: lightText,
darkIcons: darkIcons,
lightIcons: lightIcons,
white: white,
black: black
lightIcons: lightIcons
};
2 changes: 1 addition & 1 deletion dist/colors.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/colors.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@
"800": "#37474f",
"900": "#263238"
},
"black": "#000000",
"white": "#ffffff",
"dark-text": {
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
Expand All @@ -310,7 +312,5 @@
"light-icons": {
"active": "rgba(255, 255, 255, 1)",
"inactive": "rgba(255, 255, 255, 0.5)"
},
"white": "#ffffff",
"black": "#000000"
}
}
8 changes: 4 additions & 4 deletions dist/colors.less
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,10 @@
@md-blue-grey-800: #37474f;
@md-blue-grey-900: #263238;

@md-black: #000000;

@md-white: #ffffff;

@md-dark-text-primary: rgba(0, 0, 0, 0.87);
@md-dark-text-secondary: rgba(0, 0, 0, 0.54);
@md-dark-text-disabled: rgba(0, 0, 0, 0.38);
Expand All @@ -287,8 +291,4 @@
@md-light-icons-active: rgba(255, 255, 255, 1);
@md-light-icons-inactive: rgba(255, 255, 255, 0.5);

@md-white: #ffffff;

@md-black: #000000;


8 changes: 4 additions & 4 deletions dist/colors.sass
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,10 @@ $md-blue-grey-700: #455a64
$md-blue-grey-800: #37474f
$md-blue-grey-900: #263238

$md-black: #000000

$md-white: #ffffff

$md-dark-text-primary: rgba(0, 0, 0, 0.87)
$md-dark-text-secondary: rgba(0, 0, 0, 0.54)
$md-dark-text-disabled: rgba(0, 0, 0, 0.38)
Expand All @@ -287,8 +291,4 @@ $md-dark-icons-inactive: rgba(0, 0, 0, 0.38)
$md-light-icons-active: rgba(255, 255, 255, 1)
$md-light-icons-inactive: rgba(255, 255, 255, 0.5)

$md-white: #ffffff

$md-black: #000000


8 changes: 4 additions & 4 deletions dist/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,10 @@ $md-blue-grey-700: #455a64;
$md-blue-grey-800: #37474f;
$md-blue-grey-900: #263238;

$md-black: #000000;

$md-white: #ffffff;

$md-dark-text-primary: rgba(0, 0, 0, 0.87);
$md-dark-text-secondary: rgba(0, 0, 0, 0.54);
$md-dark-text-disabled: rgba(0, 0, 0, 0.38);
Expand All @@ -287,8 +291,4 @@ $md-dark-icons-inactive: rgba(0, 0, 0, 0.38);
$md-light-icons-active: rgba(255, 255, 255, 1);
$md-light-icons-inactive: rgba(255, 255, 255, 0.5);

$md-white: #ffffff;

$md-black: #000000;


8 changes: 4 additions & 4 deletions dist/colors.styl
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,10 @@ md-blue-grey-700 = #455a64
md-blue-grey-800 = #37474f
md-blue-grey-900 = #263238

md-black = #000000

md-white = #ffffff

md-dark-text-primary = rgba(0, 0, 0, 0.87)
md-dark-text-secondary = rgba(0, 0, 0, 0.54)
md-dark-text-disabled = rgba(0, 0, 0, 0.38)
Expand All @@ -287,8 +291,4 @@ md-dark-icons-inactive = rgba(0, 0, 0, 0.38)
md-light-icons-active = rgba(255, 255, 255, 1)
md-light-icons-inactive = rgba(255, 255, 255, 0.5)

md-white = #ffffff

md-black = #000000


8 changes: 4 additions & 4 deletions dist/colors.var.css
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@
--md-blue-grey-800: #37474f;
--md-blue-grey-900: #263238;

--md-black: #000000;

--md-white: #ffffff;

--md-dark-text-primary: rgba(0, 0, 0, 0.87);
--md-dark-text-secondary: rgba(0, 0, 0, 0.54);
--md-dark-text-disabled: rgba(0, 0, 0, 0.38);
Expand All @@ -288,9 +292,5 @@
--md-light-icons-active: rgba(255, 255, 255, 1);
--md-light-icons-inactive: rgba(255, 255, 255, 0.5);

--md-white: #ffffff;

--md-black: #000000;


}
22 changes: 22 additions & 0 deletions lib/compat.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"dark-text": {
"primary": "rgba(0, 0, 0, 0.87)",
"secondary": "rgba(0, 0, 0, 0.54)",
"disabled": "rgba(0, 0, 0, 0.38)",
"dividers": "rgba(0, 0, 0, 0.12)"
},
"light-text": {
"primary": "rgba(255, 255, 255, 1)",
"secondary": "rgba(255, 255, 255, 0.7)",
"disabled": "rgba(255, 255, 255, 0.5)",
"dividers": "rgba(255, 255, 255, 0.12)"
},
"dark-icons": {
"active": "rgba(0, 0, 0, 0.54)",
"inactive": "rgba(0, 0, 0, 0.38)"
},
"light-icons": {
"active": "rgba(255, 255, 255, 1)",
"inactive": "rgba(255, 255, 255, 0.5)"
}
}
110 changes: 0 additions & 110 deletions lib/fetch.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
},
"license": "ISC",
"devDependencies": {
"cheerio": "^0.22.0",
"grunt": "^1.0.1",
"grunt-cli": "^1.2.0",
"material-colors-object": "^1.0.0",
"rollup": "^0.40.2",
"tape": "^4.6.3",
"tmp": "0.0.31"
Expand Down
Loading

0 comments on commit 49baf13

Please sign in to comment.