Skip to content

Commit

Permalink
Fix: Add menu subtitle color variable (fixes #515) (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
swashbuck authored May 14, 2024
1 parent 4d89179 commit a1b8aba
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions less/_defaults/_colors.less
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
// --------------------------------------------------
@menu-header-background-color: transparent;
@menu-header-title-color: @heading-color;
@menu-header-subtitle-color: @heading-color;
@menu-header-body-color: @font-color;
@menu-header-instruction-color: @font-color;

Expand Down
1 change: 1 addition & 0 deletions less/plugins/adapt-contrib-boxmenu/boxMenu.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
&__subtitle {
margin-bottom: @menu-subtitle-margin;
.menu-subtitle;
color: @menu-header-subtitle-color;
}

&__body {
Expand Down
6 changes: 6 additions & 0 deletions properties.schema
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,12 @@
"inputType": "ColourPicker",
"default": ""
},
"menu-header-subtitle-color": {
"title": "Menu header subtitle colour",
"type": "string",
"inputType": "ColourPicker",
"default": ""
},
"menu-header-body-color": {
"title": "Menu header body colour",
"type": "string",
Expand Down
6 changes: 6 additions & 0 deletions schema/theme.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,12 @@
"default": "",
"_backboneForms": "ColourPicker"
},
"menu-header-subtitle-color": {
"type": "string",
"title": "Menu header subtitle colour",
"default": "",
"_backboneForms": "ColourPicker"
},
"menu-header-body-color": {
"type": "string",
"title": "Menu header body colour",
Expand Down

0 comments on commit a1b8aba

Please sign in to comment.