Files
probo/packages/ui/src/v2/theme.css
Émile Ré 311639ae98 Add z-index scale and overview redirect
Introduce a v2 z-1…z-6 stacking scale so portaled
menus sit above in-page media, and redirect the
legacy /overview trust-app URL to home.

Signed-off-by: Émile Ré <emile@probo.com>
2026-07-20 19:37:46 +02:00

43 lines
1.9 KiB
CSS

/* Copyright (c) 2026 Probo Inc <hello@probo.com>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
/*
* v2 theme entry
*
* Standalone Tailwind v4 theme for the v2 UI kit. An app opts in by importing
* this file instead of the v1 theme.css. Each token layer lives in its own
* file under ./theme; this entry just aggregates them.
*
* colors.css Radix color scales (solid + sand alpha) + palette reset
* typography.css Inter font + type scale (text-1…9) + font weights
* radius.css radius scale (rounded-1…6)
* shadows.css elevation scale (shadow-1…6)
* z-index.css stacking scale (z-1…6) by UI layer
*
* Spacing intentionally stays on Tailwind's native scale (not tokenized).
* See contrib/claude/v2-tokens.md for the full usage guide.
*/
@import "./theme/colors.css";
@import "./theme/typography.css";
@import "./theme/radius.css";
@import "./theme/shadows.css";
@import "./theme/z-index.css";