@gitbutler/design-core 1.2.1 → 1.2.3

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/README.md CHANGED
@@ -48,7 +48,6 @@ Or import individual font families:
48
48
  @import "@gitbutler/design-core/fonts/inter/Inter-Regular.woff2";
49
49
  @import "@gitbutler/design-core/fonts/geist-mono/GeistMono-Regular.woff2";
50
50
  @import "@gitbutler/design-core/fonts/but-head/But-Head-Regular.woff2";
51
- @import "@gitbutler/design-core/fonts/pp-editorial/PPEditorialNew-Regular.woff2";
52
51
  ```
53
52
 
54
53
  ### Core Styles
package/fonts/fonts.css CHANGED
@@ -13,11 +13,6 @@
13
13
  * - Export: Available via @gitbutler/design-core/fonts
14
14
  */
15
15
 
16
- @font-face {
17
- src: url("pp-editorial/PPEditorialNew-Regular.woff2") format("woff2");
18
- font-family: "PP Editorial New";
19
- }
20
-
21
16
  @font-face {
22
17
  font-style: normal;
23
18
  font-weight: 400;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitbutler/design-core",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "type": "module",
5
5
  "description": "Design tokens for GitButler applications",
6
6
  "keywords": [
package/styles/base.css CHANGED
@@ -1,34 +1,3 @@
1
- /**
2
- * GitButler Base Styles
3
- *
4
- * This file contains foundational CSS styles including resets, basic typography,
5
- * and common element styling that serves as a base for GitButler applications.
6
- *
7
- * USAGE:
8
- * Import this file: @import '@gitbutler/design-core/base';
9
- * Or in JS: import '@gitbutler/design-core/base';
10
- */
11
-
12
- /* CSS Reset and Normalization */
13
- *,
14
- *::before,
15
- *::after {
16
- box-sizing: border-box;
17
- }
18
-
19
- * {
20
- margin: 0;
21
- padding: 0;
22
- }
23
-
24
- html {
25
- font-size: 16px;
26
- line-height: 1.5;
27
- -webkit-font-smoothing: antialiased;
28
- -moz-osx-font-smoothing: grayscale;
29
- text-rendering: optimizeLegibility;
30
- }
31
-
32
1
  body {
33
2
  overflow-x: hidden;
34
3
  color: var(--clr-text-1);
package/styles/reset.css CHANGED
@@ -11,16 +11,11 @@
11
11
 
12
12
  html {
13
13
  overscroll-behavior: none;
14
- }
15
-
16
- body {
17
- margin: 0;
18
- padding: 0;
19
- line-height: inherit;
20
- line-height: inherit;
21
- font-family:
22
- -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
23
- Arial, "Noto Sans", sans-serif;
14
+ font-size: 16px;
15
+ line-height: 1.5;
16
+ -webkit-font-smoothing: antialiased;
17
+ -moz-osx-font-smoothing: grayscale;
18
+ text-rendering: optimizeLegibility;
24
19
  }
25
20
 
26
21
  /* elements */
@@ -100,6 +95,7 @@
100
95
  textarea {
101
96
  margin: 0;
102
97
  padding: 0;
98
+ border: 0;
103
99
  color: inherit;
104
100
  font-weight: inherit;
105
101
  font-size: 100%;
@@ -108,6 +104,7 @@
108
104
  font-variation-settings: inherit;
109
105
  font-feature-settings: inherit;
110
106
  letter-spacing: inherit;
107
+ background: transparent;
111
108
  }
112
109
 
113
110
  button,
@@ -122,6 +119,8 @@
122
119
  -webkit-appearance: button;
123
120
  background-image: none;
124
121
  background-color: transparent;
122
+ outline: none;
123
+ touch-action: manipulation;
125
124
  }
126
125
 
127
126
  :-moz-focusring {
@@ -217,8 +216,10 @@
217
216
  cursor: pointer;
218
217
  }
219
218
 
219
+ [role="button"]:disabled,
220
+ button:disabled,
220
221
  :disabled {
221
- cursor: default;
222
+ cursor: not-allowed;
222
223
  }
223
224
 
224
225
  audio,