@@ -126,12 +126,12 @@ export const OrganizationSettingsPageView: FC<
126
126
</ HorizontalForm >
127
127
128
128
{ ! organization . is_default && (
129
- < HorizontalContainer css = { { marginTop : 48 } } >
129
+ < HorizontalContainer className = "mt-12" >
130
130
< HorizontalSection
131
131
title = "Settings"
132
132
description = "Change or delete your organization."
133
133
>
134
- < div css = { styles . dangerSettings } >
134
+ < div className = "flex bg-surface-primary items-center justify-between border border-solid border-surface-quaternary rounded-[8px] p-3 pl-[18px] gap-2 flex-grow" >
135
135
< span > Deleting an organization is irreversible.</ span >
136
136
< Button variant = "destructive" onClick = { ( ) => setIsDeleting ( true ) } >
137
137
Delete this organization
@@ -152,44 +152,3 @@ export const OrganizationSettingsPageView: FC<
152
152
) ;
153
153
} ;
154
154
155
- const styles = {
156
- dangerSettings : ( theme ) => ( {
157
- display : "flex" ,
158
- backgroundColor : theme . roles . danger . background ,
159
- alignItems : "center" ,
160
- justifyContent : "space-between" ,
161
- border : `1px solid ${ theme . roles . danger . outline } ` ,
162
- borderRadius : 8 ,
163
- padding : 12 ,
164
- paddingLeft : 18 ,
165
- gap : 8 ,
166
- lineHeight : "18px" ,
167
- flexGrow : 1 ,
168
-
169
- "& .option" : {
170
- color : theme . roles . danger . fill . solid ,
171
- "&.Mui-checked" : {
172
- color : theme . roles . danger . fill . solid ,
173
- } ,
174
- } ,
175
-
176
- "& .info" : {
177
- fontSize : 14 ,
178
- fontWeight : 600 ,
179
- color : theme . roles . danger . text ,
180
- } ,
181
- } ) ,
182
- dangerButton : ( theme ) => ( {
183
- borderColor : theme . roles . danger . outline ,
184
- color : theme . roles . danger . text ,
185
-
186
- "&.MuiLoadingButton-loading" : {
187
- color : theme . roles . danger . disabled . text ,
188
- } ,
189
-
190
- "&:hover:not(:disabled)" : {
191
- backgroundColor : theme . roles . danger . hover . background ,
192
- borderColor : theme . roles . danger . hover . fill . outline ,
193
- } ,
194
- } ) ,
195
- } satisfies Record < string , Interpolation < Theme > > ;
0 commit comments