@kiefer-tek/sophea-design-system 0.15.12 → 0.16.0

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/dist/index.css +11 -9
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -5820,15 +5820,15 @@ a.sn-Button-module__btn--Fx11X[aria-disabled="true"] {
5820
5820
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
5821
5821
  }
5822
5822
 
5823
- /* Pill — a substantial segmented strip: bordered track, solid brand pill
5824
- for the active tab with white text (4.6:1 on --theme-primary-05, AA in
5825
- both themes replaces the washed-out action-link-02 fill that needed a
5826
- per-theme text override). */
5823
+ /* Pill — a bordered tab track with a brand-gradient fill behind the active tab
5824
+ (white text holds ≥4.5:1; the gradient stops at --theme-primary-05). Radii are
5825
+ moderate (--radius-lg track / --radius-md pills) to match buttons & cards —
5826
+ the old fully-round 9999px read as out of place next to them. */
5827
5827
 
5828
5828
  .sn-Tabs-module__list-pill--B-FxP {
5829
5829
  background: var(--surface-s3);
5830
5830
  border: 1px solid var(--border-02);
5831
- border-radius: 9999px;
5831
+ border-radius: var(--radius-lg);
5832
5832
  padding: 4px;
5833
5833
  gap: 4px;
5834
5834
  }
@@ -5837,7 +5837,7 @@ a.sn-Button-module__btn--Fx11X[aria-disabled="true"] {
5837
5837
  padding: 7px 16px;
5838
5838
  font-size: 13px;
5839
5839
  color: var(--text-04);
5840
- border-radius: 9999px;
5840
+ border-radius: var(--radius-md);
5841
5841
  transition: color var(--duration-fast, 120ms) var(--ease-out, ease-out);
5842
5842
  }
5843
5843
 
@@ -5852,11 +5852,13 @@ a.sn-Button-module__btn--Fx11X[aria-disabled="true"] {
5852
5852
 
5853
5853
  .sn-Tabs-module__indicator-pill--ltyFZ {
5854
5854
  /* Inset to sit inside the 4px track padding; no drop shadow — it bled
5855
- into the bottom inset and made the pill look like it touched the track. */
5855
+ into the bottom inset and made the pill look like it touched the track.
5856
+ Brand-gradient fill (matches the primary-button CTA) — theme-stable; white
5857
+ trigger text holds ≥4.5:1 since the gradient stops at --theme-primary-05. */
5856
5858
  top: 4px;
5857
5859
  height: calc(100% - 8px);
5858
- background: var(--theme-primary-05);
5859
- border-radius: 9999px;
5860
+ background-image: var(--sophea-gradient-primary-button);
5861
+ border-radius: var(--radius-md);
5860
5862
  }
5861
5863
 
5862
5864
  @media (prefers-reduced-motion: reduce) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiefer-tek/sophea-design-system",
3
- "version": "0.15.12",
3
+ "version": "0.16.0",
4
4
  "description": "Sophea design system: tokens, components, Tailwind preset.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",