mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Docs/variables data (#1314)
* Replace variables.json with colors.json and update related files accordingly * Add variables data files * Update variables include template and all related files to use new variables data * Fix mobile breakpoint id typo in responsivness docs page * Fix Liquid syntax error in made-with-bulma docs page * Update bulma sass files count in modular docs page * Use breakpoints data in responsiveness helpers docs page * Use breakpoints and variables data in typography helpers docs page * Add missing page titles in docs pages front matter
This commit is contained in:
@@ -3,13 +3,6 @@ title: Notification
|
||||
layout: documentation
|
||||
doc-tab: elements
|
||||
doc-subtab: notification
|
||||
variables:
|
||||
- name: $notification-background-color
|
||||
value: $background
|
||||
- name: $notification-radius
|
||||
value: $radius
|
||||
- name: $notification-padding
|
||||
value: 1.25rem 2.5rem 1.25rem 1.5rem
|
||||
---
|
||||
|
||||
{% capture notification %}
|
||||
@@ -22,7 +15,7 @@ variables:
|
||||
{% endcapture %}
|
||||
|
||||
{% capture notification_colors %}
|
||||
{% for color in site.data.variables.justColors %}
|
||||
{% for color in site.data.colors.justColors %}
|
||||
<div class="notification is-{{ color }}">
|
||||
<button class="delete"></button>
|
||||
Primar lorem ipsum dolor sit amet, consectetur
|
||||
@@ -55,7 +48,7 @@ variables:
|
||||
|
||||
{% include snippet.html content=notification_colors %}
|
||||
|
||||
{% include variables.html %}
|
||||
{% include variables.html type='element' %}
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user