|
28 | 28 |
|
29 | 29 | padding: 10px 8px |
30 | 30 |
|
31 | | - @include colour.background($light: bg, $dark: grey-300) |
32 | | - @include colour.foreground($light: ButtonText, $dark: grey-900) |
| 31 | + @include colour.background($light: bg, $dark: grey-200) |
| 32 | + @include colour.foreground($light: ButtonText, $dark: grey-800) |
33 | 33 |
|
34 | 34 | @include state.disabled |
35 | 35 | @include colour.background(grey-100) |
|
59 | 59 | @include shadow(1px, 2px, $blur: 2px, $alpha: 0.1) |
60 | 60 |
|
61 | 61 | @include state.hover |
62 | | - filter: contrast(0.95) |
| 62 | + filter: brightness(0.95) |
63 | 63 | @include shadow(1px, 2px, $blur: 8px, $alpha: 0.15) |
64 | 64 |
|
65 | 65 | @include state.active |
66 | | - filter: contrast(0.65) |
| 66 | + filter: brightness(0.8) |
67 | 67 |
|
68 | 68 | @include state.focus-visible |
69 | 69 | @include _button-border(colour.get(primary)) |
70 | 70 |
|
71 | 71 |
|
72 | 72 | @include extension($source: Button, $new: primary) |
73 | 73 |
|
74 | | - @include colour.background(primary) |
| 74 | + @include colour.background($light: primary, $dark: primary-darker) |
75 | 75 | @include colour.foreground(white) |
76 | 76 | @include colour.border(primary) |
77 | 77 |
|
78 | | - transition-property: background-color |
79 | | - |
80 | 78 | @include state.active |
81 | | - filter: none |
82 | | - @include colour.background($light: primary-darker, $dark: rgb(0, 156, 255)) |
| 79 | + filter: brightness(0.75) |
| 80 | + //@include colour.background($light: primary-darker, $dark: rgb(0, 77, 186)) |
| 81 | + //@include colour.border(rgb(0, 102, 255)) |
83 | 82 |
|
84 | 83 | @include state.focus-visible |
85 | 84 | @include shadow(0, 0, $important: true) |
|
0 commit comments