@aicayzer/inkkit 0.7.4 → 0.7.5

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.
Files changed (2) hide show
  1. package/dist/style.css +24 -5
  2. package/package.json +1 -1
package/dist/style.css CHANGED
@@ -76,7 +76,7 @@
76
76
  NOTICE. */
77
77
  .inkkit-root .inkkit-table-block {
78
78
  position: relative;
79
- margin: 0 0
79
+ margin: var(--inkkit-table-spacing-before, 0) 0
80
80
  var(--inkkit-paragraph-spacing, calc(var(--_inkkit-font-size) * 0.667));
81
81
  }
82
82
  .inkkit-root .inkkit-table-scroll {
@@ -133,8 +133,9 @@
133
133
  );
134
134
  }
135
135
  .inkkit-root .ProseMirror th {
136
- background: var(--_inkkit-code-bg);
137
- font-weight: 600;
136
+ color: var(--inkkit-table-header-color, inherit);
137
+ background: var(--inkkit-table-header-background, var(--_inkkit-code-bg));
138
+ font-weight: var(--inkkit-table-header-font-weight, 600);
138
139
  }
139
140
  .inkkit-root .ProseMirror td p,
140
141
  .inkkit-root .ProseMirror th p {
@@ -198,6 +199,10 @@
198
199
  .inkkit-root .inkkit-table-controls .inkkit-table-grip:not(:disabled) {
199
200
  cursor: grab;
200
201
  }
202
+ /* Before the expanded rule below, which wins at equal weight. */
203
+ .inkkit-root .inkkit-table-controls .inkkit-table-grip {
204
+ color: var(--inkkit-table-grip-color, var(--_inkkit-muted));
205
+ }
201
206
  .inkkit-root .inkkit-table-grip[data-inkkit-axis='column'] {
202
207
  width: 24px;
203
208
  height: 14px;
@@ -693,10 +698,11 @@
693
698
  .inkkit-root .inkkit-wiki-link {
694
699
  color: var(--inkkit-wiki-link-color, var(--_inkkit-accent));
695
700
  text-decoration-line: var(--inkkit-wiki-link-underline, none);
696
- text-decoration-style: solid;
701
+ text-decoration-style: var(--inkkit-wiki-link-underline-style, solid);
697
702
  text-decoration-thickness: var(--inkkit-wiki-link-underline-thickness, auto);
698
703
  text-decoration-color: var(--inkkit-wiki-link-underline-color, currentcolor);
699
704
  text-underline-offset: var(--inkkit-wiki-link-underline-offset, 2px);
705
+ cursor: var(--inkkit-wiki-link-cursor, inherit);
700
706
  padding: var(--inkkit-wiki-link-padding-block, 0)
701
707
  var(--inkkit-wiki-link-padding-inline, 0);
702
708
  border-radius: var(--inkkit-wiki-link-radius, 0);
@@ -728,7 +734,14 @@
728
734
  /* A missing target differs by its line, not only its color, which forced colors replace. */
729
735
  .inkkit-root .inkkit-wiki-link[data-missing] {
730
736
  text-decoration-line: underline;
731
- text-decoration-style: dashed;
737
+ text-decoration-style: var(
738
+ --inkkit-wiki-link-missing-underline-style,
739
+ dashed
740
+ );
741
+ text-decoration-color: var(
742
+ --inkkit-wiki-link-missing-underline-color,
743
+ var(--inkkit-wiki-link-underline-color, currentcolor)
744
+ );
732
745
  }
733
746
 
734
747
  /* The icon is generated content before the link's first character, so it adds no text, no caret
@@ -757,6 +770,12 @@
757
770
  @media (forced-colors: active) {
758
771
  .inkkit-root .inkkit-wiki-link {
759
772
  color: LinkText;
773
+ text-decoration-style: solid;
774
+ }
775
+
776
+ /* Whatever a host sets, a missing link keeps a line of another kind than a found one. */
777
+ .inkkit-root .inkkit-wiki-link[data-missing] {
778
+ text-decoration-style: dashed;
760
779
  }
761
780
 
762
781
  .inkkit-root .inkkit-wiki-link-lead::before {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aicayzer/inkkit",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "A preserving Markdown editor for offline web views and the web",
5
5
  "license": "MIT",
6
6
  "type": "module",