@tempoxyz/ds 0.1.2 → 0.1.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tempoxyz/ds",
3
3
  "type": "module",
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "DESIGN.md",
@@ -181,11 +181,13 @@ namespace styles {
181
181
  ],
182
182
  defaultVariants: { intent: 'info', shape: 'default', size: 'medium' },
183
183
  variants: {
184
+ // Light mode takes step 300, since step 100 nearly matches the page background. Dark mode
185
+ // keeps step 100, which already stands apart from the page while keeping the text legible.
184
186
  intent: {
185
- info: { backgroundColor: 'blue.100', color: 'blue.900' },
186
- negative: { backgroundColor: 'red.100', color: 'red.900' },
187
- positive: { backgroundColor: 'green.100', color: 'green.900' },
188
- warning: { backgroundColor: 'amber.100', color: 'amber.900' },
187
+ info: { backgroundColor: 'light-dark(#e6eefe, #161b29) !custom', color: 'blue.900' },
188
+ negative: { backgroundColor: 'light-dark(#ffe6e0, #2a1410) !custom', color: 'red.900' },
189
+ positive: { backgroundColor: 'light-dark(#d3f8df, #052315) !custom', color: 'green.900' },
190
+ warning: { backgroundColor: 'light-dark(#ffede2, #2d1504) !custom', color: 'amber.900' },
189
191
  },
190
192
  shape: {
191
193
  default: {},