mirror of
https://github.com/jgthms/bulma
synced 2026-03-19 20:04:30 -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:
@@ -1,24 +1,8 @@
|
||||
---
|
||||
title: Menu
|
||||
layout: documentation
|
||||
doc-tab: components
|
||||
doc-subtab: menu
|
||||
variables:
|
||||
- name: $menu-item-color
|
||||
value: $text
|
||||
- name: $menu-item-radius
|
||||
value: $radius-small
|
||||
- name: $menu-item-hover-color
|
||||
value: $text-strong
|
||||
- name: $menu-item-hover-background-color
|
||||
value: $background
|
||||
- name: $menu-item-active-color
|
||||
value: $link-invert
|
||||
- name: $menu-item-active-background-color
|
||||
value: $link
|
||||
- name: $menu-list-border-left
|
||||
value: 1px solid $border
|
||||
- name: $menu-label-color
|
||||
value: $text-light
|
||||
---
|
||||
|
||||
{% capture menu_example %}
|
||||
@@ -75,7 +59,7 @@ variables:
|
||||
|
||||
{% include snippet.html content=menu_example size="one-third" %}
|
||||
|
||||
{% include variables.html %}
|
||||
{% include variables.html type='component' %}
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user