Skip to content

Commit

Permalink
Fix: Update to option description (fixes #89)
Browse files Browse the repository at this point in the history
  • Loading branch information
StuartNicholls authored May 30, 2023
1 parent c8819e3 commit c4ba619
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ It provides visual accessibility improvements.
* Low brightness
* Invert
* No animations
* No background images
* Hide decorative images
* Font size (small, medium, large)
* Line height (small, medium, large)
* Paragraph spacing (small, medium, large)
Expand All @@ -22,7 +22,7 @@ It provides visual accessibility improvements.
* Line height, paragraph spacing, letter spacing and word spacing are all ratio based. 1 is the current value, 1.2 is and uplift by 20%, 0.9 would be a shift downwards by 10%.
* Font size medium is the default font size (16px usually), large is 18pt, small is 9pt.
* Invert only inverts brightness, not colour.
* No background images is contingent on alt text.
* Hide decorative images is contingent on alt text.

----------------------------
**Framework versions:** 5.15+<br/>
Expand Down
2 changes: 1 addition & 1 deletion example.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"_noBackgroundImages": {
"_isEnabled": true,
"title": "No background images",
"title": "Hide decorative images",
"_default": false
},
"_fontSize": {
Expand Down
2 changes: 1 addition & 1 deletion js/DEFAULTS.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default {
},
"_noBackgroundImages": {
"_isEnabled": true,
"title": "No background images",
"title": "Hide decorative images",
"_default": false
},
"_fontSize": {
Expand Down
4 changes: 2 additions & 2 deletions properties.schema
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@
"_noBackgroundImages": {
"type": "object",
"required": false,
"title": "No background images",
"title": "Hide decorative images",
"properties": {
"_isEnabled": {
"type": "boolean",
Expand All @@ -414,7 +414,7 @@
"title": {
"type": "string",
"required": false,
"default": "No background images",
"default": "Hide decorative images",
"title": "Title",
"inputType": "Text",
"validators": []
Expand Down
4 changes: 2 additions & 2 deletions schema/course.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
},
"_noBackgroundImages": {
"type": "object",
"title": "No background images",
"title": "Hide decorative images",
"default": {},
"properties": {
"_isEnabled": {
Expand All @@ -295,7 +295,7 @@
"title": {
"type": "string",
"title": "Title",
"default": "No background images"
"default": "Hide decorative images"
},
"_default": {
"type": "boolean",
Expand Down

0 comments on commit c4ba619

Please sign in to comment.