@aotearoan/neon 26.0.2 → 26.0.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": "@aotearoan/neon",
3
3
  "description": "Neon is a lightweight design library of Vue 3 components with minimal dependencies.",
4
- "version": "26.0.2",
4
+ "version": "26.0.3",
5
5
  "main": "./dist/neon.cjs.js",
6
6
  "module": "./dist/neon.es.js",
7
7
  "types": "./dist/src/neon.d.ts",
@@ -32,6 +32,7 @@
32
32
  }
33
33
 
34
34
  @mixin solid-button($color) {
35
+ transition: all ease-in-out var(--neon-animation-speed-fast);
35
36
  background: linear-gradient(var(--neon-background-solid-button-light-#{$color}), var(--neon-background-solid-button-dark-#{$color}));
36
37
 
37
38
  &:hover:not(:disabled) {
@@ -48,6 +49,7 @@
48
49
  }
49
50
 
50
51
  @mixin outline-button($color) {
52
+ transition: all ease-in-out var(--neon-animation-speed-fast);
51
53
  border: var(--neon-border-width-outline-button) var(--neon-border-style) var(--neon-border-color-outline-button-inactive-#{$color});
52
54
  &:not(.neon-button--disabled) {
53
55
  color: var(--neon-background-outline-button-active-#{$color});
@@ -79,6 +81,7 @@
79
81
  }
80
82
 
81
83
  @mixin text-button($color) {
84
+ transition: all ease-in-out var(--neon-animation-speed-fast);
82
85
  color: var(--neon-color-#{$color});
83
86
 
84
87
  &:not(.neon-button--text-transparent) {
@@ -1,4 +1,5 @@
1
1
  @use '../includes/palettes';
2
+ @use '../includes/responsive';
2
3
 
3
4
  @mixin card-list {
4
5
  .neon-card-list {
@@ -33,9 +34,12 @@
33
34
  margin-left: auto;
34
35
  }
35
36
 
37
+ &__cards {
38
+ border-top: var(--neon-border);
39
+ }
40
+
36
41
  &__card {
37
- padding-top: var(--neon-space-32);
38
- padding-bottom: var(--neon-space-16);
42
+ padding: var(--neon-space-32) var(--neon-space-16) var(--neon-space-16);
39
43
  user-select: none;
40
44
  width: 100%;
41
45
  border: none;
@@ -44,6 +48,11 @@
44
48
  &--disabled {
45
49
  cursor: not-allowed;
46
50
  }
51
+
52
+ @include responsive.responsive(mobile-large) {
53
+ padding-left: 0;
54
+ padding-right: 0;
55
+ }
47
56
  }
48
57
 
49
58
  .neon-card-list__link {
@@ -33,7 +33,7 @@
33
33
  margin: 0;
34
34
 
35
35
  &:before {
36
- color: var(--neon-color-low-contrast);
36
+ color: var(--neon-color-high-contrast);
37
37
  }
38
38
  }
39
39