Independent tab bar height

This commit is contained in:
Filip Znachor 2024-05-01 18:18:05 +02:00
parent d1ebcdaac4
commit 4dad862696
2 changed files with 3 additions and 1 deletions

View file

@ -25,7 +25,7 @@
content: "";
position: absolute;
width: 70%;
height: var(--synergy-border-width);
height: var(--synergy-tab-bar-height);
background-color: var(--synergy-border-active);
bottom: 0;
left: 15%;

View file

@ -7,6 +7,7 @@ export let variables: Variable[] = [
{name: "border-radius", type: "number"},
{name: "focus-highlight", type: "color"},
{name: "tab-highlight", type: "color"},
{name: "tab-bar-height", type: "number"},
{name: "label", type: "color"},
{name: "label-active", type: "color"},
{name: "btn-primary-bg", type: "color"},
@ -31,6 +32,7 @@ export function getDefaultVariables() {
return {
"border-width": "2px",
"border-radius": ".375rem",
"tab-bar-height": "3px",
...Preset.getRandom().getVariables()
};
}