Skip to content

Commit d4f6e5f

Browse files
committed
Revert "feat(color): soften medium and low dark buttons color"
This reverts commit bad3a61.
1 parent b6da0a1 commit d4f6e5f

File tree

18 files changed

+149
-259
lines changed

18 files changed

+149
-259
lines changed

CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3838
- Slideshow : fixed keyboard navigation, now the right arrow goes to the next slides and the left to the previous one.
3939
- Dialog : Focus parent element everytime the dialog closes, not only on escape and clickaway.
4040

41-
### Changed
42-
43-
- Soften medium and low dark buttons color.
44-
4541
## [2.1.3][] - 2021-11-19
4642

4743
### Added

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

Lines changed: 33 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Thu, 18 Nov 2021 15:14:46 GMT
3+
* Generated on Tue, 19 Oct 2021 08:35:24 GMT
44
*/
55

66
:root {
@@ -48,12 +48,7 @@
4848
0,
4949
0.12
5050
); /* Base dark color with 12% opacity */
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 80% opacity */
51+
--lumx-button-emphasis-medium-state-default-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
5752
--lumx-button-emphasis-medium-state-default-theme-light-border-color: transparent;
5853
--lumx-button-emphasis-medium-state-default-theme-dark-background-color: rgba(
5954
255,
@@ -71,12 +66,7 @@
7166
0,
7267
0.2
7368
); /* Base dark color with 20% opacity */
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 80% opacity */
69+
--lumx-button-emphasis-medium-state-hover-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
8070
--lumx-button-emphasis-medium-state-hover-theme-light-border-color: transparent;
8171
--lumx-button-emphasis-medium-state-hover-theme-dark-background-color: rgba(
8272
255,
@@ -94,12 +84,7 @@
9484
0,
9585
0.38
9686
); /* Base dark color with 38% opacity */
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 80% opacity */
87+
--lumx-button-emphasis-medium-state-active-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
10388
--lumx-button-emphasis-medium-state-active-theme-light-border-color: transparent;
10489
--lumx-button-emphasis-medium-state-active-theme-dark-background-color: rgba(
10590
255,
@@ -112,12 +97,7 @@
11297
--lumx-button-emphasis-low-state-default-padding-horizontal: 8px;
11398
--lumx-button-emphasis-low-state-default-border-width: 0;
11499
--lumx-button-emphasis-low-state-default-theme-light-background-color: transparent;
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 80% opacity */
100+
--lumx-button-emphasis-low-state-default-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
121101
--lumx-button-emphasis-low-state-default-theme-light-border-color: transparent;
122102
--lumx-button-emphasis-low-state-default-theme-dark-background-color: transparent;
123103
--lumx-button-emphasis-low-state-default-theme-dark-color: #fff; /* Neutral light color */
@@ -130,7 +110,7 @@
130110
0,
131111
0.12
132112
); /* Base dark color with 12% opacity */
133-
--lumx-button-emphasis-low-state-hover-theme-light-color: rgba(0, 0, 0, 0.7); /* Base dark color with 80% opacity */
113+
--lumx-button-emphasis-low-state-hover-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
134114
--lumx-button-emphasis-low-state-hover-theme-light-border-color: transparent;
135115
--lumx-button-emphasis-low-state-hover-theme-dark-background-color: rgba(
136116
255,
@@ -148,12 +128,7 @@
148128
0,
149129
0.2
150130
); /* Base dark color with 20% opacity */
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 80% opacity */
131+
--lumx-button-emphasis-low-state-active-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
157132
--lumx-button-emphasis-low-state-active-theme-light-border-color: transparent;
158133
--lumx-button-emphasis-low-state-active-theme-dark-background-color: rgba(
159134
255,
@@ -255,21 +230,21 @@
255230
0,
256231
0,
257232
0,
258-
0.7
259-
); /* Base dark color with 80% opacity */
233+
0.87
234+
); /* Neutral dark color */
260235
--lumx-navigation-item-emphasis-low-state-default-theme-light-label-color: rgba(
261236
0,
262237
0,
263238
0,
264-
0.7
265-
); /* Base dark color with 80% opacity */
239+
0.87
240+
); /* Neutral dark color */
266241
--lumx-navigation-item-emphasis-low-state-default-theme-light-chevron-background-color: transparent;
267242
--lumx-navigation-item-emphasis-low-state-default-theme-light-chevron-color: rgba(
268243
0,
269244
0,
270245
0,
271-
0.7
272-
); /* Base dark color with 80% opacity */
246+
0.87
247+
); /* Neutral dark color */
273248
--lumx-navigation-item-emphasis-low-state-default-theme-dark-background-color: transparent;
274249
--lumx-navigation-item-emphasis-low-state-default-theme-dark-border-color: rgba(
275250
255,
@@ -301,14 +276,14 @@
301276
0,
302277
0,
303278
0,
304-
0.7
305-
); /* Base dark color with 80% opacity */
279+
0.87
280+
); /* Neutral dark color */
306281
--lumx-navigation-item-emphasis-low-state-hover-theme-light-label-color: rgba(
307282
0,
308283
0,
309284
0,
310-
0.7
311-
); /* Base dark color with 80% opacity */
285+
0.87
286+
); /* Neutral dark color */
312287
--lumx-navigation-item-emphasis-low-state-hover-theme-light-chevron-background-color: rgba(
313288
0,
314289
0,
@@ -319,8 +294,8 @@
319294
0,
320295
0,
321296
0,
322-
0.7
323-
); /* Base dark color with 80% opacity */
297+
0.87
298+
); /* Neutral dark color */
324299
--lumx-navigation-item-emphasis-low-state-hover-theme-dark-background-color: rgba(
325300
255,
326301
255,
@@ -362,14 +337,14 @@
362337
0,
363338
0,
364339
0,
365-
0.7
366-
); /* Base dark color with 80% opacity */
340+
0.87
341+
); /* Neutral dark color */
367342
--lumx-navigation-item-emphasis-low-state-active-theme-light-label-color: rgba(
368343
0,
369344
0,
370345
0,
371-
0.7
372-
); /* Base dark color with 80% opacity */
346+
0.87
347+
); /* Neutral dark color */
373348
--lumx-navigation-item-emphasis-low-state-active-theme-light-chevron-background-color: rgba(
374349
0,
375350
0,
@@ -380,8 +355,8 @@
380355
0,
381356
0,
382357
0,
383-
0.7
384-
); /* Base dark color with 80% opacity */
358+
0.87
359+
); /* Neutral dark color */
385360
--lumx-navigation-item-emphasis-low-state-active-theme-dark-background-color: rgba(
386361
255,
387362
255,
@@ -502,12 +477,7 @@
502477
--lumx-tabs-link-emphasis-low-state-default-border-bottom-width: 2px;
503478
--lumx-tabs-link-emphasis-low-state-default-border-left-width: 0;
504479
--lumx-tabs-link-emphasis-low-state-default-theme-light-background-color: transparent;
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 80% opacity */
480+
--lumx-tabs-link-emphasis-low-state-default-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
511481
--lumx-tabs-link-emphasis-low-state-default-theme-light-border-color: rgba(
512482
0,
513483
0,
@@ -532,12 +502,7 @@
532502
0,
533503
0.12
534504
); /* Base dark color with 12% opacity */
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 80% opacity */
505+
--lumx-tabs-link-emphasis-low-state-hover-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
541506
--lumx-tabs-link-emphasis-low-state-hover-theme-light-border-color: rgba(
542507
0,
543508
0,
@@ -567,12 +532,7 @@
567532
0,
568533
0.2
569534
); /* Base dark color with 20% opacity */
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 80% opacity */
535+
--lumx-tabs-link-emphasis-low-state-active-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
576536
--lumx-tabs-link-emphasis-low-state-active-theme-light-border-color: rgba(
577537
0,
578538
0,
@@ -597,12 +557,7 @@
597557
--lumx-tabs-link-emphasis-selected-state-default-border-bottom-width: 2px;
598558
--lumx-tabs-link-emphasis-selected-state-default-border-left-width: 0;
599559
--lumx-tabs-link-emphasis-selected-state-default-theme-light-background-color: transparent;
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 80% opacity */
560+
--lumx-tabs-link-emphasis-selected-state-default-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
606561
--lumx-tabs-link-emphasis-selected-state-default-theme-light-border-color: var(--lumx-color-primary-N);
607562
--lumx-tabs-link-emphasis-selected-state-default-theme-dark-background-color: transparent;
608563
--lumx-tabs-link-emphasis-selected-state-default-theme-dark-color: #fff; /* Neutral light color */
@@ -617,12 +572,7 @@
617572
0,
618573
0.12
619574
); /* Base dark color with 12% opacity */
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 80% opacity */
575+
--lumx-tabs-link-emphasis-selected-state-hover-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
626576
--lumx-tabs-link-emphasis-selected-state-hover-theme-light-border-color: var(--lumx-color-primary-N);
627577
--lumx-tabs-link-emphasis-selected-state-hover-theme-dark-background-color: rgba(
628578
255,
@@ -642,12 +592,7 @@
642592
0,
643593
0.2
644594
); /* Base dark color with 20% opacity */
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 80% opacity */
595+
--lumx-tabs-link-emphasis-selected-state-active-theme-light-color: rgba(0, 0, 0, 0.87); /* Neutral dark color */
651596
--lumx-tabs-link-emphasis-selected-state-active-theme-light-border-color: var(--lumx-color-primary-N);
652597
--lumx-tabs-link-emphasis-selected-state-active-theme-dark-background-color: rgba(
653598
255,
@@ -782,7 +727,7 @@
782727
); /* Base light color with 80% opacity */
783728
--lumx-border-radius: 4px;
784729
--lumx-color-dark-N: rgba(0, 0, 0, 0.87); /* Neutral dark color */
785-
--lumx-color-dark-L1: rgba(0, 0, 0, 0.7); /* Base dark color with 80% opacity */
730+
--lumx-color-dark-L1: rgba(0, 0, 0, 0.8); /* Base dark color with 80% opacity */
786731
--lumx-color-dark-L2: rgba(0, 0, 0, 0.54); /* Base dark color with 54% opacity */
787732
--lumx-color-dark-L3: rgba(0, 0, 0, 0.38); /* Base dark color with 38% opacity */
788733
--lumx-color-dark-L4: rgba(0, 0, 0, 0.2); /* Base dark color with 20% opacity */
@@ -866,7 +811,7 @@
866811
--lumx-color-accent-L5: rgba(76, 175, 80, 0.1); /* Base green color with 10% opacity */
867812
--lumx-color-accent-L6: rgba(76, 175, 80, 0.05); /* Base green color with 5% opacity */
868813
--lumx-color-black-N: rgba(0, 0, 0, 0.87); /* Neutral dark color */
869-
--lumx-color-black-L1: rgba(0, 0, 0, 0.7); /* Base dark color with 80% opacity */
814+
--lumx-color-black-L1: rgba(0, 0, 0, 0.8); /* Base dark color with 80% opacity */
870815
--lumx-color-black-L2: rgba(0, 0, 0, 0.54); /* Base dark color with 54% opacity */
871816
--lumx-color-black-L3: rgba(0, 0, 0, 0.38); /* Base dark color with 38% opacity */
872817
--lumx-color-black-L4: rgba(0, 0, 0, 0.2); /* Base dark color with 20% opacity */

0 commit comments

Comments
 (0)