@vitral/themes 0.2.15 → 0.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1699,8 +1699,11 @@
1699
1699
  --vt-scrollpanel-bar-hover-background: color-mix(in srgb, var(--vt-text-muted-color) 75%, transparent);
1700
1700
  --vt-scrollpanel-bar-track-background: color-mix(in srgb, var(--vt-text-muted-color) 12%, transparent);
1701
1701
  --vt-scrollpanel-bar-transition-duration: var(--vt-transition-duration);
1702
- --vt-scrollpanel-arrow-size: 0.875rem;
1702
+ --vt-scrollpanel-arrow-size: 0.625rem;
1703
+ --vt-scrollpanel-arrow-gap: 1px;
1703
1704
  --vt-scrollpanel-arrow-color: var(--vt-text-muted-color);
1705
+ --vt-scrollpanel-arrow-background: transparent;
1706
+ --vt-scrollpanel-arrow-border-radius: 0;
1704
1707
  --vt-scrollpanel-arrow-hover-color: var(--vt-text-color);
1705
1708
  --vt-scrollpanel-arrow-hover-background: color-mix(in srgb, var(--vt-text-muted-color) 20%, transparent);
1706
1709
  --vt-scrolltop-size: 2.75rem;
package/dist/css/ink.css CHANGED
@@ -1688,8 +1688,11 @@
1688
1688
  --vt-scrollpanel-bar-hover-background: color-mix(in srgb, var(--vt-text-muted-color) 75%, transparent);
1689
1689
  --vt-scrollpanel-bar-track-background: color-mix(in srgb, var(--vt-text-muted-color) 12%, transparent);
1690
1690
  --vt-scrollpanel-bar-transition-duration: var(--vt-transition-duration);
1691
- --vt-scrollpanel-arrow-size: 0.875rem;
1691
+ --vt-scrollpanel-arrow-size: 0.625rem;
1692
+ --vt-scrollpanel-arrow-gap: 1px;
1692
1693
  --vt-scrollpanel-arrow-color: var(--vt-text-muted-color);
1694
+ --vt-scrollpanel-arrow-background: transparent;
1695
+ --vt-scrollpanel-arrow-border-radius: 0;
1693
1696
  --vt-scrollpanel-arrow-hover-color: var(--vt-text-color);
1694
1697
  --vt-scrollpanel-arrow-hover-background: color-mix(in srgb, var(--vt-text-muted-color) 20%, transparent);
1695
1698
  --vt-scrolltop-size: 2.75rem;
@@ -1688,8 +1688,11 @@
1688
1688
  --vt-scrollpanel-bar-hover-background: color-mix(in srgb, var(--vt-text-muted-color) 75%, transparent);
1689
1689
  --vt-scrollpanel-bar-track-background: color-mix(in srgb, var(--vt-text-muted-color) 12%, transparent);
1690
1690
  --vt-scrollpanel-bar-transition-duration: var(--vt-transition-duration);
1691
- --vt-scrollpanel-arrow-size: 0.875rem;
1691
+ --vt-scrollpanel-arrow-size: 0.625rem;
1692
+ --vt-scrollpanel-arrow-gap: 1px;
1692
1693
  --vt-scrollpanel-arrow-color: var(--vt-text-muted-color);
1694
+ --vt-scrollpanel-arrow-background: transparent;
1695
+ --vt-scrollpanel-arrow-border-radius: 0;
1693
1696
  --vt-scrollpanel-arrow-hover-color: var(--vt-text-color);
1694
1697
  --vt-scrollpanel-arrow-hover-background: color-mix(in srgb, var(--vt-text-muted-color) 20%, transparent);
1695
1698
  --vt-scrolltop-size: 2.75rem;
@@ -1699,8 +1699,11 @@
1699
1699
  --vt-scrollpanel-bar-hover-background: color-mix(in srgb, var(--vt-text-muted-color) 75%, transparent);
1700
1700
  --vt-scrollpanel-bar-track-background: color-mix(in srgb, var(--vt-text-muted-color) 12%, transparent);
1701
1701
  --vt-scrollpanel-bar-transition-duration: var(--vt-transition-duration);
1702
- --vt-scrollpanel-arrow-size: 0.875rem;
1702
+ --vt-scrollpanel-arrow-size: 0.625rem;
1703
+ --vt-scrollpanel-arrow-gap: 1px;
1703
1704
  --vt-scrollpanel-arrow-color: var(--vt-text-muted-color);
1705
+ --vt-scrollpanel-arrow-background: transparent;
1706
+ --vt-scrollpanel-arrow-border-radius: 0;
1704
1707
  --vt-scrollpanel-arrow-hover-color: var(--vt-text-color);
1705
1708
  --vt-scrollpanel-arrow-hover-background: color-mix(in srgb, var(--vt-text-muted-color) 20%, transparent);
1706
1709
  --vt-scrolltop-size: 2.75rem;
@@ -2431,7 +2431,10 @@ export declare const components: {
2431
2431
  };
2432
2432
  arrow: {
2433
2433
  size: string;
2434
+ gap: string;
2434
2435
  color: string;
2436
+ background: string;
2437
+ borderRadius: string;
2435
2438
  hoverColor: string;
2436
2439
  hoverBackground: string;
2437
2440
  };
@@ -10,7 +10,10 @@ declare const _default: {
10
10
  };
11
11
  arrow: {
12
12
  size: string;
13
+ gap: string;
13
14
  color: string;
15
+ background: string;
16
+ borderRadius: string;
14
17
  hoverColor: string;
15
18
  hoverBackground: string;
16
19
  };
@@ -10,8 +10,11 @@ var scrollpanel_default = {
10
10
  transitionDuration: "{transitionDuration}"
11
11
  },
12
12
  arrow: {
13
- size: "0.875rem",
13
+ size: "0.625rem",
14
+ gap: "1px",
14
15
  color: "{text.mutedColor}",
16
+ background: "transparent",
17
+ borderRadius: "0",
15
18
  hoverColor: "{text.color}",
16
19
  hoverBackground: "color-mix(in srgb, {text.mutedColor} 20%, transparent)"
17
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"scrollpanel.js","names":[],"sources":["../../../../src/presets/base/components/scrollpanel.ts"],"sourcesContent":["// Thin bars in the theme's muted colour, a little stronger under the pointer,\n// on a faint track of the same colour, so they follow the scheme, the\n// contrast setting and the preset.\nexport default {\n bar: {\n size: '0.5rem',\n gap: '2px',\n borderRadius: '{borderRadius.pill}',\n background: 'color-mix(in srgb, {text.mutedColor} 45%, transparent)',\n hoverBackground: 'color-mix(in srgb, {text.mutedColor} 75%, transparent)',\n trackBackground: 'color-mix(in srgb, {text.mutedColor} 12%, transparent)',\n transitionDuration: '{transitionDuration}'\n },\n // The arrows at the ends of a bar, when the application asks for them.\n arrow: {\n size: '0.875rem',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}',\n hoverBackground: 'color-mix(in srgb, {text.mutedColor} 20%, transparent)'\n }\n};\n"],"mappings":";AAGA,IAAA,sBAAe;CACX,KAAK;EACD,MAAM;EACN,KAAK;EACL,cAAc;EACd,YAAY;EACZ,iBAAiB;EACjB,iBAAiB;EACjB,oBAAoB;CACxB;CAEA,OAAO;EACH,MAAM;EACN,OAAO;EACP,YAAY;EACZ,iBAAiB;CACrB;AACJ"}
1
+ {"version":3,"file":"scrollpanel.js","names":[],"sources":["../../../../src/presets/base/components/scrollpanel.ts"],"sourcesContent":["// Thin bars in the theme's muted colour, a little stronger under the pointer,\n// on a faint track of the same colour, so they follow the scheme, the\n// contrast setting and the preset.\nexport default {\n bar: {\n size: '0.5rem',\n gap: '2px',\n borderRadius: '{borderRadius.pill}',\n background: 'color-mix(in srgb, {text.mutedColor} 45%, transparent)',\n hoverBackground: 'color-mix(in srgb, {text.mutedColor} 75%, transparent)',\n trackBackground: 'color-mix(in srgb, {text.mutedColor} 12%, transparent)',\n transitionDuration: '{transitionDuration}'\n },\n // The arrows at the ends of a bar, when the application asks for them:\n // outside the track and square, as a native bar's are, unless a theme\n // gives them a background or a radius of their own.\n arrow: {\n size: '0.625rem',\n // How far a bar with arrows sits from the box's edge.\n gap: '1px',\n color: '{text.mutedColor}',\n background: 'transparent',\n borderRadius: '0',\n hoverColor: '{text.color}',\n hoverBackground: 'color-mix(in srgb, {text.mutedColor} 20%, transparent)'\n }\n};\n"],"mappings":";AAGA,IAAA,sBAAe;CACX,KAAK;EACD,MAAM;EACN,KAAK;EACL,cAAc;EACd,YAAY;EACZ,iBAAiB;EACjB,iBAAiB;EACjB,oBAAoB;CACxB;CAIA,OAAO;EACH,MAAM;EAEN,KAAK;EACL,OAAO;EACP,YAAY;EACZ,cAAc;EACd,YAAY;EACZ,iBAAiB;CACrB;AACJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitral/themes",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
4
4
  "description": "Design-token engine and presets (Prism, Ink, Avalonia, Simple) for Vitral.",
5
5
  "keywords": [
6
6
  "vitral",
@@ -40,7 +40,7 @@
40
40
  "access": "public"
41
41
  },
42
42
  "dependencies": {
43
- "@vitral/core": "0.2.15"
43
+ "@vitral/core": "0.2.16"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "vite build && tsc -p tsconfig.build.json && node ../../scripts/build-theme-css.mjs"