diff --git a/.gitignore b/.gitignore index 6575dcc..cba4e2a 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,5 @@ logs # Supabase .branches .temp + +.scannerwork/ diff --git a/app.vue b/app.vue index c64da14..769d005 100644 --- a/app.vue +++ b/app.vue @@ -47,7 +47,7 @@ const { isSidebarOpened } = storeToRefs(useUiStore())
diff --git a/assets/_content.css b/assets/_content.css new file mode 100644 index 0000000..a9f98a5 --- /dev/null +++ b/assets/_content.css @@ -0,0 +1,70 @@ +.content { + > * + * { + margin-top: .5em; + + @variant md { + margin-top: .75rem; + } + } + + h1 { + font-size: var(--text-3xl); + font-weight: var(--font-weight-bold); + + @variant md { + font-size: var(--text-4xl); + } + } + h2 { + font-size: var(--text-xl); + font-weight: var(--font-weight-bold); + + @variant md { + font-size: var(--text-2xl); + } + } + h3 { + font-size: var(--text-lg); + font-weight: var(--font-weight-bold); + + @variant md { + font-size: var(--text-xl); + } + } + h4 { + font-size: var(--text-md); + font-weight: var(--font-weight-bold); + + @variant md { + font-size: var(--text-lg); + } + } + + /* Normal link */ + p a:not([class]) { + color: var(--color-sky-600); + text-underline-offset: .25rem; + + &:hover { + color: var(--color-sky-500); + text-decoration: underline; + } + + @variant dark { + color: var(--color-teal-500); + + &:hover { + color: var(--color-teal-300); + } + } + } + + ul { + list-style-type: square; + padding-inline-start: 1.5rem; + } + + hr { + margin-block: 2rem; + } +} diff --git a/assets/main.css b/assets/main.css index 5601a45..14b2187 100644 --- a/assets/main.css +++ b/assets/main.css @@ -7,6 +7,8 @@ @import "./_colors.css" layer(theme); @import "./_colors.css" layer(utilities); +@import "./_content.css"; + /* The default border color has changed to `currentcolor` in Tailwind CSS v4, so we've added these compatibility styles to make sure everything still diff --git a/components/calendar/SearchMode.ts b/components/calendar/SearchMode.ts index ae5033c..b5515e1 100644 --- a/components/calendar/SearchMode.ts +++ b/components/calendar/SearchMode.ts @@ -1,3 +1,3 @@ -export const searchUnifier = new RegExp(/[^a-zA-Z0-9\-'']/g) +export const searchUnifier = new RegExp(/[^a-zA-Z0-9\-']/g) export type SearchMode = "characters" | "events" | undefined diff --git a/components/calendar/category/TableRow.vue b/components/calendar/category/TableRow.vue index 2ab81fa..12fb129 100644 --- a/components/calendar/category/TableRow.vue +++ b/components/calendar/category/TableRow.vue @@ -13,7 +13,7 @@ const { category } = defineProps<{ }>() const emit = defineEmits<{ - (e: "on-delete-category", payload: Category): void + "on-delete-category": [payload: Category] }>() type RowMode = "edit" | "view" diff --git a/components/calendar/dialog/Delete.vue b/components/calendar/dialog/Delete.vue index ca24365..beb4183 100644 --- a/components/calendar/dialog/Delete.vue +++ b/components/calendar/dialog/Delete.vue @@ -76,14 +76,6 @@ function handleClosing() {
-
-
- - - -
-
-