Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Creating Interfaces with Bulma

You're reading from   Creating Interfaces with Bulma Create impressive web interfaces with this open-source Flexbox-based CSS framework

Arrow left icon
Product type Paperback
Published in Nov 2019
Publisher
ISBN-13 9781800209374
Length 194 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Authors (6):
Arrow left icon
Oleksii Potiekhin Oleksii Potiekhin
Author Profile Icon Oleksii Potiekhin
Oleksii Potiekhin
Dave Berning Dave Berning
Author Profile Icon Dave Berning
Dave Berning
Backstop Media LLC Backstop Media LLC
Author Profile Icon Backstop Media LLC
Backstop Media LLC
Mikko Lauhakari Mikko Lauhakari
Author Profile Icon Mikko Lauhakari
Mikko Lauhakari
Jeremy Thomas Jeremy Thomas
Author Profile Icon Jeremy Thomas
Jeremy Thomas
Aslam Shah Aslam Shah
Author Profile Icon Aslam Shah
Aslam Shah
+2 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface
1. Introduction 2. Understanding Bulma, terminology, and concepts FREE CHAPTER 3. Creating and controlling forms with Bulma 4. Creating navigations and vertical menus 5. Creating responsive grids with common components 6. Creating breadcrumbs and file upload fields 7. Creating tables and selecting dropdowns 8. Creating more tables and selecting dropdowns 9. Creating notifications and cards 10. Using Bulma with Vanilla JavaScript 11. Using Bulma with Angular 12. Using Bulma with VueJS 13. Using Bulma with React 14. Customizing Bulma

Customizable

Bulma has more than 300 variables, making almost any value in Bulma easy to override, allowing you to define a very personalized setup.

By using SASS, you can set your own initial variables, like overriding the blue color value, or the primary font family, or even the various responsive breakpoints.

// 1. Import the initial variables
@import "../sass/utilities/initial-variables"
@import "../sass/utilities/functions"

// 2. Set your own initial variables
// Update blue
$blue: #72d0eb

// Add pink and its invert

$pink: #ffb3b3
$pink-invert: #fff

// Add a serif family
$family-serif: "Merriweather", "Georgia", serif

// 3. Set the derived variables
// Use the new pink as the primary color
$primary: $pink
$primary-invert: $pink-invert

// Use the existing orange as the danger color
$danger: $orange

// Use the new serif family
$family-primary: $family-serif

// 4. Import the rest of Bulma
@import "../bulma"

Each Bulma component also comes with its own set of variables:

  • box has its own shadow
  • columns have their own gap
  • menu has its own background and foregroud colors
  • button and input have colors for each of their states (hover, active, focus…)
  • etc.

Each documentation page comes with the list of available variables to override.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime