ponkotsu-md-editor 0.3.1 → 0.3.2

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: 69a042675752a90ebfb4fea9302b8afdcdc4ef5b5a0a92d1060bb5c591c591c9
4
- data.tar.gz: 1ba8795a6ce803ddc14c64df8d709e46829bbcfc36915161d4577fb947ad2e33
3
+ metadata.gz: 3d964a349d1945573479fb06c4aabf831b1739fed70cf72dee5077f32359c5e9
4
+ data.tar.gz: ee75bd7e2d244d82e015bf2336b4c6cbb43327832b973ede60306046a975ce18
5
5
  SHA512:
6
- metadata.gz: e21f8d1f60a1cbedec438c055b9522a27714dd1bb874130b89d182fe9b62ea15fc5930f576b46b2df84ac79628b662ba14fcf0587ef571cf9766eda9caa068b0
7
- data.tar.gz: 021bb8b7babf193b14a9baada9ced767fcacdc8b09d1990c0453dcc384b62aaea8f40366db51037e8ce09e216fadd637473cc0372e9161975f90ac551a3365b2
6
+ metadata.gz: e051ef5ecd678aea6aac78e0f28b593fbeb3628df40f999461d6bbee2737312986f413adfd16f3092f88576a78cc36c5fe8eb39103250c856a1a34a51d9dd3dd
7
+ data.tar.gz: 7cd24b06133b4bb7a5b3e0d9879b1b005659c71c09384dcf06eaa18d663d75767a360d2195f1b66c75ff8c3ecfdf5a4036fdaf1e238131779cc95f93288ab3cf
@@ -1,53 +1,15 @@
1
- :root {
2
- --accent-color: #007bff;
3
- --accent-color-hover: #0056b3;
4
- --accent-pink: #e83e8c;
5
- --background: #fff;
6
- --background-dark: #222;
7
- --background-alt: #f8f9fa;
8
- --background-code: #f5f5f5;
9
- --preview-bg: #f8f9fa;
10
- --border: #ced4da;
11
- --border-light: #ced4da;
12
- --border-info: #b6e2f7;
13
- --border-table: #dee2e6;
14
- --text-primary: #212529;
15
- --text-invert: #fff;
16
- --text-secondary: #495057;
17
- --text-muted: #6c757d;
18
- --text-placeholder: #999;
19
- --text-info: #222;
20
- --text-blockquote: #495057;
21
- --info-bg: #e9f7fd;
22
- --table-row-alt: #f2f2f2;
23
- --code-bg: #e9ecef;
24
- --code-text: #d63384;
25
- }
26
- [data-theme="dark"] {
27
- --accent-color: #66b3ff;
28
- --accent-color-hover: #3399ff;
29
- --accent-pink: #ff7eb9;
30
- --background: #181a1b;
31
- --background-dark: #222;
32
- --background-alt: #2a2a2a;
33
- --background-code: #2d3748;
34
- --preview-bg: #363636;
35
- --border: #444;
36
- --border-light: #444;
37
- --border-info: #3a4a5a;
38
- --border-table: #666;
39
- --text-primary: #f1f3f4;
40
- --text-invert: #181a1b;
41
- --text-secondary: #adb5bd;
42
- --text-muted: #6c757d;
43
- --text-placeholder: #888;
44
- --text-info: #f1f3f4;
45
- --text-blockquote: #adb5bd;
46
- --info-bg: #223344;
47
- --table-row-alt: #23272b;
48
- --code-bg: #495057;
49
- --code-text: #ffb3d1;
50
- }
1
+ /*
2
+ * CSS variables should be defined by the host application.
3
+ * This allows the editor to integrate seamlessly with any theme.
4
+ *
5
+ * Required CSS variables:
6
+ * --accent-color, --accent-color-hover, --accent-pink
7
+ * --background, --background-dark, --background-alt, --background-code, --preview-bg
8
+ * --border, --border-light, --border-info, --border-table
9
+ * --text-primary, --text-invert, --text-secondary, --text-muted, --text-placeholder
10
+ * --text-info, --text-blockquote
11
+ * --info-bg, --table-row-alt, --code-bg, --code-text
12
+ */
51
13
 
52
14
  .editor-container {
53
15
  position: relative;
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PonkotsuMdEditor
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ponkotsu-md-editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - dhq_boiler