Compare commits

...

2 Commits

Author SHA1 Message Date
5f8d96b6ae Set GIT_REV in flake
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 4s
Push Workflows / test (push) Successful in 17s
Push Workflows / docs (push) Successful in 17s
Push Workflows / clippy (push) Successful in 14s
Push Workflows / build (push) Successful in 39s
Push Workflows / nix-build (push) Successful in 4m47s
2026-06-20 22:47:49 -04:00
7c2c76ebd5 Add soft error color 2026-06-20 22:38:20 -04:00
2 changed files with 8 additions and 0 deletions

View File

@@ -85,6 +85,8 @@
tailwindcss_4 tailwindcss_4
postgresql postgresql
]; ];
rev = if builtins.hasAttr "rev" self then self.rev else self.dirtyRev;
in in
rec { rec {
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
@@ -104,6 +106,7 @@
DAISYUI_PATH = "${daisyui}"; DAISYUI_PATH = "${daisyui}";
DAISYUI_THEME_PATH = "${daisyui-theme}"; DAISYUI_THEME_PATH = "${daisyui-theme}";
GIT_REV = rev;
cargoLock.lockFile = ./Cargo.lock; cargoLock.lockFile = ./Cargo.lock;

View File

@@ -10,6 +10,11 @@
@source not "*"; @source not "*";
@source "./src/**/*.{rs,html,css}"; @source "./src/**/*.{rs,html,css}";
@theme {
/* Copied out of DaisyUI theme, which doesn't make the color available */
--color-soft-error: color-mix(in oklab, var(--color-error, var(--color-base-content)) 8%, var(--color-base-100));
}
@layer utilities { @layer utilities {
.interact { .interact {
@apply cursor-pointer; @apply cursor-pointer;