import { error, json } from "@sveltejs/kit"; import { auth, post } from "$lib/utils"; export async function POST({ cookies, request }) { try { const body = await request.json(); const res = await post("/disable2fa", body, auth(cookies)); return json(res); } catch (e) { error(500, "Problem disabling 2fa"); } } +xml'/>
aboutsummaryrefslogblamecommitdiffstats
path: root/src/app.css
blob: 3a722fb16fe1e503fe1c8d404a55455ae80713cd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                     








                                                                                        




                            



                                
 

          
                                                         


                
                                                                                                   


                
                                            
                        


                                 
                                     

                                   
 
@tailwind base;
@tailwind components;
@tailwind utilities;

@font-face {
	font-family: 'PublicSans';
	src: url('/fonts/Public_Sans/static/PublicSans-Regular.ttf') format('truetype');
}

html {
	font-family: PublicSans, sans-serif;
}

::selection {
	color: black;
	background: #eaf2ff;
}

:fullscreen {
	background-color: white;
}

input,
textarea {
	@apply block border rounded-2xl px-5 py-4 w-full;
}

button.primary {
	@apply rounded-full border py-2 font-bold my-4 flex px-4 bg-white mx-auto hover:opacity-80;
}

.select-styles {
	@apply border rounded-2xl py-4 px-5;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: transparent;
	background-repeat: no-repeat;
	background-position-x: 95%;
	background-position-y: 1em;
}