From: Jeremy Thomas Date: Tue, 10 Apr 2018 21:38:00 +0000 (+0100) Subject: Add documentation icons X-Git-Tag: 0.7.0~1^2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a88b024dcc280fa7c5125a920addf09f622009a6;p=thirdparty%2Fbulma.git Add documentation icons --- diff --git a/docs/_data/icons.json b/docs/_data/icons.json index 72f712f42..b5ed5b53b 100644 --- a/docs/_data/icons.json +++ b/docs/_data/icons.json @@ -1,6 +1,6 @@ { "fontawesome4": "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css", - "fontawesome5": "https://use.fontawesome.com/releases/v5.0.6/js/all.js", + "fontawesome5": "https://use.fontawesome.com/releases/v5.0.7/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.1.19/css/materialdesignicons.min.css" diff --git a/docs/_data/links.json b/docs/_data/links.json index 962d6c72f..cddf5800f 100644 --- a/docs/_data/links.json +++ b/docs/_data/links.json @@ -12,6 +12,8 @@ "overview": { "name": "Overview", "subtitle": "An overview of what Bulma as a framework is all about", + "color": "primary", + "icon": "eye", "path": "/documentation/overview" }, "overview-start": { @@ -62,6 +64,8 @@ "modifiers": { "name": "Modifiers", "subtitle": "An easy-to-read naming system designed for humans", + "color": "info", + "icon": "cogs", "path": "/documentation/modifiers" }, "modifiers-syntax": { @@ -92,6 +96,8 @@ "columns": { "name": "Columns", "subtitle": "The power of Flexbox in a simple interface", + "color": "star", + "icon": "columns", "path": "/documentation/columns" }, "columns-basics": { @@ -127,6 +133,8 @@ "layout": { "name": "Layout", "subtitle": "Design the structure of your webpage with these CSS classes", + "color": "success", + "icon": "warehouse", "path": "/documentation/layout" }, "layout-container": { @@ -167,6 +175,9 @@ "form": { "name": "Form", "subtitle": "The indispensable form controls, designed for maximum clarity", + "color": "link", + "icon_brand": "true", + "icon": "wpforms", "path": "/documentation/form" }, "form-general": { @@ -207,6 +218,8 @@ "elements": { "name": "Elements", "subtitle": "Essential interface elements that only require a single CSS class", + "color": "orange", + "icon": "cube", "path": "/documentation/elements" }, "elements-box": { @@ -267,6 +280,8 @@ "components": { "name": "Components", "subtitle": "Advanced multi-part components with lots of possibilities", + "color": "danger", + "icon": "cubes", "path": "/documentation/components" }, "components-breadcrumb": { diff --git a/docs/_includes/components/links.html b/docs/_includes/components/links.html index 35363a5f7..5e2faa964 100644 --- a/docs/_includes/components/links.html +++ b/docs/_includes/components/links.html @@ -15,7 +15,15 @@ {% endif %}