From 3158236eb7934f6a3f04d613a08ff90f91bd0c5b Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Wed, 10 Jan 2018 16:30:23 +0000 Subject: [PATCH] Use Font Awesome 5 --- docs/_config.yml | 7 -- docs/_data/icons.json | 7 ++ docs/_includes/blog-hero.html | 2 +- docs/_includes/elements/tw-button.html | 2 +- docs/_includes/examples/navbar-bottom.html | 4 +- docs/_includes/examples/navbar-color.html | 4 +- docs/_includes/examples/navbar.html | 4 +- docs/_includes/features.html | 36 +++---- docs/_includes/footer.html | 2 +- docs/_includes/getting-started.html | 2 +- docs/_includes/head.html | 12 ++- docs/_includes/header.html | 8 +- docs/_includes/navbar.html | 12 +-- docs/_includes/pro.html | 2 +- docs/_javascript/main.js | 2 +- docs/_javascript/navbar.js | 4 +- docs/_layouts/post.html | 2 +- docs/_posts/2017-03-10-new-field-element.md | 12 +-- docs/_posts/2017-11-14-bulma-is-on-patreon.md | 3 +- docs/_sass/route.sass | 3 +- docs/_sass/specific.sass | 3 +- docs/alternative-to-bootstrap.html | 20 ++-- docs/blog.html | 2 +- docs/css/bulma-docs.css | 10 +- docs/documentation/components/breadcrumb.html | 10 +- docs/documentation/components/card.html | 2 +- docs/documentation/components/dropdown.html | 14 +-- docs/documentation/components/modal.html | 8 +- docs/documentation/components/nav.html | 6 +- docs/documentation/components/navbar.html | 6 +- docs/documentation/components/panel.html | 14 +-- docs/documentation/components/tabs.html | 70 ++++++------ docs/documentation/elements/box.html | 6 +- docs/documentation/elements/button.html | 58 +++++----- docs/documentation/elements/icon.html | 1 + docs/documentation/form/file.html | 56 +++++----- docs/documentation/form/general.html | 100 +++++++++--------- docs/documentation/form/input.html | 22 ++-- docs/documentation/form/select.html | 10 +- docs/documentation/layout/hero.html | 6 +- docs/documentation/layout/media-object.html | 12 +-- docs/expo.html | 2 +- docs/index.html | 36 +++---- 43 files changed, 303 insertions(+), 301 deletions(-) create mode 100644 docs/_data/icons.json diff --git a/docs/_config.yml b/docs/_config.yml index 4563032d..11cc38bf 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -11,13 +11,6 @@ permalink: pretty url: https://bulma.io exclude: ['icons', 'node_modules', 'templates', '.babelrc', 'bulma-docs.sass', 'docker-compose.yml', 'package.json', 'yarn.lock'] -# Icons - -fontawesome: https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css -iconic: https://cdnjs.cloudflare.com/ajax/libs/open-iconic/1.1.1/font/css/open-iconic.min.css -ionicons: https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css -mdi: https://cdn.materialdesignicons.com/2.0.46/css/materialdesignicons.min.css - # Variables documentation: "/documentation/overview/start/" diff --git a/docs/_data/icons.json b/docs/_data/icons.json new file mode 100644 index 00000000..01beb2da --- /dev/null +++ b/docs/_data/icons.json @@ -0,0 +1,7 @@ +{ + "fontawesome4": "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css", + "fontawesome5": "https://use.fontawesome.com/releases/v5.0.0/js/all.js", + "iconic": "https://cdnjs.cloudflare.com/ajax/libs/open-iconic/1.1.1/font/css/open-iconic.min.css", + "ionicons": "https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css", + "mdi": "https://cdn.materialdesignicons.com/2.0.46/css/materialdesignicons.min.css" +} \ No newline at end of file diff --git a/docs/_includes/blog-hero.html b/docs/_includes/blog-hero.html index 30b95960..3a49c3c5 100644 --- a/docs/_includes/blog-hero.html +++ b/docs/_includes/blog-hero.html @@ -13,7 +13,7 @@

- + Subscribe diff --git a/docs/_includes/elements/tw-button.html b/docs/_includes/elements/tw-button.html index 8c44a072..4e1b89a8 100644 --- a/docs/_includes/elements/tw-button.html +++ b/docs/_includes/elements/tw-button.html @@ -5,7 +5,7 @@ target="_blank" href="https://twitter.com/intent/tweet?text={{ site.title | urlencode }}&hashtags=bulmaio&url={{ site.url }}&via=jgthms"> - + {{ include.label }} diff --git a/docs/_includes/examples/navbar-bottom.html b/docs/_includes/examples/navbar-bottom.html index c162d727..2b0973e5 100644 --- a/docs/_includes/examples/navbar-bottom.html +++ b/docs/_includes/examples/navbar-bottom.html @@ -52,7 +52,7 @@

- + Tweet @@ -62,7 +62,7 @@

- + Download diff --git a/docs/_includes/examples/navbar-color.html b/docs/_includes/examples/navbar-color.html index 7d7ba075..039c51e7 100644 --- a/docs/_includes/examples/navbar-color.html +++ b/docs/_includes/examples/navbar-color.html @@ -56,7 +56,7 @@

- + Tweet @@ -66,7 +66,7 @@

- + Download diff --git a/docs/_includes/examples/navbar.html b/docs/_includes/examples/navbar.html index b29c7191..42a104cc 100644 --- a/docs/_includes/examples/navbar.html +++ b/docs/_includes/examples/navbar.html @@ -52,7 +52,7 @@

- + Tweet @@ -62,7 +62,7 @@

- + Download diff --git a/docs/_includes/features.html b/docs/_includes/features.html index fd7c0bc2..95c8e0bf 100644 --- a/docs/_includes/features.html +++ b/docs/_includes/features.html @@ -65,13 +65,13 @@

@@ -192,7 +192,7 @@ Dropdown button - + @@ -270,7 +270,7 @@

- +

@@ -283,37 +283,37 @@

- + bulma - + marksheet - + minireset.css - + jgthms.github.io - + daniellowtw/infBoard - + mojs @@ -334,25 +334,25 @@