diff options
author | Case Duckworth | 2021-01-24 23:26:10 -0600 |
---|---|---|
committer | Case Duckworth | 2021-01-24 23:26:10 -0600 |
commit | 40b22ab708413a9f4eeadd7f04d72ad68ea39830 (patch) | |
tree | 8be3a00996bfea816c9de5e3ed13bd1dbad3b81a | |
parent | Add doremi-face-set for setting face (diff) | |
download | emacs-40b22ab708413a9f4eeadd7f04d72ad68ea39830.tar.gz emacs-40b22ab708413a9f4eeadd7f04d72ad68ea39830.zip |
Add crosswords
-rw-r--r-- | config.org | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/config.org b/config.org index 5ef0f1f..101cd75 100644 --- a/config.org +++ b/config.org | |||
@@ -1525,6 +1525,47 @@ true, please feel free to hack this repo and change this paragraph. | |||
1525 | (require feat)) | 1525 | (require feat)) |
1526 | #+end_src | 1526 | #+end_src |
1527 | 1527 | ||
1528 | ** Crosswords! | ||
1529 | |||
1530 | I love crosswords. I love Emacs. There ya go. | ||
1531 | |||
1532 | #+begin_src emacs-lisp :noweb-ref packages | ||
1533 | (straight-use-package '(crossword | ||
1534 | :host github | ||
1535 | :repo "Boruch-Baum/emacs-crossword")) | ||
1536 | #+end_src | ||
1537 | |||
1538 | The problem with this package is that the default faces are pretty | ||
1539 | bad, to be honest. Let's change em. | ||
1540 | |||
1541 | #+begin_src emacs-lisp :noweb-ref settings | ||
1542 | (doremi-face-set 'crossword-current-face | ||
1543 | '((((class color) | ||
1544 | (background light)) | ||
1545 | (:inherit 'normal :foreground "black" | ||
1546 | :background "lightgreen")) | ||
1547 | (((class color) | ||
1548 | (background dark)) | ||
1549 | (:inherit 'normal :foreground "white" | ||
1550 | :background "darkgreen")) | ||
1551 | (t | ||
1552 | (:inherit 'normal :foreground "black" | ||
1553 | :background "darkgreen")))) | ||
1554 | |||
1555 | (doremi-face-set 'crossword-other-dir-face | ||
1556 | '((((class color) | ||
1557 | (background light)) | ||
1558 | (:inherit 'normal :foreground "black" | ||
1559 | :background "darkgrey")) | ||
1560 | (((class color) | ||
1561 | (background dark)) | ||
1562 | (:inherit 'normal :foreground "black" | ||
1563 | :background "darkgrey")) | ||
1564 | (t | ||
1565 | (:inherit 'normal :foreground "black" | ||
1566 | :background "darkgrey")))) | ||
1567 | #+end_src | ||
1568 | |||
1528 | * Org mode :package: | 1569 | * Org mode :package: |
1529 | 1570 | ||
1530 | ** Install it with =straight.el= | 1571 | ** Install it with =straight.el= |