Add rudimentary green theme

This commit is contained in:
2025-10-08 10:19:37 +02:00
parent 3812dd5d47
commit 81daf2aa0c
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
/* theme.css */
/* Green Bootstrap Theme */
:root {
--bs-primary: #198754;
--bs-primary-rgb: 25, 135, 84;
--bs-success: #198754;
--bs-success-rgb: 25, 135, 84;
--bs-link-color: var(--bs-primary);
--bs-link-hover-color: #146c43;
}
/* Explicit fallback overrides for older versions (<=5.2) */
.btn-primary {
color: #fff;
background-color: #198754;
border-color: #198754;
}
.btn-primary:hover {
color: #fff;
background-color: #157347;
border-color: #146c43;
}
.btn-primary:focus,
.btn-primary:active {
color: #fff;
background-color: #146c43;
border-color: #125c39;
}

View File

@@ -6,6 +6,7 @@
<title>Allmende Essen</title>
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/icons/bootstrap-icons.min.css" rel="stylesheet">
<link href="/static/css/allmende.css" rel="stylesheet">
</head>
<body class="p-3 m-0 border-0 bd-example">
<nav class="navbar navbar-expand-lg bg-body-tertiary">