# jgthms/bulma architecture

> Architecture diagram of the GitHub repository jgthms/bulma, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jgthms/bulma
- Repository: https://github.com/jgthms/bulma

## Overview

Bulma is a CSS-only, Flexbox-based framework. A developer can use its ready-made CSS in an application or customize its Sass sources and use the resulting stylesheet; the README explicitly identifies the CSS file as the product output and notes that Bulma includes no JavaScript. The graph groups the main Sass capability areas visible in the tree. Source excerpts are limited to the package manifest, so internal Sass import and compilation relationships are not inferred.

Main entry points: [`css/bulma.css`](https://github.com/jgthms/bulma/blob/main/css/bulma.css) (Bulma CSS), [`bulma.scss`](https://github.com/jgthms/bulma/blob/main/bulma.scss) (Sass entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_core["Core styles"]
  node_base["Base styles"]
  node_elements["Elements"]
  node_helpers["Helpers"]
  node_css_output["Bulma CSS<br/>[bulma.css]"]
end

subgraph group_ui["UI patterns"]
  node_components["Components"]
end

subgraph group_forms["Forms and layout"]
  node_form["Form styles"]
  node_grid["Grid styles"]
  node_layout["Layout styles"]
end

subgraph group_custom["Customization"]
  node_sass_entry["Sass entry<br/>[bulma.scss]"]
  node_utilities["Utilities"]
  node_themes["Themes"]
end

node_developer(("Developer"))
node_application["Web application"]

node_developer -->|"customizes"| node_sass_entry
node_developer -->|"imports"| node_css_output
node_css_output -->|"styles"| node_application

click node_sass_entry "https://github.com/jgthms/bulma/blob/main/bulma.scss"
click node_base "https://github.com/jgthms/bulma/tree/main/sass/base"
click node_elements "https://github.com/jgthms/bulma/tree/main/sass/elements"
click node_helpers "https://github.com/jgthms/bulma/tree/main/sass/helpers"
click node_utilities "https://github.com/jgthms/bulma/tree/main/sass/utilities"
click node_themes "https://github.com/jgthms/bulma/tree/main/sass/themes"
click node_components "https://github.com/jgthms/bulma/tree/main/sass/components"
click node_form "https://github.com/jgthms/bulma/tree/main/sass/form"
click node_grid "https://github.com/jgthms/bulma/tree/main/sass/grid"
click node_layout "https://github.com/jgthms/bulma/tree/main/sass/layout"
click node_css_output "https://github.com/jgthms/bulma/blob/main/css/bulma.css"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_base,node_elements,node_helpers,node_css_output toneBlue
class node_components toneAmber
class node_form,node_grid,node_layout toneMint
class node_sass_entry,node_utilities,node_themes toneRose
class node_developer,node_application toneIndigo
```

## Components

### Core styles

- [Base styles](https://github.com/jgthms/bulma/tree/main/sass/base): `sass/base`
- [Elements](https://github.com/jgthms/bulma/tree/main/sass/elements): `sass/elements`
- [Helpers](https://github.com/jgthms/bulma/tree/main/sass/helpers): `sass/helpers`
- [Bulma CSS](https://github.com/jgthms/bulma/blob/main/css/bulma.css): `css/bulma.css`

### UI patterns

- [Components](https://github.com/jgthms/bulma/tree/main/sass/components): `sass/components`

### Forms and layout

- [Form styles](https://github.com/jgthms/bulma/tree/main/sass/form): `sass/form`
- [Grid styles](https://github.com/jgthms/bulma/tree/main/sass/grid): `sass/grid`
- [Layout styles](https://github.com/jgthms/bulma/tree/main/sass/layout): `sass/layout`

### Customization

- [Sass entry](https://github.com/jgthms/bulma/blob/main/bulma.scss): `bulma.scss`
- [Utilities](https://github.com/jgthms/bulma/tree/main/sass/utilities): `sass/utilities`
- [Themes](https://github.com/jgthms/bulma/tree/main/sass/themes): `sass/themes`

### Other components

- **Developer**
- **Web application**

## Connections

- Developer → Sass entry: customizes (evidence: `README.md`)
- Developer → Bulma CSS: imports (evidence: `README.md`)
- Bulma CSS → Web application: styles (evidence: `README.md`)
