@plexui/styles 0.1.20 → 0.1.21

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.
@@ -30,9 +30,6 @@
30
30
  `--tag-input-tag-{height,gutter,font-size}` so the
31
31
  inner pills stay proportional to the container.
32
32
  ============================================= */
33
-
34
- /* Ghost: no frame, for a field that its container already frames, such as
35
- a row of a group. Last in the block: it undoes hover and focus above. */
36
33
  }
37
34
 
38
35
  .Container[data-disabled] {
@@ -124,13 +121,23 @@ box-shadow: 0 0 0 1px var(--gray-500) inset;
124
121
  --tag-input-tag-spacing: 8px;
125
122
  --tag-input-radius: var(--control-radius-xl);
126
123
  }
124
+
125
+ /* Ghost: no frame, for a field that its container already frames, such as
126
+ a row of a group. Last in the block: it undoes hover and focus above. */
127
127
  .Container[data-variant="ghost"],
128
128
  .Container[data-variant="ghost"]:not([data-disabled]),
129
129
  .Container[data-variant="ghost"]:not([data-disabled])[data-focused] {
130
+ --tag-input-tag-radius: var(--control-radius-sm);
131
+
130
132
  min-height: calc(var(--min-rows) * var(--tag-input-height));
131
133
  padding: 0;
132
134
  border-radius: 0;
133
135
  box-shadow: none;
136
+ }
137
+
138
+ /* Chips are solid, so they stand further from a label than a line of text. */
139
+ .Container[data-variant="ghost"]:not([data-empty]) {
140
+ margin-block: 2px;
134
141
  }.TagInput {
135
142
  display: flex;
136
143
  flex-wrap: wrap;
@@ -698,9 +698,9 @@
698
698
  --modal-backdrop-background: rgb(0 0 0 / 50%);
699
699
  --page-bar-veil: rgb(0 0 0 / 60%);
700
700
  --page-bar-line: var(--color-border);
701
- --segmented-control-background: var(--gray-0);
702
- --segmented-control-thumb-background: var(--gray-300);
703
- --segmented-control-option-highlight-background-color: var(--gray-300);
701
+ --segmented-control-background: var(--alpha-08);
702
+ --segmented-control-thumb-background: var(--alpha-12);
703
+ --segmented-control-option-highlight-background-color: var(--alpha-08);
704
704
  --slider-track-color: var(--gray-400);
705
705
  --slider-range-color: var(--gray-600);
706
706
  --switch-track-color: var(--gray-400);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plexui/styles",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "Framework-agnostic CSS for Plex UI: design tokens, globals and component styles",
5
5
  "type": "module",
6
6
  "license": "MIT",