Compare commits

...
Author SHA1 Message Date
586eb5f277
feat(methanium-theme): add a border to cards
All checks were successful
/ deploy-and-package (push) Successful in 45s
2026-08-30 12:52:27 +02:00
13580277b4
feat(methanium-theme): improve card backgrounds
All checks were successful
/ deploy-and-package (push) Successful in 37s
2026-08-30 12:47:45 +02:00
2 changed files with 3 additions and 3 deletions

View file

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

View file

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