diff --git a/docs/icons.stories.js b/docs/icons.stories.js index 4d0f991..a71b405 100644 --- a/docs/icons.stories.js +++ b/docs/icons.stories.js @@ -11,6 +11,7 @@ stories.add('icon', () => { 'icon twitter': 'icon twitter', 'icon facebook': 'icon facebook', 'icon github': 'icon github', + 'icon google': 'icon google', 'icon youtube': 'icon youtube', 'icon close': 'icon close', 'octocat animate': 'octocat animate', diff --git a/index.html b/index.html index 22be961..c416176 100644 --- a/index.html +++ b/index.html @@ -132,11 +132,12 @@ -
+

Table

- +
+ @@ -145,17 +146,11 @@ + - -
Table Table.is-bordered Table.is-centered
Thou hast had a good morning Thou hast had a good afternoonThou hast had a good night
- - - - - - - + + @@ -201,6 +196,10 @@ + + + + diff --git a/scss/elements/buttons.scss b/scss/elements/buttons.scss index 48bb296..ba4ec01 100644 --- a/scss/elements/buttons.scss +++ b/scss/elements/buttons.scss @@ -153,7 +153,12 @@ } @each $type in $types { &.is-#{nth($type, 1)} { - @include btn-extra-pixelize-style(nth($type, 2), nth($type, 3), nth($type, 4), nth($type, 5)); + @include btn-extra-pixelize-style( + nth($type, 2), + nth($type, 3), + nth($type, 4), + nth($type, 5) + ); } } } diff --git a/scss/icons/google.scss b/scss/icons/google.scss new file mode 100644 index 0000000..d328b1c --- /dev/null +++ b/scss/icons/google.scss @@ -0,0 +1,20 @@ +$icon-google-colors: (#4285f4, #fff, #db4437, #f4b400, #0f9d58); +// prettier-ignore +$icon-google: ( + ( 0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0 ), + ( 2,2,2,2,2,3,3,3,3,3,3,2,2,2,2,2 ), + ( 2,2,2,3,3,3,3,3,3,3,3,3,3,2,2,2 ), + ( 2,2,3,3,3,3,3,3,3,3,3,3,2,2,2,2 ), + ( 2,3,3,3,3,2,2,2,2,2,3,2,2,2,2,2 ), + ( 4,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2 ), + ( 4,4,3,2,2,2,2,2,2,2,2,2,2,2,2,2 ), + ( 4,4,4,2,2,2,2,2,1,1,1,1,1,1,1,2 ), + ( 4,4,4,2,2,2,2,2,1,1,1,1,1,1,1,2 ), + ( 4,4,4,2,2,2,2,2,1,1,1,1,1,1,1,2 ), + ( 4,4,5,2,2,2,2,2,2,2,2,2,1,1,1,2 ), + ( 4,5,5,5,2,2,2,2,2,2,2,1,1,1,1,2 ), + ( 2,5,5,5,5,2,2,2,2,2,5,1,1,1,2,2 ), + ( 2,2,5,5,5,5,5,5,5,5,5,5,1,1,2,2 ), + ( 2,2,2,5,5,5,5,5,5,5,5,5,5,2,2,2 ), + ( 0,2,2,2,2,5,5,5,5,5,5,2,2,2,2,0 ) +); diff --git a/scss/icons/icons.scss b/scss/icons/icons.scss index b225fbe..64b1cf6 100644 --- a/scss/icons/icons.scss +++ b/scss/icons/icons.scss @@ -8,6 +8,7 @@ @import "facebook.scss"; @import "github.scss"; @import "youtube.scss"; +@import "google.scss"; // others @import "close.scss"; @@ -78,6 +79,10 @@ &.youtube::before { @include pixelize($icon-youtube, $icon-youtube-colors, $px); } + + &.google::before { + @include pixelize($icon-google, $icon-google-colors, $px); + } } // default
Table.is-dark.is-bordered
Thou hast had a good morningThou hast had a good afternoon Thou hast had a good night