mirror of
https://github.com/jgthms/bulma
synced 2026-03-20 12:24:28 -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,32 +1,8 @@
|
||||
---
|
||||
title: Dropdown
|
||||
layout: documentation
|
||||
doc-tab: components
|
||||
doc-subtab: dropdown
|
||||
variables:
|
||||
- name: $dropdown-content-background-color
|
||||
value: $white
|
||||
- name: $dropdown-content-arrow
|
||||
value: $link
|
||||
- name: $dropdown-content-offset
|
||||
value: 4px
|
||||
- name: $dropdown-content-radius
|
||||
value: $radius
|
||||
- name: $dropdown-content-shadow
|
||||
value: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)
|
||||
- name: $dropdown-content-z
|
||||
value: 20
|
||||
- name: $dropdown-item-color
|
||||
value: $grey-dark
|
||||
- name: $dropdown-item-hover-color
|
||||
value: $black
|
||||
- name: $dropdown-item-hover-background-color
|
||||
value: $background
|
||||
- name: $dropdown-item-active-color
|
||||
value: $primary-invert
|
||||
- name: $dropdown-item-active-background-color
|
||||
value: $primary
|
||||
- name: $dropdown-divider-background-color
|
||||
value: $border
|
||||
---
|
||||
|
||||
{% capture dropdown_example %}
|
||||
@@ -368,7 +344,7 @@ variables:
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include variables.html %}
|
||||
{% include variables.html type='component' %}
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user