@teselagen/ove 0.3.64 → 0.4.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.3.64",
3
+ "version": "0.4.1",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
package/src/Menlo.ttf ADDED
Binary file
package/src/Monaco.ttf ADDED
Binary file
@@ -302,7 +302,7 @@ function PointedAnnotation(props) {
302
302
  annotation.labelClassName
303
303
  )}
304
304
  style={{
305
- fontSize: ".9em",
305
+ // fontSize: ".8em",
306
306
  fill: _textColor
307
307
  }}
308
308
  transform={`translate(${textOffset},${height - 2})`}
package/src/index.js CHANGED
@@ -1,4 +1,3 @@
1
- import "@fontsource/ubuntu-mono/400.css";
2
1
  import { FocusStyleManager } from "@blueprintjs/core";
3
2
  import { showContextMenu } from "@teselagen/ui";
4
3
  import "./createVectorEditor";
package/src/style.css CHANGED
@@ -1,6 +1,20 @@
1
+ @font-face {
2
+ font-family: 'Menlo';
3
+ src: url('./Menlo.ttf');
4
+ font-weight: normal;
5
+ font-style: normal;
6
+ font-display: block;
7
+ }
8
+ @font-face {
9
+ font-family: 'Monaco';
10
+ src: url('./Monaco.ttf');
11
+ font-weight: normal;
12
+ font-style: normal;
13
+ font-display: block;
14
+ }
1
15
  .ve-monospace-font {
2
- font-family: "Ubuntu Mono", Monaco, monospace;
3
- font-size: 12px;
16
+ font-family: Menlo, Monaco, monospace;
17
+ font-size: 10px;
4
18
  }
5
19
  .rowViewTextContainer text {
6
20
  user-select: none;
@@ -16,7 +30,6 @@
16
30
  }
17
31
 
18
32
  .veCircularView .ve-monospace-font {
19
- font-family: "Lucida Console", Monaco, monospace;
20
33
  font-size: 14px;
21
34
  }
22
35