@fluixi-ui/skin-soft 0.1.0-alpha.6 → 0.1.0-alpha.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/soft.css +21 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluixi-ui/skin-soft",
3
- "version": "0.1.0-alpha.6",
3
+ "version": "0.1.0-alpha.7",
4
4
  "description": "Soft corporate skin for Fluixi UI — clean, gently elevated dashboard look; activate with data-ui=\"soft\"",
5
5
  "license": "MIT",
6
6
  "private": false,
package/soft.css CHANGED
@@ -290,4 +290,25 @@
290
290
  [data-ui='soft'] :where([data-table][data-density='compact'] [data-table-cell]) {
291
291
  padding: var(--flx-ui-space-1) var(--flx-ui-space-2);
292
292
  }
293
+
294
+ /* ---- Carousel: rounded, gently-elevated controls ------------------------ */
295
+ [data-ui='soft'] :where([data-carousel-dot][data-active]) {
296
+ width: 20px;
297
+ border-radius: var(--flx-ui-radius-full, 999px);
298
+ background: var(--flx-ui-color-primary);
299
+ }
300
+ [data-ui='soft'] :where([data-carousel-prev], [data-carousel-next]) {
301
+ display: inline-grid;
302
+ place-items: center;
303
+ inline-size: 38px;
304
+ block-size: 38px;
305
+ border: var(--flx-ui-border-width-thin) solid var(--flx-ui-color-border);
306
+ border-radius: var(--flx-ui-radius-lg);
307
+ background: var(--flx-ui-color-bg);
308
+ color: var(--flx-ui-color-fg);
309
+ box-shadow: var(--flx-ui-shadow-sm);
310
+ }
311
+ [data-ui='soft'] :where([data-carousel-prev]:hover:not([disabled]), [data-carousel-next]:hover:not([disabled])) {
312
+ background: var(--flx-ui-color-bg-muted);
313
+ }
293
314
  }