Rewrite app color tokens and fade-up animation.
Tailwind/shadcn imports, light/dark oklch values, and .animate-fade-up stay the same so layout does not shift.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
"""App token stylesheet lives under periscope/src."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
SRC = ROOT / "periscope" / "src" / "frontend" / "src" / "app" / "globals.css"
|
||||
|
||||
|
||||
def test_globals_css_is_src():
|
||||
text = SRC.read_text(encoding="utf-8")
|
||||
assert "Native Periscope overlay" not in text[:400]
|
||||
assert '@import "tailwindcss"' in text
|
||||
assert '@import "tw-animate-css"' in text
|
||||
assert '@import "shadcn/tailwind.css"' in text
|
||||
assert "@custom-variant dark" in text
|
||||
assert ".animate-fade-up" in text
|
||||
assert "oklch(0.145 0 0)" in text
|
||||
assert "oklch(0.488 0.243 264.376)" in text
|
||||
assert "@apply bg-background text-foreground" in text
|
||||
Reference in New Issue
Block a user