@react-aria/example-theme 1.0.2-nightly.4491 → 1.0.2-nightly.4499

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/index.css CHANGED
@@ -1,3 +1,2 @@
1
1
 
2
-
3
2
  /*# sourceMappingURL=index.css.map */
@@ -1 +1 @@
1
- {"mappings":"","sources":["packages/@react-aria/example-theme/src/index.css"],"sourcesContent":["/* color themes for dark and light modes, generated with Leonardo.\n * Light: https://leonardocolor.io/theme.html?name=Light&config=%7B%22baseScale%22%3A%22Gray%22%2C%22colorScales%22%3A%5B%7B%22name%22%3A%22Gray%22%2C%22colorKeys%22%3A%5B%22%23000000%22%5D%2C%22colorspace%22%3A%22RGB%22%2C%22ratios%22%3A%5B%22-1.12%22%2C%221.45%22%2C%222.05%22%2C%223.02%22%2C%224.54%22%2C%227%22%2C%2210.86%22%5D%2C%22smooth%22%3Afalse%7D%2C%7B%22name%22%3A%22Purple%22%2C%22colorKeys%22%3A%5B%22%235e30eb%22%5D%2C%22colorspace%22%3A%22RGB%22%2C%22ratios%22%3A%5B%22-1.12%22%2C%221.45%22%2C%222.05%22%2C%223.02%22%2C%224.54%22%2C%227%22%2C%2210.86%22%5D%2C%22smooth%22%3Afalse%7D%2C%7B%22name%22%3A%22Red%22%2C%22colorKeys%22%3A%5B%22%23e32400%22%5D%2C%22colorspace%22%3A%22RGB%22%2C%22ratios%22%3A%5B%22-1.12%22%2C%221.45%22%2C%222.05%22%2C%223.02%22%2C%224.54%22%2C%227%22%2C%2210.86%22%5D%2C%22smooth%22%3Afalse%7D%5D%2C%22lightness%22%3A98%2C%22contrast%22%3A1%2C%22saturation%22%3A100%2C%22formula%22%3A%22wcag2%22%7D */\n:root {\n --background-color: #f8f8f8;\n --gray-50: #ffffff;\n --gray-100: #d0d0d0;\n --gray-200: #afafaf;\n --gray-300: #8f8f8f;\n --gray-400: #717171;\n --gray-500: #555555;\n --gray-600: #393939;\n --purple-100: #d5c9fa;\n --purple-200: #b8a3f6;\n --purple-300: #997cf2;\n --purple-400: #7a54ef;\n --purple-500: #582ddc;\n --purple-600: #3c1e95;\n --red-100: #f7c4ba;\n --red-200: #f29887;\n --red-300: #eb664d;\n --red-400: #de2300;\n --red-500: #a81b00;\n --red-600: #731200;\n --highlight-hover: rgb(0 0 0 / 0.07);\n --highlight-pressed: rgb(0 0 0 / 0.15);\n}\n\n/* Dark: https://leonardocolor.io/theme.html?name=Dark&config=%7B%22baseScale%22%3A%22Gray%22%2C%22colorScales%22%3A%5B%7B%22name%22%3A%22Gray%22%2C%22colorKeys%22%3A%5B%22%23000000%22%5D%2C%22colorspace%22%3A%22RGB%22%2C%22ratios%22%3A%5B%22-1.12%22%2C%221.45%22%2C%222.05%22%2C%223.02%22%2C%224.54%22%2C%227%22%2C%2210.86%22%5D%2C%22smooth%22%3Afalse%7D%2C%7B%22name%22%3A%22Purple%22%2C%22colorKeys%22%3A%5B%22%235e30eb%22%5D%2C%22colorspace%22%3A%22RGB%22%2C%22ratios%22%3A%5B%22-1.12%22%2C%221.45%22%2C%222.05%22%2C%223.02%22%2C%224.54%22%2C%227%22%2C%2210.86%22%5D%2C%22smooth%22%3Afalse%7D%2C%7B%22name%22%3A%22Red%22%2C%22colorKeys%22%3A%5B%22%23e32400%22%5D%2C%22colorspace%22%3A%22RGB%22%2C%22ratios%22%3A%5B%22-1.12%22%2C%221.45%22%2C%222.05%22%2C%223.02%22%2C%224.54%22%2C%227%22%2C%2210.86%22%5D%2C%22smooth%22%3Afalse%7D%5D%2C%22lightness%22%3A11%2C%22contrast%22%3A1%2C%22saturation%22%3A100%2C%22formula%22%3A%22wcag2%22%7D */\n@media (prefers-color-scheme: dark) {\n :root {\n --background-color: #1d1d1d;\n --gray-50: #101010;\n --gray-100: #393939;\n --gray-200: #4f4f4f;\n --gray-300: #686868;\n --gray-400: #848484;\n --gray-500: #a7a7a7;\n --gray-600: #cfcfcf;\n --purple-100: #3c1e95;\n --purple-200: #522acd;\n --purple-300: #6f46ed;\n --purple-400: #8e6ef1;\n --purple-500: #b099f5;\n --purple-600: #d5c8fa;\n --red-100: #721200;\n --red-200: #9c1900;\n --red-300: #cc2000;\n --red-400: #e95034;\n --red-500: #f08c79;\n --red-600: #f7c3ba;\n --highlight-hover: rgb(255 255 255 / 0.1);\n --highlight-pressed: rgb(255 255 255 / 0.2);\n }\n}\n\n/* Semantic colors */\n:root {\n --focus-ring-color: var(--purple-400);\n --text-color: var(--gray-600);\n --text-color-base: var(--gray-500);\n --text-color-hover: var(--gray-600);\n --text-color-disabled: var(--gray-200);\n --text-color-placeholder: var(--gray-400);\n --link-color: var(--purple-500);\n --link-color-secondary: var(--gray-500);\n --link-color-pressed: var(--purple-600);\n --border-color: var(--gray-300);\n --border-color-hover: var(--gray-400);\n --border-color-pressed: var(--gray-400);\n --border-color-disabled: var(--gray-100);\n --field-background: var(--gray-50);\n --field-text-color: var(--gray-600);\n --overlay-background: var(--gray-50);\n --button-background: var(--gray-50);\n --button-background-pressed: var(--background-color);\n /* these colors are the same between light and dark themes\n * to ensure contrast with the foreground color */\n --highlight-background: #6f46ed; /* purple-300 from dark theme, 3.03:1 against background-color */\n --highlight-background-pressed: #522acd; /* purple-200 from dark theme */\n --highlight-background-invalid: #cc2000; /* red-300 from dark theme */\n --highlight-foreground: white; /* 5.56:1 against highlight-background */\n --highlight-foreground-pressed: #ddd;\n --highlight-overlay: rgb(from #6f46ed r g b / 15%);\n --invalid-color: var(--red-400);\n --invalid-color-pressed: var(--red-500);\n}\n\n/* Windows high contrast mode overrides */\n@media (forced-colors: active) {\n :root {\n --background-color: Canvas;\n --focus-ring-color: Highlight;\n --text-color: ButtonText;\n --text-color-base: ButtonText;\n --text-color-hover: ButtonText;\n --text-color-disabled: GrayText;\n --text-color-placeholder: ButtonText;\n --link-color: LinkText;\n --link-color-secondary: LinkText;\n --link-color-pressed: LinkText;\n --border-color: ButtonBorder;\n --border-color-hover: ButtonBorder;\n --border-color-pressed: ButtonBorder;\n --border-color-disabled: GrayText;\n --field-background: Field;\n --field-text-color: FieldText;\n --overlay-background: Canvas;\n --button-background: ButtonFace;\n --button-background-pressed: ButtonFace;\n --highlight-background: Highlight;\n --highlight-background-pressed: Highlight;\n --highlight-background-invalid: LinkText;\n --highlight-foreground: HighlightText;\n --highlight-foreground-pressed: HighlightText;\n --invalid-color: LinkText;\n --invalid-color-pressed: LinkText;\n }\n}\n"],"names":[],"version":3,"file":"index.css.map"}
1
+ {"mappings":"","sources":[],"sourcesContent":[],"names":[],"version":3,"file":"index.css.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-aria/example-theme",
3
- "version": "1.0.2-nightly.4491+d66cf4d8c",
3
+ "version": "1.0.2-nightly.4499+a8ec9667a",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "source": "src/index.css",
@@ -19,5 +19,5 @@
19
19
  "publishConfig": {
20
20
  "access": "public"
21
21
  },
22
- "gitHead": "d66cf4d8cd4657c562ce52d3f37df0a1fa685416"
22
+ "gitHead": "a8ec9667a2b70b88b45e329bf44918f0f93d54f9"
23
23
  }