Skip to content

Commit 9a3f5f4

Browse files
v1.10
### Version: Exolve v1.10 March 28 2021 - Make the underline colour in a revealed definition and the solution text colour be the same as the "solved clue number" color, dodgerblue. - Make these colours be configurable via colour-... exolve-options ('def-underline" and "solution"). - Use the solution colour in "incluefill" too (the placeholder blank used for orphan clues). Thanks to @Antagony1060 for the idea of unifying the solved/solution/def-underline colours to dodgerblue by default.
1 parent cf58d40 commit 9a3f5f4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+118
-92
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
### Version: Exolve v1.10 March 28 2021
4+
5+
- Make the underline colour in a revealed definition and the solution text
6+
colour be the same as the "solved clue number" color, dodgerblue.
7+
- Make these colours be configurable via colour-... exolve-options
8+
('def-underline" and "solution").
9+
- Use the solution colour in "incluefill" too (the placeholder blank
10+
used for orphan clues).
11+
312
### Version: Exolve v1.09 March 21 2021
413

514
- Make the current-clue div above the grid have a max-height and an

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## An Easily Configurable Interactive Crossword Solver
44

5-
### Version: Exolve v1.09 March 21 2021
5+
### Version: Exolve v1.10 March 28 2021
66

77
Exolve can help you create online interactively solvable crosswords (simple
88
ones with blocks and/or bars as well as those that are jumbles or are
@@ -1078,8 +1078,10 @@ be overriding), and descriptions.
10781078
| `colour-prefill` | blue | Any letters pre-filled with the ! decorator.|
10791079
| `colour-anno` | darkgreen | The text of the annotation. |
10801080
| `colour-solved` | dodgerblue | The clue number in the list of clues, once the clue has been solved.|
1081+
| `colour-solution` | dodgerblue | The solution part of the anno, as well as entries in placeholder blanks.|
1082+
| `colour-def-underline` | dodgerblue | The underline in a revealed definition within a clue.|
10811083
| `colour-separator` | blue | The hyphens and dashes in multi-word lights. |
1082-
| `colour-imp-text` | darkgreen | "Important" text: setter's name, answer entries, placeholder entries, grid-filling status.|
1084+
| `colour-imp-text` | darkgreen | "Important" text: setter's name, answer entries, grid-filling status.|
10831085
| `colour-button` | #4caf50 | Buttons (Check/Reveal etc). |
10841086
| `colour-button-hover` | darkgreen | Buttons with mouseover. |
10851087
| `colour-button-text` | white | The text in buttons. |

exolve-from-ipuz.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ SOFTWARE.
2424
The latest code and documentation for Exolve can be found at:
2525
https://github.com/viresh-ratnakar/exolve
2626
27-
Version: Exolve v1.09 March 21 2021
27+
Version: Exolve v1.10 March 28 2021
2828
*/
2929

3030
/**

exolve-from-puz.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ SOFTWARE.
2424
The latest code and documentation for Exolve can be found at:
2525
https://github.com/viresh-ratnakar/exolve
2626
27-
Version: Exolve v1.09 March 21 2021
27+
Version: Exolve v1.10 March 28 2021
2828
*/
2929

3030
function exolveFromPuzNextNull(buffer, offset) {

exolve-m-simple.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
1515
See the full Exolve license notice in exolve-m.js.
1616
17-
Version: Exolve v1.09 March 21 2021
17+
Version: Exolve v1.10 March 28 2021
1818
-->
1919

20-
<link rel="stylesheet" type="text/css" href="https://viresh-ratnakar.github.io/exolve-m.css?v1.09"/>
21-
<script src="https://viresh-ratnakar.github.io/exolve-m.js?v1.09"></script>
20+
<link rel="stylesheet" type="text/css" href="https://viresh-ratnakar.github.io/exolve-m.css?v1.10"/>
21+
<script src="https://viresh-ratnakar.github.io/exolve-m.js?v1.10"></script>
2222

2323
<title>Exolve</title>
2424

exolve-m.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Copyright (c) 2019 Viresh Ratnakar
55
66
See the full license notice in exolve-m.js.
77
8-
Version: Exolve v1.09 March 21 2021
8+
Version: Exolve v1.10 March 28 2021
99
*/
1010

1111
@media (max-width: 500px) {
@@ -414,7 +414,6 @@ Version: Exolve v1.09 March 21 2021
414414
}
415415
.xlv-definition {
416416
text-decoration: underline;
417-
text-decoration-color: darkgreen;
418417
text-decoration-thickness: 1.5px;
419418
}
420419
.xlv-blue {

exolve-m.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
1111
See the full Exolve license notice in exolve-m.js.
1212
13-
Version: Exolve v1.09 March 21 2021
13+
Version: Exolve v1.10 March 28 2021
1414
-->
15-
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.09"/>
16-
<script src="exolve-m.js?v1.09"></script>
15+
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.10"/>
16+
<script src="exolve-m.js?v1.10"></script>
1717

1818
<title>Exolve (replace with puzzle title)</title>
1919

exolve-m.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function Exolve(puzzleSpec,
7979
visTop=0,
8080
maxDim=0,
8181
saveState=true) {
82-
this.VERSION = 'Exolve v1.09 March 21 2021'
82+
this.VERSION = 'Exolve v1.10 March 28 2021'
8383

8484
this.puzzleText = puzzleSpec
8585
this.containerId = containerId
@@ -199,6 +199,8 @@ function Exolve(puzzleSpec,
199199
'prefill': 'blue',
200200
'anno': 'darkgreen',
201201
'solved': 'dodgerblue',
202+
'solution': 'dodgerblue',
203+
'def-underline': 'dodgerblue',
202204
'separator': 'blue',
203205
'imp-text': 'darkgreen',
204206
'button': '#4caf50',
@@ -2884,6 +2886,12 @@ Exolve.prototype.applyStyles = function() {
28842886
#${this.prefix}-frame .xlv-solved td:first-child {
28852887
color: ${this.colorScheme['solved']};
28862888
}
2889+
#${this.prefix}-frame .xlv-definition {
2890+
text-decoration-color: ${this.colorScheme['def-underline']};
2891+
}
2892+
#${this.prefix}-frame .xlv-solution {
2893+
color: ${this.colorScheme['solution']};
2894+
}
28872895
#${this.prefix}-status {
28882896
color: ${this.colorScheme['imp-text']};
28892897
}
@@ -4092,7 +4100,7 @@ Exolve.prototype.addOrphanUI =
40924100
html = html + '</span>'
40934101
elt.insertAdjacentHTML('beforeend', html)
40944102
let incluefill = elt.lastElementChild.firstElementChild
4095-
incluefill.style.color = this.colorScheme['imp-text']
4103+
incluefill.style.color = this.colorScheme['solution']
40964104
incluefill.addEventListener(
40974105
'input', this.updateOrphanEntry.bind(this, clueIndex, inCurr))
40984106
if (!this.hideCopyPlaceholders) {

exolve-player.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<head>
44
<meta charset="utf-8"/>
55
<meta name="viewport" content="width=device-width, initial-scale=1"/>
6-
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.09"/>
7-
<script src="exolve-m.js?v1.09"></script>
8-
<script src="exolve-from-ipuz.js?v1.09"></script>
9-
<script src="exolve-from-puz.js?v1.09"></script>
6+
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.10"/>
7+
<script src="exolve-m.js?v1.10"></script>
8+
<script src="exolve-from-ipuz.js?v1.10"></script>
9+
<script src="exolve-from-puz.js?v1.10"></script>
1010

1111
<style>
1212
#exolve-player {

exolve-widget.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
<head>
1818
<meta charset="utf-8"/>
1919
<meta name="viewport" content="width=device-width, initial-scale=1"/>
20-
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.09"/>
21-
<script src="exolve-m.js?v1.09"></script>
20+
<link rel="stylesheet" type="text/css" href="exolve-m.css?v1.10"/>
21+
<script src="exolve-m.js?v1.10"></script>
2222
<script>
2323
let puzzleText = '';
2424
function receivePuzzle(event) {

0 commit comments

Comments
 (0)