Fix border radius

This commit is contained in:
Ondřej 2023-08-20 17:12:25 +02:00
parent 635f61c1f3
commit b4b0ea90a7
2 changed files with 9 additions and 5 deletions

View file

@ -106,7 +106,7 @@
/* Forms */
.text-input {
border-radius: 0.125rem;
border-radius: 0.25rem;
border: 1px solid var(--color-border);
padding: 0.375rem 0.75rem;
transition: border-color 120ms, box-shadow 120ms;
@ -136,7 +136,7 @@
align-items: center;
flex-shrink: 0;
gap: 0.5em;
border-radius: 0.125rem;
border-radius: 0.25rem;
border: 1px solid var(--color-border);
background: #f3f4f6;
transition: background-color 120ms;
@ -192,11 +192,11 @@
}
.page-item:first-of-type {
border-radius: 0.125rem 0 0 0.125rem;
border-radius: 0.25rem 0 0 0.25rem;
}
.page-item:last-of-type {
border-radius: 0 0.125rem 0.125rem 0;
border-radius: 0 0.25rem 0.25rem 0;
}
.page-item:not(:last-of-type) {
@ -217,7 +217,7 @@
.card {
border: 1px solid var(--color-border);
border-radius: 0.375rem;
border-radius: 0.5rem;
background-color: white;
box-shadow: 0 2px 0 #e5e7eb;
overflow: hidden;

View file

@ -255,6 +255,10 @@ export default defineConfig({
colors: {
accent: theme.colors.blue,
},
borderRadius: {
sm: "0.25rem",
md: "0.5rem",
},
},
shortcuts: {
container: "max-w-1200px px-4 mx-auto",