(feat): improve tensamin theme
All checks were successful
/ deploy-and-package (push) Successful in 1m7s

This commit is contained in:
Alois 2026-07-26 18:38:09 +02:00
commit c186327012
Signed by: alois
SSH key fingerprint: SHA256:GBzT2DXvAuGV9XIV5W3WrzVpjU54FThmxHXdbz95J24
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -39,7 +39,7 @@ export const BUILT_IN_THEMES = defineThemes([
title: "Tensamin",
logo: TENSAMIN_LOGO,
defaultValues: {
borderRadius: 0.625,
borderRadius: 0.5,
design: DEFAULT_THEME_DESIGN,
},
css: `:root[data-theme="tensamin"] {
@ -124,7 +124,7 @@ export const BUILT_IN_THEMES = defineThemes([
:root[data-theme="tensamin"] :where([data-slot="button"], [data-slot="badge"], [data-slot="toggle"])[data-variant="outline"] {
--tensamin-edge: var(--input);
}
:root[data-theme="tensamin"] :where([data-slot="input"], [data-slot="textarea"], [data-slot="select-trigger"], [data-slot="native-select"], [data-slot="input-group"], [data-slot="button"][data-variant="outline"], [data-slot="badge"][data-variant="outline"], [data-slot="toggle"][data-variant="outline"]):is(:hover, :focus-visible, :focus-within) {
:root[data-theme="tensamin"] :where([data-slot="input"], [data-slot="textarea"], [data-slot="select-trigger"], [data-slot="native-select"], [data-slot="input-group"], [data-slot="badge"][data-variant="outline"], [data-slot="toggle"][data-variant="outline"]):is(:hover, :focus-visible, :focus-within) {
--tensamin-edge: color-mix(in oklch, var(--input) 75%, var(--ring));
}
:root[data-theme="tensamin"] :where([data-slot="button"], [data-slot="badge"], [data-slot="toggle"]):where([data-variant="ghost"], [data-variant="link"]) {