feat(methanium-theme): add a border to cards
All checks were successful
/ deploy-and-package (push) Successful in 45s

This commit is contained in:
Alois 2026-08-30 12:52:27 +02:00
commit 586eb5f277
Signed by: alois
SSH key fingerprint: SHA256:GBzT2DXvAuGV9XIV5W3WrzVpjU54FThmxHXdbz95J24
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@methanium/ui",
"version": "0.0.31",
"version": "0.0.32",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",

View file

@ -441,7 +441,7 @@ export const BUILT_IN_THEMES = defineThemes([
}
:root[data-theme="methanium"] [data-slot="card"] {
padding-block: calc(1rem * var(--ui-density));
border: none;
border: 1px solid var(--input);
background-color: color-mix(in srgb, var(--input) 55%, var(--background));
}
:root[data-theme="methanium"] [data-slot="button"][data-variant="default"] {