@gitbutler/design-core 1.2.3 → 1.2.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.
package/core.css CHANGED
@@ -12,12 +12,10 @@
12
12
  * - All design tokens (tokens/tokens.css)
13
13
  */
14
14
 
15
- /* reset */
16
- @import "./styles/reset.css";
17
- /* Import design tokens */
18
- @import "./tokens/tokens.css";
19
15
  /* Import font definitions */
20
16
  @import "./fonts/fonts.css";
21
- /* Base styles */
22
- @import "./styles/base.css";
17
+ /* base */
18
+ @import "./styles/reset.css";
23
19
  @import "./styles/text.css";
20
+ /* Import design tokens */
21
+ @import "./tokens/tokens.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitbutler/design-core",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
4
4
  "type": "module",
5
5
  "description": "Design tokens for GitButler applications",
6
6
  "keywords": [
package/styles/reset.css CHANGED
@@ -18,6 +18,14 @@
18
18
  text-rendering: optimizeLegibility;
19
19
  }
20
20
 
21
+ body {
22
+ padding: 0;
23
+ margin: 0;
24
+ overflow-x: hidden;
25
+ color: var(--clr-text-1);
26
+ font-family: var(--font-default);
27
+ }
28
+
21
29
  /* elements */
22
30
  hr {
23
31
  height: 0;
@@ -55,9 +63,7 @@
55
63
  pre,
56
64
  samp {
57
65
  font-size: 1em;
58
- font-family:
59
- Söhne Mono,
60
- monospace;
66
+ font-family: var(--font-mono);
61
67
  font-variation-settings: normal;
62
68
  font-feature-settings: normal;
63
69
  }
package/styles/base.css DELETED
@@ -1,5 +0,0 @@
1
- body {
2
- overflow-x: hidden;
3
- color: var(--clr-text-1);
4
- font-family: var(--font-default);
5
- }