File tree Expand file tree Collapse file tree 2 files changed +28
-5
lines changed Expand file tree Collapse file tree 2 files changed +28
-5
lines changed Original file line number Diff line number Diff line change 22
22
--surface-border-secondary : var (--surface-text-disabled );
23
23
--surface-border-inverted : var (--surface-text-invert );
24
24
--surface-border-brand : # DBEAFE ;
25
+ --status-success-text : # 16A34A ;
26
+ --status-success-border : # 86EFAC ;
27
+ --status-success-bg : # F0FDF4 ;
28
+ --status-warning-text : # 7C2D12 ;
29
+ --status-warning-border : # FEF3C7 ;
30
+ --status-warning-bg : # FEFCE8 ;
31
+ --status-danger-text : # DC2626 ;
32
+ --status-danger-border : # F87171 ;
33
+ --status-danger-bg : # FEF2F2 ;
25
34
}
26
35
27
36
74
83
}
75
84
76
85
.nav-item {
77
- @apply font-normal ml-2 opacity-70 hover:opacity-100 ;
86
+ @apply font-normal ml-2 hover:opacity-70 ;
78
87
}
79
88
.nav-item a {
80
89
@apply align-text-top;
@@ -121,10 +130,7 @@ body {
121
130
}
122
131
123
132
.message-bubble {
124
- @apply w-72 p-6 rounded-3.5xl rounded-bl-none relative text-base border border-black border-opacity-5;
125
-
126
- background : # fefce8 ;
127
- color : # 713f12 ;
133
+ @apply w-72 p-6 rounded-3.5xl rounded-bl-none relative text-base border bg-status-warning-bg border-status-warning-border text-status-warning-text;
128
134
}
129
135
130
136
@media only screen and (min-width : 992px ) {
Original file line number Diff line number Diff line change @@ -58,6 +58,23 @@ module.exports = {
58
58
brand : "var(--surface-border-brand)" ,
59
59
} ,
60
60
} ,
61
+ status : {
62
+ success : {
63
+ text : "var(--status-success-text)" ,
64
+ border : "var(--status-success-border)" ,
65
+ bg : "var(--status-success-bg)" ,
66
+ } ,
67
+ warning : {
68
+ text : "var(--status-warning-text)" ,
69
+ border : "var(--status-warning-border)" ,
70
+ bg : "var(--status-warning-bg)" ,
71
+ } ,
72
+ danger : {
73
+ text : "var(--status-danger-text)" ,
74
+ border : "var(--status-danger-border)" ,
75
+ bg : "var(--status-danger-bg)" ,
76
+ } ,
77
+ } ,
61
78
} ,
62
79
spacing : {
63
80
3.75 : "0.9375rem" ,
You can’t perform that action at this time.
0 commit comments