This commit is contained in:
Jeremy Thomas 2022-01-16 00:21:15 +00:00
parent 6b70094da8
commit b6b5e45ea0
5 changed files with 46 additions and 26 deletions

View File

@ -600,6 +600,14 @@
"icon": "rss", "icon": "rss",
"path": "/blog/" "path": "/blog/"
}, },
"brand": {
"name": "Brand",
"title": "Brand",
"subtitle": "The official Bulma logos",
"color": "primary",
"icon": "medal",
"path": "/brand/"
},
"expo": { "expo": {
"name": "Expo", "name": "Expo",
"title": "Expo", "title": "Expo",
@ -676,6 +684,7 @@
"extensions", "extensions",
"bulma-book", "bulma-book",
"blog", "blog",
"brand",
"bulma-start", "bulma-start",
"made-with-bulma" "made-with-bulma"
], ],
@ -683,6 +692,7 @@
"extensions", "extensions",
"bulma-book", "bulma-book",
"blog", "blog",
"brand",
"bulma-start", "bulma-start",
"made-with-bulma", "made-with-bulma",
"bootstrap" "bootstrap"

View File

@ -92,6 +92,11 @@
--color-dark: var(--rss-dark); --color-dark: var(--rss-dark);
} }
&.bd-navbar-item-brand {
--color-light: var(--primary-light);
--color-dark: var(--primary-dark);
}
&.bd-navbar-item-extensions { &.bd-navbar-item-extensions {
--color-light: var(--extensions-light); --color-light: var(--extensions-light);
--color-dark: var(--extensions-dark); --color-dark: var(--extensions-dark);

View File

@ -12,37 +12,13 @@ breadcrumb:
{% {%
include components/hero.html include components/hero.html
color="primary" color="primary"
icon="fas fa-copyright" icon="fas fa-medal"
title="The Bulma **Brand**" title="The Bulma **Brand**"
subtitle="Download the official Bulma logo" subtitle="Download the official Bulma logo"
%} %}
<div class="bd-brand"> <div class="bd-brand">
<div class="bd-logos"> <div class="bd-logos">
<p class="bd-logos-label title is-5">
Color
</p>
<div class="bd-logos-color has-background-primary"></div>
<div class="bd-logos-codes">
<div class="bd-logos-code">
<p>Hex</p>
<p><strong>#00D1B2</strong></p>
<button class="bd-clipboard button is-primary is-small is-light" data-clipboard-text="#00D1B2">Copy</button>
</div>
<div class="bd-logos-code">
<p>RGB</p>
<p><strong>rgb(0, 209, 178)</strong></p>
<button class="bd-clipboard button is-primary is-small is-light" data-clipboard-text="rgb(0, 209, 178)">Copy</button>
</div>
<div class="bd-logos-code">
<p>HSL</p>
<p><strong>hsl(171, 100%, 41%)</strong></p>
<button class="bd-clipboard button is-primary is-small is-light" data-clipboard-text="hsl(171, 100%, 41%)">Copy</button>
</div>
</div>
<p class="bd-logos-label title is-5"> <p class="bd-logos-label title is-5">
Icon Icon
</p> </p>
@ -105,5 +81,29 @@ breadcrumb:
unsplash="RMypptC8-B0" unsplash="RMypptC8-B0"
asset="Bulma Logo White" asset="Bulma Logo White"
%} %}
<p class="bd-logos-label title is-5">
Color
</p>
<div class="bd-logos-color has-background-primary"></div>
<div class="bd-logos-codes">
<div class="bd-logos-code">
<p>Hex</p>
<p><strong>#00D1B2</strong></p>
<button class="bd-clipboard button is-primary is-small is-light" data-clipboard-text="#00D1B2">Copy</button>
</div>
<div class="bd-logos-code">
<p>RGB</p>
<p><strong>rgb(0, 209, 178)</strong></p>
<button class="bd-clipboard button is-primary is-small is-light" data-clipboard-text="rgb(0, 209, 178)">Copy</button>
</div>
<div class="bd-logos-code">
<p>HSL</p>
<p><strong>hsl(171, 100%, 41%)</strong></p>
<button class="bd-clipboard button is-primary is-small is-light" data-clipboard-text="hsl(171, 100%, 41%)">Copy</button>
</div>
</div>
</div> </div>
</div> </div>

View File

@ -18521,6 +18521,11 @@ a.has-text-bootstrap-dark:hover, a.has-text-bootstrap-dark:focus {
--color-dark: var(--rss-dark); --color-dark: var(--rss-dark);
} }
.bd-navbar-item.bd-navbar-item-brand {
--color-light: var(--primary-light);
--color-dark: var(--primary-dark);
}
.bd-navbar-item.bd-navbar-item-extensions { .bd-navbar-item.bd-navbar-item-extensions {
--color-light: var(--extensions-light); --color-light: var(--extensions-light);
--color-dark: var(--extensions-dark); --color-dark: var(--extensions-dark);

File diff suppressed because one or more lines are too long