@vuu-ui/vuu-theme 4.1.0 → 5.0.0-alpha.2

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.
@@ -26,7 +26,7 @@
26
26
  .salt-theme.vuu-theme {
27
27
  .vuuAppHeader {
28
28
  border-radius: 8px;
29
- margin-bottom: 8px;
29
+ margin: 8px 8px 8px 0;
30
30
  }
31
31
 
32
32
  }
@@ -6,6 +6,11 @@
6
6
  }
7
7
  }
8
8
 
9
+ /* Tree checkboxes aren't inside .saltCheckbox; without this, unchecked ones are invisible. */
10
+ .saltTreeNode-checkbox.saltCheckboxIcon:not(.saltCheckboxIcon-checked,.saltCheckboxIcon-disabled) {
11
+ border-color: var(--vuu-color-gray-30);
12
+ }
13
+
9
14
  .saltCheckbox:hover {
10
15
  .saltCheckboxIcon:not(.saltCheckboxIcon-checked,.saltCheckboxIcon-disabled) {
11
16
  background: var(--vuu-color-coral-lightest);
@@ -12,9 +12,10 @@
12
12
  border-radius: 0 0 6px 6px;
13
13
  padding: 31px 0 0 0;
14
14
 
15
- & > .vuuTabs-tabPanel {
16
- border: solid 1px var(--salt-separable-primary-borderColor);
17
- border-top: none !important;
15
+ .vuuWorkspaceHost-content {
16
+ border-style: none solid solid solid;
17
+ border-width: 1px;
18
+ border-color: var(--salt-separable-primary-borderColor);
18
19
  border-radius: 0 0 6px 6px;
19
20
  padding: 0 8px 8px 8px;
20
21
  }
package/css/global.css CHANGED
@@ -18,6 +18,21 @@
18
18
  color-scheme: dark;
19
19
  }
20
20
 
21
+ /*
22
+ * The selected item of a navigation list or panel list: a tint of the
23
+ * accent behind it, and the accent for its icon or marker. Dark mode uses a
24
+ * lighter accent, which reads on a dark background.
25
+ */
26
+ .salt-theme.vuu-theme {
27
+ --vuu-selected-background: color-mix(in srgb, var(--salt-accent-background) 13%, transparent);
28
+ --vuu-selected-accent: var(--salt-accent-background);
29
+ }
30
+
31
+ .salt-theme.vuu-theme[data-mode="dark"] {
32
+ --vuu-selected-background: color-mix(in srgb, color-mix(in srgb, var(--salt-accent-background) 80%, white) 52%, transparent);
33
+ --vuu-selected-accent: color-mix(in srgb, var(--salt-accent-background) 35%, white);
34
+ }
35
+
21
36
  /* This uses the :where selector so it doesn't add any specificity */
22
37
  :where(.salt-theme.vuu-theme) :focus-visible {
23
38
  outline: var(--salt-focused-outline);
package/index.css.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare const css: string;
2
+ export default css;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.1.0",
2
+ "version": "5.0.0-alpha.2",
3
3
  "license": "Apache-2.0",
4
4
  "type": "module",
5
5
  "scripts": {
@@ -7,8 +7,9 @@
7
7
  },
8
8
  "files": [
9
9
  "index.css",
10
- "NunitoSans.css",
11
10
  "reset.css",
11
+ "index.css.d.ts",
12
+ "NunitoSans.css",
12
13
  "css",
13
14
  "fonts",
14
15
  "README.md",
@@ -19,6 +20,11 @@
19
20
  "import": "./src/index.js"
20
21
  },
21
22
  "./style": {
23
+ "types": "./index.css.d.ts",
24
+ "import": "./index.css"
25
+ },
26
+ "./index.css": {
27
+ "types": "./index.css.d.ts",
22
28
  "import": "./index.css"
23
29
  }
24
30
  },
package/reset.css CHANGED
@@ -6,3 +6,7 @@ of the element is never exceeded due to padding or border. */
6
6
  box-sizing: border-box;
7
7
  }
8
8
 
9
+ body {
10
+ margin: 0;
11
+ }
12
+
@@ -1,6 +0,0 @@
1
- .salt-theme.salt-theme-next.vuu-theme {
2
- --salt-accent-background: var(--salt-palette-accent);
3
- --salt-accent-background-disabled: var(--salt-palette-accent-disabled);
4
- --salt-accent-borderColor: var(--salt-palette-accent);
5
- --salt-accent-borderColor-disabled: var(--salt-palette-accent-disabled);
6
- }
@@ -1,29 +0,0 @@
1
- .salt-theme-next.vuu-theme {
2
- --salt-palette-text-fontFamily: var(--salt-typography-fontFamily-nunito);
3
- }
4
-
5
- .salt-theme-next.salt-theme[data-heading-font="Nunito sans"] {
6
- --salt-palette-text-fontFamily-heading: var(--salt-typography-fontFamily-nunito);
7
-
8
- --salt-palette-text-display-fontWeight: var(--salt-typography-fontWeight-semiBold);
9
- --salt-palette-text-display-fontWeight-small: var(--salt-typography-fontWeight-regular);
10
- --salt-palette-text-display-fontWeight-strong: var(--salt-typography-fontWeight-bold);
11
-
12
- --salt-palette-text-heading-fontWeight: var(--salt-typography-fontWeight-semiBold);
13
- --salt-palette-text-heading-fontWeight-small: var(--salt-typography-fontWeight-regular);
14
- --salt-palette-text-heading-fontWeight-strong: var(--salt-typography-fontWeight-bold);
15
-
16
- --salt-palette-text-body-fontWeight: var(--salt-typography-fontWeight-regular);
17
- --salt-palette-text-body-fontWeight-small: var(--salt-typography-fontWeight-light);
18
- --salt-palette-text-body-fontWeight-strong: var(--salt-typography-fontWeight-semiBold);
19
-
20
- --salt-palette-text-notation-fontWeight: var(--salt-typography-fontWeight-semiBold);
21
- --salt-palette-text-notation-fontWeight-small: var(--salt-typography-fontWeight-regular);
22
- --salt-palette-text-notation-fontWeight-strong: var(--salt-typography-fontWeight-bold);
23
- }
24
-
25
- .salt-theme-next.salt-theme[data-action-font="Nunito sans"] {
26
- --salt-palette-text-fontFamily-action: var(--salt-typography-fontFamily-nunito);
27
-
28
- --salt-palette-text-action-fontWeight: var(--salt-typography-fontWeight-semiBold);
29
- }