matcha-theme 19.0.3 → 19.0.5

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.
@@ -88,37 +88,11 @@ a[matcha-button] {
88
88
  pointer-events: none;
89
89
  }
90
90
 
91
- &[size="tiny"] {
92
- line-height: px-to-rem(32px);
93
- max-height: px-to-rem(32px);
94
- }
95
-
96
- &[size="small"] {
97
- line-height: px-to-rem(40px);
98
- max-height: px-to-rem(40px);
99
- }
100
-
101
- &[size="medium"] {
102
- line-height: px-to-rem(48px);
103
- max-height: px-to-rem(48px);
104
- }
105
-
106
- &[size="large"] {
107
- line-height: px-to-rem(56px);
108
- max-height: px-to-rem(56px);
109
- }
110
-
111
- &[size="huge"] {
112
- line-height: px-to-rem(56px);
113
- max-height: px-to-rem(56px);
114
- }
115
-
116
91
  &[size="tiny"],
117
92
  &[size="small"],
118
93
  &[size="medium"],
119
94
  &[size="large"],
120
95
  &[size="huge"] {
121
- padding: 0 px-to-rem(32px);
122
96
  min-width: 24px;
123
97
  &.stroked {
124
98
  box-shadow: 0px 0px 0px 2px inset;
@@ -146,6 +120,28 @@ a[matcha-button] {
146
120
 
147
121
  &[outline]:not([outline="false"]) {
148
122
  box-shadow: 0px 0px 0px 2px inset;
123
+ &[link]:not([link="false"]){
124
+ &[size="tiny"]{
125
+ padding:0px 8px;
126
+ gap:4px;
127
+ }
128
+ &[size="small"]{
129
+ padding:0px 12px;
130
+ gap:8px;
131
+ }
132
+ &[size="medium"]{
133
+ padding:0px 16px;
134
+ gap:12px;
135
+ }
136
+ &[size="large"]{
137
+ padding:0px 16px;
138
+ gap:12px;
139
+ }
140
+ &[size="huge"]{
141
+ padding:0px 16px;
142
+ gap:12px;
143
+ }
144
+ }
149
145
  }
150
146
 
151
147
  &[pill]:not([pill="false"]) {
@@ -225,7 +221,7 @@ a[matcha-button] {
225
221
 
226
222
  &[disabled] {
227
223
  background-color: map-get($background, disabled);
228
- color: #b5bdc3 !important;
224
+ color: map-get($foreground, disabled-icon) !important;
229
225
  border-color: map-get($foreground, disabled);
230
226
  }
231
227
 
@@ -248,6 +244,10 @@ a[matcha-button] {
248
244
  border-color: map-get($foreground, base);
249
245
  color: map-get($foreground, base);
250
246
  }
247
+ &[disabled] {
248
+ box-shadow: 0 0 0 2px map-get($foreground, disabled-icon);
249
+ color: map-get($foreground, disabled-icon) !important;
250
+ }
251
251
  }
252
252
 
253
253
  &[pill]:not([pill="false"]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-theme",
3
- "version": "19.0.3",
3
+ "version": "19.0.5",
4
4
  "description": "Themes for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {