@astryxdesign/theme-stone 0.7.1-canary.7e441be → 0.7.1-canary.80e8be2

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/dist/source.js CHANGED
@@ -112,7 +112,14 @@ var stoneSyntax = (0, import_theme.defineSyntaxTheme)({
112
112
  // Teal T40 / T70
113
113
  punctuation: ["#5e5e5e", "#ababb0"],
114
114
  // Stone Neutral T40 / T70
115
- background: ["#f3f3f5", "#171719"]
115
+ background: ["#f3f3f5", "#171719"],
116
+ // Diff rows: the muted green/red at 25% in light and 20% in dark keep
117
+ // every token at or above 4.5:1 on the tint; the markers are the tinted
118
+ // text tokens (8.1:1 light, 8.8:1 dark on their tints).
119
+ added: ["#d0e9ce40", "#b4cdb233"],
120
+ removed: ["#f9dcd740", "#dcc0bc33"],
121
+ "added-marker": ["#374c36", "#d0e9ce"],
122
+ "removed-marker": ["#58413e", "#f9dcd7"]
116
123
  }
117
124
  });
118
125
  var stoneTheme = (0, import_theme.defineTheme)({
package/dist/source.mjs CHANGED
@@ -114,7 +114,14 @@ var stoneSyntax = defineSyntaxTheme({
114
114
  // Teal T40 / T70
115
115
  punctuation: ["#5e5e5e", "#ababb0"],
116
116
  // Stone Neutral T40 / T70
117
- background: ["#f3f3f5", "#171719"]
117
+ background: ["#f3f3f5", "#171719"],
118
+ // Diff rows: the muted green/red at 25% in light and 20% in dark keep
119
+ // every token at or above 4.5:1 on the tint; the markers are the tinted
120
+ // text tokens (8.1:1 light, 8.8:1 dark on their tints).
121
+ added: ["#d0e9ce40", "#b4cdb233"],
122
+ removed: ["#f9dcd740", "#dcc0bc33"],
123
+ "added-marker": ["#374c36", "#d0e9ce"],
124
+ "removed-marker": ["#58413e", "#f9dcd7"]
118
125
  }
119
126
  });
120
127
  var stoneTheme = defineTheme({
package/dist/stone.js CHANGED
@@ -98,6 +98,11 @@ export const stoneTheme = {
98
98
  "--color-syntax-property": "light-dark(#4e6357, #94b2a0)",
99
99
  "--color-syntax-punctuation": "light-dark(#5e5e5e, #ababb0)",
100
100
  "--color-syntax-background": "light-dark(#f3f3f5, #171719)",
101
+ "--color-syntax-added": "light-dark(#d0e9ce40, #b4cdb233)",
102
+ "--color-syntax-removed": "light-dark(#f9dcd740, #dcc0bc33)",
103
+ "--color-syntax-diff-header": "transparent",
104
+ "--color-syntax-added-marker": "light-dark(#374c36, #d0e9ce)",
105
+ "--color-syntax-removed-marker": "light-dark(#58413e, #f9dcd7)",
101
106
  "--color-accent": "light-dark(#25252a, #f3f3f5)",
102
107
  "--color-accent-muted": "light-dark(#25252a14, #f3f3f520)",
103
108
  "--color-neutral": "light-dark(#25252a0f, #f3f3f51a)",
@@ -1 +1 @@
1
- {"version":3,"file":"stoneTheme.d.ts","sourceRoot":"","sources":["../src/stoneTheme.ts"],"names":[],"mappings":"AA6DA,eAAO,MAAM,UAAU,yDA6VrB,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2PhB,CAAC"}
1
+ {"version":3,"file":"stoneTheme.d.ts","sourceRoot":"","sources":["../src/stoneTheme.ts"],"names":[],"mappings":"AAoEA,eAAO,MAAM,UAAU,yDA6VrB,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2PhB,CAAC"}
package/dist/theme.css CHANGED
@@ -166,6 +166,11 @@
166
166
  --color-syntax-property: light-dark(#4e6357, #94b2a0);
167
167
  --color-syntax-punctuation: light-dark(#5e5e5e, #ababb0);
168
168
  --color-syntax-background: light-dark(#f3f3f5, #171719);
169
+ --color-syntax-added: light-dark(#d0e9ce40, #b4cdb233);
170
+ --color-syntax-removed: light-dark(#f9dcd740, #dcc0bc33);
171
+ --color-syntax-diff-header: transparent;
172
+ --color-syntax-added-marker: light-dark(#374c36, #d0e9ce);
173
+ --color-syntax-removed-marker: light-dark(#58413e, #f9dcd7);
169
174
  --color-accent: light-dark(#25252a, #f3f3f5);
170
175
  --color-accent-muted: light-dark(#25252a14, #f3f3f520);
171
176
  --color-neutral: light-dark(#25252a0f, #f3f3f51a);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/theme-stone",
3
- "version": "0.7.1-canary.7e441be",
3
+ "version": "0.7.1-canary.80e8be2",
4
4
  "displayName": "Stone Theme",
5
5
  "private": false,
6
6
  "description": "Warm stone and slate, earthy and understated, with just enough character to feel handcrafted.",
@@ -57,11 +57,11 @@
57
57
  "lucide-react": "^1.18.0"
58
58
  },
59
59
  "peerDependencies": {
60
- "@astryxdesign/core": "0.7.1-canary.7e441be",
60
+ "@astryxdesign/core": "0.7.1-canary.80e8be2",
61
61
  "react": ">=19"
62
62
  },
63
63
  "devDependencies": {
64
- "@astryxdesign/cli": "0.7.1-canary.7e441be"
64
+ "@astryxdesign/cli": "0.7.1-canary.80e8be2"
65
65
  },
66
66
  "module": "./dist/source.mjs",
67
67
  "scripts": {
package/src/stoneTheme.ts CHANGED
@@ -56,6 +56,13 @@ const stoneSyntax = defineSyntaxTheme({
56
56
  property: ['#4e6357', '#94b2a0'], // Teal T40 / T70
57
57
  punctuation: ['#5e5e5e', '#ababb0'], // Stone Neutral T40 / T70
58
58
  background: ['#f3f3f5', '#171719'],
59
+ // Diff rows: the muted green/red at 25% in light and 20% in dark keep
60
+ // every token at or above 4.5:1 on the tint; the markers are the tinted
61
+ // text tokens (8.1:1 light, 8.8:1 dark on their tints).
62
+ added: ['#d0e9ce40', '#b4cdb233'],
63
+ removed: ['#f9dcd740', '#dcc0bc33'],
64
+ 'added-marker': ['#374c36', '#d0e9ce'],
65
+ 'removed-marker': ['#58413e', '#f9dcd7'],
59
66
  },
60
67
  });
61
68