1
- import { Blues , Grays , Greens , Reds , Violet , TransitionFunction } from './0_primitives'
1
+ import { Blues , Grays , Greens , Reds , TransitionFunction , Violet } from './0_primitives'
2
2
import { SurfacesAndText } from './1_surfaces_text'
3
3
4
4
const { plain, inverted } = SurfacesAndText
@@ -148,13 +148,6 @@ export const createLightDesign = (Light: typeof plain.Light | typeof inverted.Li
148
148
} ,
149
149
} as const
150
150
151
- const Feedback = {
152
- Success : Greens [ 300 ] ,
153
- Info : Layer [ 3 ] . Fill ,
154
- Warning : Reds [ 400 ] ,
155
- Error : Reds [ 500 ] ,
156
- } as const
157
-
158
151
const Tabs = {
159
152
Transition,
160
153
UnderLined : {
@@ -246,7 +239,7 @@ export const createLightDesign = (Light: typeof plain.Light | typeof inverted.Li
246
239
Default : Grays [ 400 ] ,
247
240
Active : Light . Text . highlight ,
248
241
Filled : Grays [ 850 ] ,
249
- Error : Feedback . Error ,
242
+ Error : Reds [ 500 ] ,
250
243
} ,
251
244
} ,
252
245
Nested : {
@@ -256,7 +249,7 @@ export const createLightDesign = (Light: typeof plain.Light | typeof inverted.Li
256
249
Default : Grays [ 400 ] ,
257
250
Active : Light . Text . highlight ,
258
251
Filled : Grays [ 850 ] ,
259
- Error : Feedback . Error ,
252
+ Error : Reds [ 500 ] ,
260
253
} ,
261
254
} ,
262
255
} ,
@@ -285,7 +278,6 @@ export const createLightDesign = (Light: typeof plain.Light | typeof inverted.Li
285
278
Color,
286
279
Text,
287
280
Button,
288
- Feedback,
289
281
Layer,
290
282
Tabs,
291
283
Chips,
@@ -493,13 +485,6 @@ export const createDarkDesign = (Dark: typeof plain.Dark | typeof inverted.Dark)
493
485
} ,
494
486
} as const
495
487
496
- const Feedback = {
497
- Success : Greens [ 400 ] ,
498
- Info : Layer [ 3 ] . Fill ,
499
- Warning : Reds [ 300 ] ,
500
- Error : Reds [ 500 ] ,
501
- } as const
502
-
503
488
const Tabs = {
504
489
Transition,
505
490
UnderLined : {
@@ -589,7 +574,7 @@ export const createDarkDesign = (Dark: typeof plain.Dark | typeof inverted.Dark)
589
574
Default : color [ 600 ] ,
590
575
Active : Dark . Text . highlight ,
591
576
Filled : color [ 75 ] ,
592
- Error : Feedback . Error ,
577
+ Error : Reds [ 500 ] ,
593
578
} ,
594
579
} ,
595
580
Nested : {
@@ -599,7 +584,7 @@ export const createDarkDesign = (Dark: typeof plain.Dark | typeof inverted.Dark)
599
584
Default : color [ 600 ] ,
600
585
Active : Dark . Text . highlight ,
601
586
Filled : color [ 75 ] ,
602
- Error : Feedback . Error ,
587
+ Error : Reds [ 500 ] ,
603
588
} ,
604
589
} ,
605
590
} ,
@@ -628,7 +613,6 @@ export const createDarkDesign = (Dark: typeof plain.Dark | typeof inverted.Dark)
628
613
Color,
629
614
Text,
630
615
Button,
631
- Feedback,
632
616
Layer,
633
617
Tabs,
634
618
Chips,
@@ -779,13 +763,6 @@ export const createChadDesign = (Chad: typeof plain.Chad | typeof inverted.Chad)
779
763
} ,
780
764
} as const
781
765
782
- const Feedback = {
783
- Success : Greens [ 400 ] ,
784
- Info : Layer [ 3 ] . Fill ,
785
- Warning : Reds [ 400 ] ,
786
- Error : Reds [ 500 ] ,
787
- } as const
788
-
789
766
const Tabs = {
790
767
Transition,
791
768
UnderLined : {
@@ -877,7 +854,7 @@ export const createChadDesign = (Chad: typeof plain.Chad | typeof inverted.Chad)
877
854
Default : Violet [ 200 ] ,
878
855
Active : Chad . Text . highlight ,
879
856
Filled : Violet [ 400 ] ,
880
- Error : Feedback . Error ,
857
+ Error : Reds [ 500 ] ,
881
858
} ,
882
859
} ,
883
860
Nested : {
@@ -887,7 +864,7 @@ export const createChadDesign = (Chad: typeof plain.Chad | typeof inverted.Chad)
887
864
Default : Violet [ 200 ] ,
888
865
Active : Chad . Text . highlight ,
889
866
Filled : Violet [ 400 ] ,
890
- Error : Feedback . Error ,
867
+ Error : Reds [ 500 ] ,
891
868
} ,
892
869
} ,
893
870
} ,
@@ -916,7 +893,6 @@ export const createChadDesign = (Chad: typeof plain.Chad | typeof inverted.Chad)
916
893
Color,
917
894
Text,
918
895
Button,
919
- Feedback,
920
896
Layer,
921
897
Tabs,
922
898
Chips,
0 commit comments