Skip to content

Commit

Permalink
Theme: Add new radio button and checkbox controls (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
AmjadHD authored Feb 26, 2022
1 parent 6c85bbc commit ea943f3
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@
"trigger": "disabled",
"kind": ["snippet", "a", "Attribute"],
},
{
"trigger": "checked",
"kind": ["snippet", "a", "Attribute"],
},
{
"trigger": "confirm",
"kind": ["snippet", "a", "Attribute"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@
"contents": "\"disabled\"",
"kind": ["snippet", "a", "Attribute"],
},
{
"trigger": "checked",
"contents": "\"checked\"",
"kind": ["snippet", "a", "Attribute"],
},
{
"trigger": "confirm",
"contents": "\"confirm\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,18 @@
"trigger": "tool_tip_label_control",
"kind": ["snippet", "e", "Element"],
},
{
"trigger": "radio_button_list_control",
"kind": ["snippet", "e", "Element"],
},
{
"trigger": "checkbox_control",
"kind": ["snippet", "e", "Element"],
},
{
"trigger": "checkbox_box_control",
"kind": ["snippet", "e", "Element"],
},

// The following have been added manually
{
Expand Down
3 changes: 2 additions & 1 deletion Package/Sublime Text Theme/Sublime Text Theme.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ variables:
| dirty | selected | transient | highlighted | multiple # tab_control
| (?:left|right)(?:_overhang|_of_(?:selected|hover))? # tab_control
| panel_visible # status_bar
| dark | horizontal # stat_bar_control
| dark | horizontal # status_bar_control
| pressed | disabled | confirm | highlighted # button_control
| checked # checkbox_control
| left | right # icon_button_control
| h?scrollable # scroll_area_control
| ignored | untracked | modified | missing | added | staged | deleted | unmerged # file_system_entry & vcs_status_badge
Expand Down

0 comments on commit ea943f3

Please sign in to comment.