mirror of
https://github.com/jgthms/bulma
synced 2026-03-19 03:44:31 -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,49 +3,6 @@ title: Button
|
||||
layout: documentation
|
||||
doc-tab: elements
|
||||
doc-subtab: button
|
||||
variables:
|
||||
- name: $button-color
|
||||
value: $grey-darker
|
||||
- name: $button-background-color
|
||||
value: $white
|
||||
- name: $button-border-color
|
||||
value: $grey-lighter
|
||||
- name: $button-hover-color
|
||||
value: $link-hover
|
||||
- name: $button-hover-border-color
|
||||
value: $link-hover-border
|
||||
- name: $button-focus-color
|
||||
value: $link-focus
|
||||
- name: $button-focus-border-color
|
||||
value: $link-focus-border
|
||||
- name: $button-focus-box-shadow-size
|
||||
value: 0 0 0 0.125em
|
||||
- name: $button-focus-box-shadow-color
|
||||
value: rgba($link, 0.25)
|
||||
- name: $button-active-color
|
||||
value: $link-active
|
||||
- name: $button-active-border-color
|
||||
value: $link-active-border
|
||||
- name: $button-link-color
|
||||
value: $text
|
||||
- name: $button-link-hover-background-color
|
||||
value: $background
|
||||
- name: $button-link-hover-color
|
||||
value: $text-strong
|
||||
- name: $button-disabled-background-color
|
||||
value: $white
|
||||
- name: $button-disabled-border-color
|
||||
value: $grey-lighter
|
||||
- name: $button-disabled-shadow
|
||||
value: none
|
||||
- name: $button-disabled-opacity
|
||||
value: 0.5
|
||||
- name: $button-static-color
|
||||
value: $grey
|
||||
- name: $button-static-background-color
|
||||
value: $white-ter
|
||||
- name: $button-static-border-color
|
||||
value: $grey-lighter
|
||||
---
|
||||
|
||||
{% capture button_example %}
|
||||
@@ -615,7 +572,7 @@ variables:
|
||||
|
||||
{% include snippet.html content=button_group_addons_example %}
|
||||
|
||||
{% include variables.html %}
|
||||
{% include variables.html type='element' %}
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user