lexxy 0.1.13.beta → 0.1.14.beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 263e76081a9e0910c9d470ef6c6252af14fd78d3e05905b0170a4641e2854433
4
- data.tar.gz: 5868f9ef392f984b4254d06561fd3305d962ceac71ebbd69a422b6a651be1cc6
3
+ metadata.gz: 377dd12bef2035dd5f02223c87229ccfae225a81f50536ad55aa5fc85204d378
4
+ data.tar.gz: 42ec66f30ae6603bab32bb87a955cc53ed2d95931284c95c26f6e7257b2fe64d
5
5
  SHA512:
6
- metadata.gz: fd7111fead7f70799d1e6c8fd3fbc3f6b3996dabc29cc17aa51d5e595050045e8d4cdf353f2f0210a5672d5343964df0a5a2515b1a96cd5fff4b56c06a842c19
7
- data.tar.gz: d5f72056d6be21b3005da384a3c026f6675398ed09faf2da46502e6b4cb8f457736d0fcaa4af76bc22fabe6a0ac3404c0d86a0d20f884503eaee4c34209540aa
6
+ metadata.gz: 51656a642926c12a830d0002fb05b60fd6a23570b51535d576ffef32e1518108c89dbeb66a229a7f652441e6dcab38f3164ca6fbdacaaa9e6f9ed9d1e346beed
7
+ data.tar.gz: 77e6d287aaadeedfa77c3a7453f6b1eb6124574d87e3a131d7328416fd676cd4429ac2a2315485ae5ce5d88e8fed964b6d7377f754a36e58c56b664384cf0c46
data/README.md CHANGED
@@ -87,7 +87,11 @@ For the CSS, you can include it with the standard Rails helper:
87
87
  <%= stylesheet_link_tag "lexxy" %>
88
88
  ```
89
89
 
90
- Of course, you can copy the CSS to your project and adapt it to your needs.
90
+ You can copy the CSS to your project and adapt it to your needs.
91
+
92
+ #### Custom styles and dark mode
93
+
94
+ All of Lexxy's color styles are defiend as CSS variables in `app/stylesheets/lexxy-variables.css`. This enables a straightforward way to customize Lexxy to match your application's theme. You can see an example implementation of a custom dark mode style in the Sandbox's stylesheet at `test/dummy/app/assets/stylesheets/sandbox.css`.
91
95
 
92
96
  #### Rendered Action Text content
93
97
 
@@ -104,6 +108,8 @@ To apply syntax highlighting to rendered Action Text content, you need to call t
104
108
  ```javascript
105
109
  import { Controller } from "@hotwired/stimulus"
106
110
  import { highlightAll } from "lexxy"
111
+ // Or if you installed via a javascript bundler:
112
+ // import { highlightAll } from "@37signals/lexxy"
107
113
 
108
114
  export default class extends Controller {
109
115
  connect() {