Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"devDependencies": {
"@eslint/eslintrc": "^3.3.7",
"@eslint/js": "^10.0.1",
"@tailwindcss/vite": "^4.3.3",
"@typescript-eslint/eslint-plugin": "^8.71.2",
"@typescript-eslint/parser": "^8.71.2",
"@vitejs/plugin-vue": "^6.0.10",
"autoprefixer": "^10.6.1",
"daisyui": "^4.12.24",
"daisyui": "^5.7.50",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-vue": "^10.11.1",
Expand All @@ -34,14 +34,14 @@
"postcss": "^8.5.31",
"prettier": "^3.9.10",
"rimraf": "^6.1.2",
"tailwindcss": "^3.4.19",
"tailwindcss": "^4.3.3",
"typescript": "^5.9.3",
"typescript-eslint": "^8.71.2",
"vite": "^8.3.4",
"vue-eslint-parser": "^10.4.1",
"vue-tsc": "^3.3.13"
},
"packageManager": "yarn@4.10.3+sha512.c38cafb5c7bb273f3926d04e55e1d8c9dfa7d9c3ea1f36a4868fa028b9e5f72298f0b7f401ad5eb921749eb012eb1c3bb74bf7503df3ee43fd600d14a018266f",
"packageManager": "yarn@4.15.0+sha512.07ec708ac11e2eaa4ea2b04cfbb272812f7e74a753f1595eaef4486c663a98306a30cca3e6fc40f7a0b168dcfb3a2490b6a5e0501e20fb69cc36f563dd161c53",
"dependenciesMeta": {
"remixicon@3.7.0": {
"unplugged": true
Expand Down
6 changes: 0 additions & 6 deletions client/postcss.config.js

This file was deleted.

4 changes: 2 additions & 2 deletions client/src/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ onMounted(() => {
</div>
</div>
<dialog id="missingRulesModal" ref="missingRulesModal" class="modal">
<div class="modal-box max-w-100">
<div class="card max-w-100">
<div class="modal-box">
<div class="card">
<div class="card-body">
<h2 class="font-bold text-xl text-center">
Missing Redaction Rules
Expand Down
128 changes: 125 additions & 3 deletions client/src/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,125 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "tailwindcss" source(none);
@source "../index.html";
@source "./**/*.{vue,js,ts}";

@plugin "daisyui" {
themes: false;
}

@plugin "daisyui/theme" {
name: "light";
default: true;
color-scheme: light;

--color-primary: #5a387c;
--color-primary-content: oklch(88.2706% 0.022745 305.041);
--color-secondary: #00a6bf;
--color-secondary-content: oklch(98.71% 0.0106 342.55);
--color-accent: #ff6a6a;
--color-accent-content: oklch(14.2031% 0.036485 22.9075);
--color-neutral: #201c35;
--color-neutral-content: oklch(89.4994% 0.011585 252.096);
--color-base-100: #ffffff;
--color-base-200: oklch(96.1151% 0 0);
--color-base-300: oklch(92.4169% 0.00108 197.138);
--color-base-content: oklch(27.8078% 0.029596 256.848);
--color-info: #3abff8;
--color-info-content: oklch(15.1705% 0.027481 231.617);
--color-success: #36d399;
--color-success-content: oklch(15.4663% 0.030576 163.103);
--color-warning: #fbbd23;
--color-warning-content: oklch(16.6604% 0.032836 83.4243);
--color-error: #f87272;
--color-error-content: oklch(14.2439% 0.032979 22.1506);

--radius-selector: 0.5rem;
--radius-field: 0.5rem;
--radius-box: 1rem;
--size-selector: 0.25rem;
--size-field: 0.25rem;
--border: 1px;
--depth: 0;
--noise: 0;
}

@theme {
--font-sans: Roboto, sans-serif;
--color-secondaryContent: #e8f2f3;
}

/*
Tailwind CSS v4 changed the default border color to currentColor; keep the
v3 default so borders look the same as before.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentcolor);
}
}

/*
Keep the daisyUI v4 appearance. These are unlayered so they take precedence
over daisyUI v5 (which is in the utilities layer), as the higher specificity
daisyUI v4 rules did.
*/
.btn {
--size: 3rem;
gap: 0.5rem;
line-height: 1em;
}
.btn-sm {
--size: 2rem;
--fontsize: 0.875rem;
}
.btn-xs {
--size: 1.5rem;
--fontsize: 0.75rem;
}
.btn-ghost {
color: inherit;
}
.btn:disabled,
.btn[disabled] {
border-color: transparent;
background-color: color-mix(in oklab, var(--color-neutral) 20%, transparent);
color: color-mix(in oklab, var(--color-base-content) 20%, transparent);
}
/* daisyUI v5 only shows a modal-box that is a direct child of the modal */
.modal[open] .modal-box {
opacity: 1;
translate: 0;
scale: 1;
}
:root:has(.modal[open]) {
overflow: hidden;
scrollbar-gutter: stable;
}
.table-xs :not(thead, tfoot) tr {
font-size: 0.75rem;
}
.card-body {
padding: 2rem;
font-size: inherit;
}
.card-title {
font-size: 1.25rem;
line-height: 1.75rem;
}
.toast {
inset-inline: auto 0;
bottom: 0;
width: auto;
max-width: none;
min-width: fit-content;
padding: 1rem;
white-space: nowrap;
}
.alert {
padding: 1rem;
font-size: inherit;
line-height: inherit;
}
64 changes: 0 additions & 64 deletions client/tailwind.config.js

This file was deleted.

3 changes: 2 additions & 1 deletion client/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import tailwindcss from "@tailwindcss/vite";

// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
plugins: [vue(), tailwindcss()],
});
Loading
Loading