File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change
1
+ .custom-component.warning {
2
+ color : red ;
3
+ }
4
+ a .btn-custom.test-button {
5
+ background-color : --var (--danger );
6
+ color : --var (--tertiary );
7
+ }
Original file line number Diff line number Diff line change 1
1
# See https://meta.discourse.org/t/objects-type-for-theme-setting/305009
2
2
buttons :
3
3
type : objects
4
- default : []
4
+ default :
5
+ - name : button 1
6
+ text : " Custom Component Demo Button!!"
7
+ title : " See this text if you mouseover the button"
8
+ url : " https://www.literatecomputing.com"
9
+ class : " test-button"
10
+ icon : " triangle-exclamation"
11
+ outlet : " top-notices"
12
+ group_action : " show"
13
+ groups : [1]
5
14
schema :
6
15
name : link_button
7
16
properties :
@@ -40,7 +49,13 @@ buttons:
40
49
default : []
41
50
custom_text_block :
42
51
type : objects
43
- default : []
52
+ default :
53
+ - name : text_block 1
54
+ text : " Custom Component Demo Text Block 1!!"
55
+ outlet : " top-notices"
56
+ class : " warning"
57
+ group_action : " show"
58
+ groups : [1]
44
59
schema :
45
60
name : text_block
46
61
properties :
You can’t perform that action at this time.
0 commit comments