This commit is contained in:
marcus.hinz
2026-07-03 20:46:26 +02:00
parent 8b9eeb44e2
commit 70e4898259
15 changed files with 1876 additions and 373 deletions
+39 -2
View File
@@ -1,7 +1,44 @@
<script setup lang="ts">
import HelloWorld from './components/HelloWorld.vue'
import { onMounted, ref } from "vue";
import { enable, disable, isEnabled } from "@tauri-apps/plugin-autostart";
import ProjectList from "./components/ProjectList.vue";
import PoolList from "./components/PoolList.vue";
const tab = ref<"projects" | "pools">("projects");
const autostart = ref(false);
onMounted(async () => {
autostart.value = await isEnabled();
});
async function toggleAutostart() {
if (autostart.value) {
await disable();
} else {
await enable();
}
autostart.value = await isEnabled();
}
</script>
<template>
<HelloWorld />
<header>
<h1>AI Control</h1>
<nav>
<button :class="{ active: tab === 'projects' }" @click="tab = 'projects'">
Projekte
</button>
<button :class="{ active: tab === 'pools' }" @click="tab = 'pools'">
Pools
</button>
</nav>
<label class="autostart">
<input type="checkbox" :checked="autostart" @change="toggleAutostart" />
Autostart
</label>
</header>
<main>
<ProjectList v-if="tab === 'projects'" />
<PoolList v-else />
</main>
</template>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.5 KiB

-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="37.07" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 198"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg>

Before

Width:  |  Height:  |  Size: 496 B

-95
View File
@@ -1,95 +0,0 @@
<script setup lang="ts">
import { ref } from 'vue'
import viteLogo from '../assets/vite.svg'
import heroImg from '../assets/hero.png'
import vueLogo from '../assets/vue.svg'
const count = ref(0)
</script>
<template>
<section id="center">
<div class="hero">
<img :src="heroImg" class="base" width="170" height="179" alt="" />
<img :src="vueLogo" class="framework" alt="Vue logo" />
<img :src="viteLogo" class="vite" alt="Vite logo" />
</div>
<div>
<h1>Get started</h1>
<p>Edit <code>src/App.vue</code> and save to test <code>HMR</code></p>
</div>
<button type="button" class="counter" @click="count++">
Count is {{ count }}
</button>
</section>
<div class="ticks"></div>
<section id="next-steps">
<div id="docs">
<svg class="icon" role="presentation" aria-hidden="true">
<use href="/icons.svg#documentation-icon"></use>
</svg>
<h2>Documentation</h2>
<p>Your questions, answered</p>
<ul>
<li>
<a href="https://vite.dev/" target="_blank">
<img class="logo" :src="viteLogo" alt="" />
Explore Vite
</a>
</li>
<li>
<a href="https://vuejs.org/" target="_blank">
<img class="button-icon" :src="vueLogo" alt="" />
Learn more
</a>
</li>
</ul>
</div>
<div id="social">
<svg class="icon" role="presentation" aria-hidden="true">
<use href="/icons.svg#social-icon"></use>
</svg>
<h2>Connect with us</h2>
<p>Join the Vite community</p>
<ul>
<li>
<a href="https://github.com/vitejs/vite" target="_blank">
<svg class="button-icon" role="presentation" aria-hidden="true">
<use href="/icons.svg#github-icon"></use>
</svg>
GitHub
</a>
</li>
<li>
<a href="https://chat.vite.dev/" target="_blank">
<svg class="button-icon" role="presentation" aria-hidden="true">
<use href="/icons.svg#discord-icon"></use>
</svg>
Discord
</a>
</li>
<li>
<a href="https://x.com/vite_js" target="_blank">
<svg class="button-icon" role="presentation" aria-hidden="true">
<use href="/icons.svg#x-icon"></use>
</svg>
X.com
</a>
</li>
<li>
<a href="https://bsky.app/profile/vite.dev" target="_blank">
<svg class="button-icon" role="presentation" aria-hidden="true">
<use href="/icons.svg#bluesky-icon"></use>
</svg>
Bluesky
</a>
</li>
</ul>
</div>
</section>
<div class="ticks"></div>
<section id="spacer"></section>
</template>
+344
View File
@@ -0,0 +1,344 @@
<script setup lang="ts">
import { computed, onMounted, ref } from "vue";
import { invoke } from "@tauri-apps/api/core";
interface Pool {
name: string;
credentialType: string;
projects: string[];
}
const pools = ref<Pool[]>([]);
const error = ref("");
const busy = ref(false);
type Mode = "oauth" | "apikey";
const dialog = ref<{ mode: Mode; editing: boolean } | null>(null);
const dName = ref("");
const dKey = ref("");
const dialogTitle = computed(() => {
if (!dialog.value) return "";
if (dialog.value.mode === "oauth") return "Neuen oAuth-Pool anlegen";
if (dialog.value.editing) return `API-Key ändern ${dName.value}`;
return "Neuen API-Key-Pool anlegen";
});
function openNew(mode: Mode) {
dName.value = "";
dKey.value = "";
error.value = "";
dialog.value = { mode, editing: false };
}
function openEditKey(pool: string) {
dName.value = pool;
dKey.value = "";
error.value = "";
dialog.value = { mode: "apikey", editing: true };
}
function closeDialog() {
if (busy.value) return;
dialog.value = null;
}
async function refresh() {
try {
pools.value = await invoke<Pool[]>("list_pools");
error.value = "";
} catch (e) {
error.value = String(e);
}
}
async function submit() {
const d = dialog.value;
if (!d) return;
busy.value = true;
error.value = "";
try {
if (d.mode === "oauth") {
await invoke("create_oauth_pool", { name: dName.value });
} else if (d.editing) {
await invoke("set_apikey", { pool: dName.value, key: dKey.value });
} else {
await invoke("create_apikey_pool", { name: dName.value, key: dKey.value });
}
dialog.value = null;
await refresh();
} catch (e) {
error.value = String(e);
} finally {
busy.value = false;
}
}
const deleteName = ref<string | null>(null);
function askDelete(pool: string) {
error.value = "";
deleteName.value = pool;
}
async function confirmDelete() {
const name = deleteName.value;
if (!name) return;
busy.value = true;
error.value = "";
try {
await invoke("delete_pool", { name });
deleteName.value = null;
await refresh();
} catch (e) {
error.value = String(e);
} finally {
busy.value = false;
}
}
async function relogin(pool: string) {
busy.value = true;
error.value = "";
try {
await invoke("oauth_login", { pool });
await refresh();
} catch (e) {
error.value = String(e);
} finally {
busy.value = false;
}
}
async function renew(pool: string) {
busy.value = true;
error.value = "";
try {
await invoke("oauth_refresh", { pool });
} catch (e) {
error.value = String(e);
} finally {
busy.value = false;
}
}
onMounted(refresh);
</script>
<template>
<div class="toolbar">
<button class="primary" :disabled="busy" @click="openNew('oauth')">
+ oAuth
</button>
<button class="primary" :disabled="busy" @click="openNew('apikey')">
+ apiKey
</button>
</div>
<p v-if="error" class="error">{{ error }}</p>
<table v-if="pools.length">
<thead>
<tr>
<th>Pool</th>
<th>Typ</th>
<th class="actions-col">Aktionen</th>
</tr>
</thead>
<tbody>
<tr v-for="p in pools" :key="p.name">
<td><strong>{{ p.name }}</strong></td>
<td>
<span class="badge" :class="p.credentialType">{{ p.credentialType }}</span>
</td>
<td class="actions-col">
<template v-if="p.credentialType === 'oauth'">
<button :disabled="busy" @click="relogin(p.name)">Neu anmelden</button>
<button :disabled="busy" @click="renew(p.name)">Token erneuern</button>
</template>
<template v-else>
<button :disabled="busy" @click="openEditKey(p.name)">Key ändern</button>
</template>
<button
v-if="!p.projects.length"
class="danger"
:disabled="busy"
@click="askDelete(p.name)"
>
Löschen
</button>
<span v-else class="assigned" :title="p.projects.join(', ')">
zugeordnet: {{ p.projects.join(", ") }}
</span>
</td>
</tr>
</tbody>
</table>
<p v-else class="empty">Noch keine Pools angelegt.</p>
<div v-if="dialog" class="modal-backdrop" @click.self="closeDialog">
<form class="modal" @submit.prevent="submit">
<h2>{{ dialogTitle }}</h2>
<label v-if="!dialog.editing">
<span>Name</span>
<input v-model="dName" placeholder="z. B. Mx9Privat" autofocus required />
</label>
<label v-if="dialog.mode === 'apikey'">
<span>API-Key</span>
<input
v-model="dKey"
type="password"
placeholder="sk-ant-api03-…"
:autofocus="dialog.editing"
required
/>
</label>
<p v-if="dialog.mode === 'oauth'" class="hint">
Nach Login starten öffnet sich der Browser zur Anmeldung gegen dein Abo.
</p>
<p v-if="busy && dialog.mode === 'oauth'" class="hint busy">
Warte auf die Anmeldung im Browser
</p>
<div class="modal-actions">
<button type="button" :disabled="busy" @click="closeDialog">Abbrechen</button>
<button type="submit" class="primary" :disabled="busy">
{{ dialog.mode === "oauth" ? "Login starten" : "Speichern" }}
</button>
</div>
</form>
</div>
<div v-if="deleteName" class="modal-backdrop" @click.self="deleteName = null">
<div class="modal">
<h2>Pool löschen</h2>
<p class="hint">
Pool <strong>{{ deleteName }}</strong> und seine Credential-Datei werden
gelöscht. Das lässt sich nicht rückgängig machen.
</p>
<div class="modal-actions">
<button type="button" :disabled="busy" @click="deleteName = null">
Abbrechen
</button>
<button class="danger" :disabled="busy" @click="confirmDelete">
Löschen
</button>
</div>
</div>
</div>
</template>
<style scoped>
.toolbar {
display: flex;
gap: 0.5rem;
margin-bottom: 1.25rem;
}
.primary {
background: #4a4af0;
border-color: #4a4af0;
color: #fff;
}
.primary:hover:not(:disabled) {
background: #5b5bf5;
}
button:disabled {
opacity: 0.5;
cursor: default;
}
.actions-col {
text-align: right;
white-space: nowrap;
}
.actions-col button {
margin-left: 0.4rem;
}
.danger {
color: #ff6b6b;
border-color: #ff6b6b55;
}
.danger:hover:not(:disabled) {
background: #ff6b6b22;
}
.assigned {
color: #888;
font-size: 0.8rem;
}
.badge {
display: inline-block;
padding: 0.1rem 0.5rem;
border-radius: 999px;
font-size: 0.75rem;
border: 1px solid #444;
color: #cfcfd6;
}
.badge.oauth {
border-color: #3ecf6a55;
color: #3ecf6a;
}
.badge.apikey {
border-color: #f0a84a55;
color: #f0a84a;
}
.empty {
color: #888;
}
.modal-backdrop {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.55);
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
}
.modal {
display: flex;
flex-direction: column;
gap: 0.9rem;
background: #23232a;
border: 1px solid #3a3a44;
border-radius: 12px;
padding: 1.5rem;
min-width: 24rem;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.modal h2 {
font-size: 1rem;
margin: 0;
}
.modal label {
display: flex;
flex-direction: column;
gap: 0.3rem;
}
.modal label span {
font-size: 0.8rem;
color: #999;
}
.modal input {
width: 100%;
}
.hint {
margin: 0;
font-size: 0.8rem;
color: #999;
}
.hint.busy {
color: #4a9af5;
}
.modal-actions {
display: flex;
gap: 0.5rem;
justify-content: flex-end;
margin-top: 0.25rem;
}
</style>
+148
View File
@@ -0,0 +1,148 @@
<script setup lang="ts">
import { onMounted, onUnmounted, ref } from "vue";
import { invoke } from "@tauri-apps/api/core";
interface Project {
name: string;
path: string;
pool: string | null;
running: boolean;
}
interface Pool {
name: string;
credentialFile: string;
credentialType: string;
}
const projects = ref<Project[]>([]);
const pools = ref<Pool[]>([]);
const error = ref("");
async function refresh() {
try {
projects.value = await invoke<Project[]>("list_projects");
pools.value = await invoke<Pool[]>("list_pools");
error.value = "";
} catch (e) {
error.value = String(e);
}
}
async function start(project: Project) {
try {
await invoke("start_project", { project: project.name });
await refresh();
} catch (e) {
error.value = String(e);
}
}
interface PendingRestart {
name: string;
from: string | null;
to: string;
}
const pending = ref<PendingRestart | null>(null);
const restarting = ref(false);
async function assign(project: Project, event: Event) {
const pool = (event.target as HTMLSelectElement).value;
const from = project.pool;
try {
await invoke("assign_pool", { project: project.name, pool });
if (project.running && pool !== from) {
pending.value = { name: project.name, from, to: pool };
}
await refresh();
} catch (e) {
error.value = String(e);
}
}
async function restartNow() {
const p = pending.value!;
restarting.value = true;
try {
await invoke("restart_project", { project: p.name });
pending.value = null;
await refresh();
} catch (e) {
error.value = String(e);
pending.value = null;
}
restarting.value = false;
}
let timer: number;
onMounted(() => {
refresh();
timer = window.setInterval(refresh, 3000);
});
onUnmounted(() => window.clearInterval(timer));
</script>
<template>
<p v-if="error" class="error">{{ error }}</p>
<table>
<thead>
<tr>
<th></th>
<th>Projekt</th>
<th>Pool</th>
<th></th>
</tr>
</thead>
<tbody>
<tr v-for="p in projects" :key="p.name">
<td>
<span class="dot" :class="{ on: p.running }"></span>
</td>
<td>
<strong>{{ p.name }}</strong>
<small>{{ p.path }}</small>
</td>
<td>
<select :value="p.pool ?? ''" @change="assign(p, $event)">
<option value="" disabled> kein Pool </option>
<option v-for="pool in pools" :key="pool.name" :value="pool.name">
{{ pool.name }}
</option>
</select>
</td>
<td>
<button @click="start(p)">
{{ p.running ? "Aktivieren" : "Starten" }}
</button>
</td>
</tr>
</tbody>
</table>
<div v-if="pending" class="overlay">
<div class="dialog">
<h3>{{ pending.name }} läuft noch</h3>
<p>
Der Pool-Wechsel ist gespeichert. Die laufende Session arbeitet aber
weiter im alten Pool der neue gilt erst ab dem nächsten Start.
</p>
<div class="pools">
<span class="chip">{{ pending.from ?? "kein Pool" }}</span>
<span class="arrow"></span>
<span class="chip new">{{ pending.to }}</span>
</div>
<p class="hint">
Der Neustart beendet die laufende Session. Der automatische
commit+push von claude-sync nach Sessionende entfällt dabei
Ghostty fragt bei laufendem Prozess vor dem Beenden noch einmal nach.
</p>
<div class="actions">
<button @click="pending = null">Weiterlaufen lassen</button>
<button class="primary" :disabled="restarting" @click="restartNow">
{{ restarting ? "Starte neu " : "Jetzt neu starten" }}
</button>
</div>
</div>
</div>
</template>
+185 -264
View File
@@ -1,296 +1,217 @@
:root {
--text: #6b6375;
--text-h: #08060d;
--bg: #fff;
--border: #e5e4e7;
--code-bg: #f4f3ec;
--accent: #aa3bff;
--accent-bg: rgba(170, 59, 255, 0.1);
--accent-border: rgba(170, 59, 255, 0.5);
--social-bg: rgba(244, 243, 236, 0.5);
--shadow:
rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;
--sans: system-ui, 'Segoe UI', Roboto, sans-serif;
--heading: system-ui, 'Segoe UI', Roboto, sans-serif;
--mono: ui-monospace, Consolas, monospace;
font: 18px/145% var(--sans);
letter-spacing: 0.18px;
color-scheme: light dark;
color: var(--text);
background: var(--bg);
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@media (max-width: 1024px) {
font-size: 16px;
}
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-size: 14px;
color: #e6e6e6;
background: #1b1b1f;
color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
:root {
--text: #9ca3af;
--text-h: #f3f4f6;
--bg: #16171d;
--border: #2e303a;
--code-bg: #1f2028;
--accent: #c084fc;
--accent-bg: rgba(192, 132, 252, 0.15);
--accent-border: rgba(192, 132, 252, 0.5);
--social-bg: rgba(47, 48, 58, 0.5);
--shadow:
rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
}
#social .button-icon {
filter: invert(1) brightness(2);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
}
h1,
h2 {
font-family: var(--heading);
font-weight: 500;
color: var(--text-h);
header {
display: flex;
align-items: center;
gap: 1.5rem;
padding: 0.75rem 1.25rem;
border-bottom: 1px solid #333;
}
h1 {
font-size: 56px;
letter-spacing: -1.68px;
margin: 32px 0;
@media (max-width: 1024px) {
font-size: 36px;
margin: 20px 0;
}
}
h2 {
font-size: 24px;
line-height: 118%;
letter-spacing: -0.24px;
margin: 0 0 8px;
@media (max-width: 1024px) {
font-size: 20px;
}
}
p {
font-size: 1rem;
margin: 0;
}
code,
.counter {
font-family: var(--mono);
display: inline-flex;
border-radius: 4px;
color: var(--text-h);
h2 {
font-size: 0.9rem;
margin: 0 0 0.5rem;
}
code {
font-size: 15px;
line-height: 135%;
padding: 4px 8px;
background: var(--code-bg);
}
.counter {
font-size: 16px;
padding: 5px 10px;
border-radius: 5px;
color: var(--accent);
background: var(--accent-bg);
border: 2px solid transparent;
transition: border-color 0.3s;
margin-bottom: 24px;
&:hover {
border-color: var(--accent-border);
}
&:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
}
.hero {
position: relative;
.base,
.framework,
.vite {
inset-inline: 0;
margin: 0 auto;
}
.base {
width: 170px;
position: relative;
z-index: 0;
}
.framework,
.vite {
position: absolute;
}
.framework {
z-index: 1;
top: 34px;
height: 28px;
transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg)
scale(1.4);
}
.vite {
z-index: 0;
top: 107px;
height: 26px;
width: auto;
transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg)
scale(0.8);
}
}
#app {
width: 1126px;
max-width: 100%;
margin: 0 auto;
text-align: center;
border-inline: 1px solid var(--border);
min-height: 100svh;
nav {
display: flex;
flex-direction: column;
box-sizing: border-box;
gap: 0.5rem;
}
#center {
display: flex;
flex-direction: column;
gap: 25px;
place-content: center;
place-items: center;
flex-grow: 1;
@media (max-width: 1024px) {
padding: 32px 20px 24px;
gap: 18px;
}
main {
padding: 1.25rem;
}
#next-steps {
display: flex;
border-top: 1px solid var(--border);
text-align: left;
& > div {
flex: 1 1 0;
padding: 32px;
@media (max-width: 1024px) {
padding: 24px 20px;
}
}
.icon {
margin-bottom: 16px;
width: 22px;
height: 22px;
}
@media (max-width: 1024px) {
flex-direction: column;
text-align: center;
}
button,
select,
input {
font: inherit;
color: inherit;
background: #2a2a30;
border: 1px solid #444;
border-radius: 6px;
padding: 0.35rem 0.75rem;
}
#docs {
border-right: 1px solid var(--border);
@media (max-width: 1024px) {
border-right: none;
border-bottom: 1px solid var(--border);
}
button {
cursor: pointer;
}
#next-steps ul {
list-style: none;
padding: 0;
display: flex;
gap: 8px;
margin: 32px 0 0;
.logo {
height: 18px;
}
a {
color: var(--text-h);
font-size: 16px;
border-radius: 6px;
background: var(--social-bg);
display: flex;
padding: 6px 12px;
align-items: center;
gap: 8px;
text-decoration: none;
transition: box-shadow 0.3s;
&:hover {
box-shadow: var(--shadow);
}
.button-icon {
height: 18px;
width: 18px;
}
}
@media (max-width: 1024px) {
margin-top: 20px;
flex-wrap: wrap;
justify-content: center;
li {
flex: 1 1 calc(50% - 8px);
}
a {
width: 100%;
justify-content: center;
box-sizing: border-box;
}
}
button:hover {
background: #35353d;
}
#spacer {
height: 88px;
border-top: 1px solid var(--border);
@media (max-width: 1024px) {
height: 48px;
}
nav button.active {
background: #4a4af0;
border-color: #4a4af0;
}
.ticks {
position: relative;
table {
width: 100%;
&::before,
&::after {
content: '';
position: absolute;
top: -4.5px;
border: 5px solid transparent;
}
&::before {
left: 0;
border-left-color: var(--border);
}
&::after {
right: 0;
border-right-color: var(--border);
}
border-collapse: collapse;
margin-bottom: 1.5rem;
}
th {
text-align: left;
font-weight: 600;
color: #999;
padding: 0.4rem 0.6rem;
border-bottom: 1px solid #333;
}
td {
padding: 0.5rem 0.6rem;
border-bottom: 1px solid #26262b;
vertical-align: middle;
}
td small {
display: block;
color: #888;
}
.dot {
display: inline-block;
width: 10px;
height: 10px;
border-radius: 50%;
background: #555;
}
.dot.on {
background: #3ecf6a;
}
.error {
color: #ff6b6b;
white-space: pre-wrap;
}
form {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
align-items: center;
}
form h2 {
width: 100%;
}
form input {
min-width: 16rem;
}
.overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.55);
backdrop-filter: blur(3px);
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
}
.dialog {
background: #222228;
border: 1px solid #3a3a42;
border-radius: 12px;
padding: 1.75rem 2rem;
max-width: 34rem;
box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.dialog h3 {
margin: 0 0 0.75rem;
font-size: 1.05rem;
}
.dialog p {
margin: 0 0 0.75rem;
line-height: 1.5;
color: #cfcfd6;
}
.dialog .hint {
color: #9a9aa4;
font-size: 0.85rem;
}
.dialog .pools {
display: flex;
align-items: center;
gap: 0.6rem;
margin: 1rem 0 1.25rem;
}
.chip {
background: #2a2a30;
border: 1px solid #444;
border-radius: 999px;
padding: 0.2rem 0.7rem;
}
.chip.new {
border-color: #4a4af0;
color: #b9b9ff;
}
.arrow {
color: #777;
}
.dialog .actions {
display: flex;
justify-content: flex-end;
gap: 0.6rem;
margin-top: 1.5rem;
}
button.primary {
background: #4a4af0;
border-color: #4a4af0;
}
button.primary:hover {
background: #5c5cf2;
}
button:disabled {
opacity: 0.55;
cursor: default;
}
header .autostart {
margin-left: auto;
display: flex;
align-items: center;
gap: 0.4rem;
color: #999;
cursor: pointer;
}
input[type="checkbox"] {
padding: 0;
accent-color: #4a4af0;
}