Skip to content

Commit 6dc3758

Browse files
authored
Merge pull request #748 from lumapps/chore/fixed-soften-buttons
Chore/fixed soften buttons
2 parents c479bf2 + 95e3a15 commit 6dc3758

File tree

26 files changed

+272
-148
lines changed

26 files changed

+272
-148
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- Reverted a11y link improvements (`linkAs` and `linkProps`) on Thumbnail, Avatar and UserBlock introduced in v2.1.5 that introduced a regression on the Thumbnail style.
1313

14+
### Changed
15+
16+
- Soften dark color on medium / low dark buttons, dark chips, dark flags, dark icons, tabs, navigation items and uploaders.
17+
1418
## [2.1.8][] - 2021-12-10
1519

1620
### Fixed

packages/lumx-core/src/css/design-tokens.css

Lines changed: 82 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Tue, 19 Oct 2021 08:35:24 GMT
3+
* Generated on Tue, 30 Nov 2021 09:20:09 GMT
44
*/
55

66
:root {
@@ -48,7 +48,12 @@
4848
0,
4949
0.12
5050
); /* Base dark color with 12% opacity */
51-
--lumx-button-emphasis-medium-state-default-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
51+
--lumx-button-emphasis-medium-state-default-theme-light-color: rgba(
52+
0,
53+
0,
54+
0,
55+
0.7
56+
); /* Base dark color with 70% opacity */
5257
--lumx-button-emphasis-medium-state-default-theme-light-border-color: transparent;
5358
--lumx-button-emphasis-medium-state-default-theme-dark-background-color: rgba(
5459
255,
@@ -66,7 +71,12 @@
6671
0,
6772
0.2
6873
); /* Base dark color with 20% opacity */
69-
--lumx-button-emphasis-medium-state-hover-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
74+
--lumx-button-emphasis-medium-state-hover-theme-light-color: rgba(
75+
0,
76+
0,
77+
0,
78+
0.7
79+
); /* Base dark color with 70% opacity */
7080
--lumx-button-emphasis-medium-state-hover-theme-light-border-color: transparent;
7181
--lumx-button-emphasis-medium-state-hover-theme-dark-background-color: rgba(
7282
255,
@@ -84,7 +94,12 @@
8494
0,
8595
0.38
8696
); /* Base dark color with 38% opacity */
87-
--lumx-button-emphasis-medium-state-active-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
97+
--lumx-button-emphasis-medium-state-active-theme-light-color: rgba(
98+
0,
99+
0,
100+
0,
101+
0.7
102+
); /* Base dark color with 70% opacity */
88103
--lumx-button-emphasis-medium-state-active-theme-light-border-color: transparent;
89104
--lumx-button-emphasis-medium-state-active-theme-dark-background-color: rgba(
90105
255,
@@ -97,7 +112,12 @@
97112
--lumx-button-emphasis-low-state-default-padding-horizontal: 8px;
98113
--lumx-button-emphasis-low-state-default-border-width: 0;
99114
--lumx-button-emphasis-low-state-default-theme-light-background-color: transparent;
100-
--lumx-button-emphasis-low-state-default-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
115+
--lumx-button-emphasis-low-state-default-theme-light-color: rgba(
116+
0,
117+
0,
118+
0,
119+
0.7
120+
); /* Base dark color with 70% opacity */
101121
--lumx-button-emphasis-low-state-default-theme-light-border-color: transparent;
102122
--lumx-button-emphasis-low-state-default-theme-dark-background-color: transparent;
103123
--lumx-button-emphasis-low-state-default-theme-dark-color: #fff; /* Neutral light color */
@@ -110,7 +130,7 @@
110130
0,
111131
0.12
112132
); /* Base dark color with 12% opacity */
113-
--lumx-button-emphasis-low-state-hover-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
133+
--lumx-button-emphasis-low-state-hover-theme-light-color: rgba(0, 0, 0, 0.7); /* Base dark color with 70% opacity */
114134
--lumx-button-emphasis-low-state-hover-theme-light-border-color: transparent;
115135
--lumx-button-emphasis-low-state-hover-theme-dark-background-color: rgba(
116136
255,
@@ -128,7 +148,12 @@
128148
0,
129149
0.2
130150
); /* Base dark color with 20% opacity */
131-
--lumx-button-emphasis-low-state-active-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
151+
--lumx-button-emphasis-low-state-active-theme-light-color: rgba(
152+
0,
153+
0,
154+
0,
155+
0.7
156+
); /* Base dark color with 70% opacity */
132157
--lumx-button-emphasis-low-state-active-theme-light-border-color: transparent;
133158
--lumx-button-emphasis-low-state-active-theme-dark-background-color: rgba(
134159
255,
@@ -230,8 +255,8 @@
230255
0,
231256
0,
232257
0,
233-
0.87
234-
); /* Neutral dark color */
258+
0.7
259+
); /* Base dark color with 70% opacity */
235260
--lumx-navigation-item-emphasis-low-state-default-theme-light-label-color: rgba(
236261
0,
237262
0,
@@ -243,8 +268,8 @@
243268
0,
244269
0,
245270
0,
246-
0.87
247-
); /* Neutral dark color */
271+
0.7
272+
); /* Base dark color with 70% opacity */
248273
--lumx-navigation-item-emphasis-low-state-default-theme-dark-background-color: transparent;
249274
--lumx-navigation-item-emphasis-low-state-default-theme-dark-border-color: rgba(
250275
255,
@@ -276,8 +301,8 @@
276301
0,
277302
0,
278303
0,
279-
0.87
280-
); /* Neutral dark color */
304+
0.7
305+
); /* Base dark color with 70% opacity */
281306
--lumx-navigation-item-emphasis-low-state-hover-theme-light-label-color: rgba(
282307
0,
283308
0,
@@ -294,8 +319,8 @@
294319
0,
295320
0,
296321
0,
297-
0.87
298-
); /* Neutral dark color */
322+
0.7
323+
); /* Base dark color with 70% opacity */
299324
--lumx-navigation-item-emphasis-low-state-hover-theme-dark-background-color: rgba(
300325
255,
301326
255,
@@ -337,8 +362,8 @@
337362
0,
338363
0,
339364
0,
340-
0.87
341-
); /* Neutral dark color */
365+
0.7
366+
); /* Base dark color with 70% opacity */
342367
--lumx-navigation-item-emphasis-low-state-active-theme-light-label-color: rgba(
343368
0,
344369
0,
@@ -355,8 +380,8 @@
355380
0,
356381
0,
357382
0,
358-
0.87
359-
); /* Neutral dark color */
383+
0.7
384+
); /* Base dark color with 70% opacity */
360385
--lumx-navigation-item-emphasis-low-state-active-theme-dark-background-color: rgba(
361386
255,
362387
255,
@@ -477,7 +502,12 @@
477502
--lumx-tabs-link-emphasis-low-state-default-border-bottom-width: 2px;
478503
--lumx-tabs-link-emphasis-low-state-default-border-left-width: 0;
479504
--lumx-tabs-link-emphasis-low-state-default-theme-light-background-color: transparent;
480-
--lumx-tabs-link-emphasis-low-state-default-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
505+
--lumx-tabs-link-emphasis-low-state-default-theme-light-color: rgba(
506+
0,
507+
0,
508+
0,
509+
0.7
510+
); /* Base dark color with 70% opacity */
481511
--lumx-tabs-link-emphasis-low-state-default-theme-light-border-color: rgba(
482512
0,
483513
0,
@@ -502,7 +532,12 @@
502532
0,
503533
0.12
504534
); /* Base dark color with 12% opacity */
505-
--lumx-tabs-link-emphasis-low-state-hover-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
535+
--lumx-tabs-link-emphasis-low-state-hover-theme-light-color: rgba(
536+
0,
537+
0,
538+
0,
539+
0.7
540+
); /* Base dark color with 70% opacity */
506541
--lumx-tabs-link-emphasis-low-state-hover-theme-light-border-color: rgba(
507542
0,
508543
0,
@@ -532,7 +567,12 @@
532567
0,
533568
0.2
534569
); /* Base dark color with 20% opacity */
535-
--lumx-tabs-link-emphasis-low-state-active-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
570+
--lumx-tabs-link-emphasis-low-state-active-theme-light-color: rgba(
571+
0,
572+
0,
573+
0,
574+
0.7
575+
); /* Base dark color with 70% opacity */
536576
--lumx-tabs-link-emphasis-low-state-active-theme-light-border-color: rgba(
537577
0,
538578
0,
@@ -557,7 +597,12 @@
557597
--lumx-tabs-link-emphasis-selected-state-default-border-bottom-width: 2px;
558598
--lumx-tabs-link-emphasis-selected-state-default-border-left-width: 0;
559599
--lumx-tabs-link-emphasis-selected-state-default-theme-light-background-color: transparent;
560-
--lumx-tabs-link-emphasis-selected-state-default-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
600+
--lumx-tabs-link-emphasis-selected-state-default-theme-light-color: rgba(
601+
0,
602+
0,
603+
0,
604+
0.7
605+
); /* Base dark color with 70% opacity */
561606
--lumx-tabs-link-emphasis-selected-state-default-theme-light-border-color: var(--lumx-color-primary-N);
562607
--lumx-tabs-link-emphasis-selected-state-default-theme-dark-background-color: transparent;
563608
--lumx-tabs-link-emphasis-selected-state-default-theme-dark-color: #fff; /* Neutral light color */
@@ -572,7 +617,12 @@
572617
0,
573618
0.12
574619
); /* Base dark color with 12% opacity */
575-
--lumx-tabs-link-emphasis-selected-state-hover-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
620+
--lumx-tabs-link-emphasis-selected-state-hover-theme-light-color: rgba(
621+
0,
622+
0,
623+
0,
624+
0.7
625+
); /* Base dark color with 70% opacity */
576626
--lumx-tabs-link-emphasis-selected-state-hover-theme-light-border-color: var(--lumx-color-primary-N);
577627
--lumx-tabs-link-emphasis-selected-state-hover-theme-dark-background-color: rgba(
578628
255,
@@ -592,7 +642,12 @@
592642
0,
593643
0.2
594644
); /* Base dark color with 20% opacity */
595-
--lumx-tabs-link-emphasis-selected-state-active-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
645+
--lumx-tabs-link-emphasis-selected-state-active-theme-light-color: rgba(
646+
0,
647+
0,
648+
0,
649+
0.7
650+
); /* Base dark color with 70% opacity */
596651
--lumx-tabs-link-emphasis-selected-state-active-theme-light-border-color: var(--lumx-color-primary-N);
597652
--lumx-tabs-link-emphasis-selected-state-active-theme-dark-background-color: rgba(
598653
255,
@@ -727,7 +782,7 @@
727782
); /* Base light color with 80% opacity */
728783
--lumx-border-radius: 4px;
729784
--lumx-color-dark-N: rgba(0, 0, 0, 0.87); /* Neutral dark color */
730-
--lumx-color-dark-L1: rgba(0, 0, 0, 0.8); /* Base dark color with 80% opacity */
785+
--lumx-color-dark-L1: rgba(0, 0, 0, 0.7); /* Base dark color with 70% opacity */
731786
--lumx-color-dark-L2: rgba(0, 0, 0, 0.54); /* Base dark color with 54% opacity */
732787
--lumx-color-dark-L3: rgba(0, 0, 0, 0.38); /* Base dark color with 38% opacity */
733788
--lumx-color-dark-L4: rgba(0, 0, 0, 0.2); /* Base dark color with 20% opacity */
@@ -811,7 +866,7 @@
811866
--lumx-color-accent-L5: rgba(76, 175, 80, 0.1); /* Base green color with 10% opacity */
812867
--lumx-color-accent-L6: rgba(76, 175, 80, 0.05); /* Base green color with 5% opacity */
813868
--lumx-color-black-N: rgba(0, 0, 0, 0.87); /* Neutral dark color */
814-
--lumx-color-black-L1: rgba(0, 0, 0, 0.8); /* Base dark color with 80% opacity */
869+
--lumx-color-black-L1: rgba(0, 0, 0, 0.7); /* Base dark color with 70% opacity */
815870
--lumx-color-black-L2: rgba(0, 0, 0, 0.54); /* Base dark color with 54% opacity */
816871
--lumx-color-black-L3: rgba(0, 0, 0, 0.38); /* Base dark color with 38% opacity */
817872
--lumx-color-black-L4: rgba(0, 0, 0, 0.2); /* Base dark color with 20% opacity */

0 commit comments

Comments
 (0)