@harismawan/stamp-ui 0.1.0 → 0.1.1

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.
@@ -26,14 +26,11 @@ export const GlobalStyles = createGlobalStyle `
26
26
  text-decoration: none;
27
27
  transition: color 120ms ${(p) => p.theme.easing.out};
28
28
  /*
29
- * Hover uses the body text color (theme-aware: ink on cream ~18:1,
30
- * cream-white on dark ~17:1), so links stay highly readable on interaction.
31
- * The previous primaryHover (bright yellow #FFCB05) dropped to ~1.5:1 on the
32
- * cream bg — illegible. An underline provides a non-color affordance too.
29
+ * Hover darkens to the body text color (theme-aware: ink on cream ~18:1,
30
+ * cream-white on dark ~17:1) so links stay highly readable. No underline.
33
31
  */
34
32
  &:hover {
35
33
  color: ${(p) => p.theme.colors.text};
36
- text-decoration: underline;
37
34
  }
38
35
  }
39
36
 
@@ -38,10 +38,8 @@ const variantMap = {
38
38
  ${stamp};
39
39
  background: ${(p) => p.theme.colors.primary};
40
40
  color: ${(p) => p.theme.colors.primaryInk};
41
- &:hover:not(:disabled):not([aria-disabled='true']) {
42
- background: ${(p) => p.theme.colors.primaryHover};
43
- color: ${(p) => p.theme.colors.primaryInk};
44
- }
41
+ /* Color/background stay constant on hover; the stamp press (translate +
42
+ * shadow) is the only hover affordance. */
45
43
  `,
46
44
  ghost: css `
47
45
  background: transparent;
package/package.json CHANGED
@@ -1,9 +1,15 @@
1
1
  {
2
2
  "name": "@harismawan/stamp-ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Stamp-aesthetic React component library — chunky borders, hard offset shadows, no gradients.",
5
5
  "license": "MIT",
6
6
  "author": "Harismawan <mail@harismawan.com>",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/harismawan/stamp-ui.git"
10
+ },
11
+ "homepage": "https://github.com/harismawan/stamp-ui#readme",
12
+ "bugs": "https://github.com/harismawan/stamp-ui/issues",
7
13
  "type": "module",
8
14
  "sideEffects": false,
9
15
  "files": ["dist"],