You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/button/button.config.yml
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,46 +1,55 @@
1
1
context:
2
2
label: Primary Button
3
+
link: './button'
3
4
default: Primary
4
5
variants:
5
6
- name: Primary Dark
6
7
preview: '@preview-dark'
7
8
notes: Add the class `mzp-t-dark` for use on dark backgrounds (the button itself is light).
9
+
link: './button'
8
10
context:
9
11
class: 'mzp-t-dark'
10
12
- name: Secondary
11
13
notes: A less prominent button with a hollow, transparent background. Use this for any additional actions someone can take on any given page that is different from the primary action.
14
+
link: './button'
12
15
context:
13
16
class: 'mzp-t-secondary'
14
17
label: Secondary Button
15
18
- name: Secondary Dark
16
19
preview: '@preview-dark'
20
+
link: './button'
17
21
notes: A light variation of the secondary button for dark backgrounds, adding the class `mzp-t-dark` (the button itself is light).
18
22
context:
19
23
class: 'mzp-t-secondary mzp-t-dark'
20
24
label: Secondary Button
21
25
- name: Product
26
+
link: './button'
22
27
notes: Use this theme style for product-related transactions, such as downloading software or creating an account.
23
28
context:
24
29
class: 'mzp-t-product'
25
30
label: Download Firefox
26
31
- name: Product Secondary
32
+
link: './button'
27
33
notes: This secondary product button theme should be used when the CTA is a product-related transaction, but not the main action a person should take on a page.
28
34
context:
29
35
class: 'mzp-t-product mzp-t-secondary'
30
36
label: Download Firefox
31
37
- name: Product Secondary Dark
38
+
link: './button'
32
39
preview: '@preview-dark'
33
40
notes: A light variation of the secondary product button for use on dark backgrounds. Add the class `mzp-t-dark` (the button itself is light).
34
41
context:
35
42
class: 'mzp-t-product mzp-t-secondary mzp-t-dark'
36
43
label: Download Firefox
37
44
- name: Neutral
38
45
notes: A neutral button for less important actions.
46
+
link: './button'
39
47
context:
40
48
class: 'mzp-t-neutral'
41
49
label: Neutral Button
42
50
- name: Neutral Dark
43
51
preview: '@preview-dark'
52
+
link: './button'
44
53
notes: A light variation of the neutral button for use on dark backgrounds. Add the class `mzp-t-dark` (the button itself is light).
0 commit comments