@usefidel/design-system 0.26.0 → 0.28.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.
package/dist/index.css CHANGED
@@ -2271,6 +2271,32 @@
2271
2271
  justify-content: center;
2272
2272
  }
2273
2273
  }
2274
+ .fds-callout__dismiss {
2275
+ display: inline-flex;
2276
+ align-items: center;
2277
+ justify-content: center;
2278
+ flex-shrink: 0;
2279
+ width: 28px;
2280
+ height: 28px;
2281
+ padding: 0;
2282
+ border: 0;
2283
+ border-radius: var(--radius-md, 6px);
2284
+ background: transparent;
2285
+ color: var(--color-text-tertiary, #737373);
2286
+ cursor: pointer;
2287
+ }
2288
+ .fds-callout__dismiss:hover {
2289
+ background: var(--color-black-alpha-4, rgba(0, 0, 0, 0.04));
2290
+ color: var(--color-text, #171717);
2291
+ }
2292
+ .fds-callout__dismiss:focus-visible {
2293
+ outline: 2px solid var(--color-border-focus, #171717);
2294
+ outline-offset: 2px;
2295
+ }
2296
+ .fds-callout__dismiss > svg {
2297
+ width: 16px;
2298
+ height: 16px;
2299
+ }
2274
2300
  .fds-callout--neutral {
2275
2301
  --fds-callout-bg: var(--color-surface-subtle, #fafafa);
2276
2302
  --fds-callout-border: var(--color-border, #e5e5e5);
@@ -3976,6 +4002,30 @@
3976
4002
  justify-content: space-between;
3977
4003
  gap: var(--spacing-4, 16px);
3978
4004
  }
4005
+ .fds-page-header__lead {
4006
+ display: flex;
4007
+ align-items: center;
4008
+ gap: var(--spacing-3, 12px);
4009
+ min-width: 0;
4010
+ }
4011
+ .fds-page-header__leading {
4012
+ display: inline-flex;
4013
+ flex-shrink: 0;
4014
+ }
4015
+ .fds-page-header__meta {
4016
+ display: flex;
4017
+ flex-wrap: wrap;
4018
+ align-items: center;
4019
+ gap: var(--spacing-2, 8px);
4020
+ font-size: var(--font-size-text-xs, 12px);
4021
+ line-height: var(--line-height-text-xs, 18px);
4022
+ color: var(--color-text-tertiary, #737373);
4023
+ }
4024
+ .fds-page-header__meta svg {
4025
+ width: 12px;
4026
+ height: 12px;
4027
+ flex-shrink: 0;
4028
+ }
3979
4029
  .fds-page-header__text {
3980
4030
  display: flex;
3981
4031
  flex-direction: column;
@@ -3983,6 +4033,7 @@
3983
4033
  min-width: 0;
3984
4034
  }
3985
4035
  .fds-page-header__breadcrumb {
4036
+ margin-bottom: calc(var(--spacing-3, 12px) * -1);
3986
4037
  font-size: var(--font-size-text-xs, 12px);
3987
4038
  line-height: var(--line-height-text-xs, 18px);
3988
4039
  color: var(--color-text-tertiary, #737373);
@@ -4616,3 +4667,1010 @@
4616
4667
  grid-template-columns: minmax(0, 1fr);
4617
4668
  }
4618
4669
  }
4670
+
4671
+ /* src/components/PreviewCard/preview-card.css */
4672
+ .fds-preview-card {
4673
+ display: flex;
4674
+ flex-direction: column;
4675
+ min-width: 0;
4676
+ overflow: hidden;
4677
+ border: 1px solid var(--color-border, #e5e5e5);
4678
+ border-radius: var(--radius-xl, 12px);
4679
+ background: var(--color-surface-raised, #ffffff);
4680
+ color: var(--color-text, #171717);
4681
+ font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
4682
+ text-decoration: none;
4683
+ transition: border-color var(--duration-quick, 150ms) var(--ease-out, ease-out), box-shadow var(--duration-quick, 150ms) var(--ease-out, ease-out);
4684
+ }
4685
+ a.fds-preview-card:hover,
4686
+ button.fds-preview-card:hover {
4687
+ border-color: var(--color-border-strong, #d4d4d4);
4688
+ box-shadow: var(--shadow-card, 0 1px 2px rgba(0, 0, 0, 0.04));
4689
+ }
4690
+ a.fds-preview-card:focus-visible,
4691
+ button.fds-preview-card:focus-visible {
4692
+ outline: 2px solid var(--color-border-focus, #171717);
4693
+ outline-offset: 2px;
4694
+ }
4695
+ button.fds-preview-card {
4696
+ padding: 0;
4697
+ font: inherit;
4698
+ text-align: left;
4699
+ cursor: pointer;
4700
+ }
4701
+ .fds-preview-card--add {
4702
+ align-items: center;
4703
+ justify-content: center;
4704
+ gap: var(--spacing-1, 4px);
4705
+ min-height: 200px;
4706
+ padding: var(--spacing-6, 24px);
4707
+ border-style: dashed;
4708
+ background: transparent;
4709
+ text-align: center;
4710
+ }
4711
+ .fds-preview-card--add svg {
4712
+ width: 16px;
4713
+ height: 16px;
4714
+ margin-bottom: var(--spacing-2, 8px);
4715
+ color: var(--color-text-tertiary, #737373);
4716
+ }
4717
+ .fds-preview-card__preview {
4718
+ position: relative;
4719
+ display: flex;
4720
+ align-items: center;
4721
+ justify-content: center;
4722
+ gap: var(--spacing-3, 12px);
4723
+ min-height: 112px;
4724
+ padding: var(--spacing-5, 20px);
4725
+ border-bottom: 1px solid var(--color-border-light, #f0f0f0);
4726
+ background: var(--color-surface-subtle, #fafafa);
4727
+ overflow: hidden;
4728
+ }
4729
+ .fds-preview-card__label {
4730
+ position: absolute;
4731
+ top: var(--spacing-2, 8px);
4732
+ left: var(--spacing-2, 8px);
4733
+ padding: 0 var(--spacing-2, 8px);
4734
+ border: 1px solid var(--color-border, #e5e5e5);
4735
+ border-radius: var(--radius-full, 9999px);
4736
+ background: var(--color-surface-raised, #ffffff);
4737
+ font-size: var(--font-size-text-2xs, 11px);
4738
+ line-height: var(--line-height-text-2xs, 16px);
4739
+ color: var(--color-text-secondary, #525252);
4740
+ }
4741
+ .fds-preview-card__body {
4742
+ display: flex;
4743
+ flex-direction: column;
4744
+ gap: var(--spacing-1, 4px);
4745
+ padding: var(--spacing-3, 12px) var(--spacing-4, 16px);
4746
+ }
4747
+ .fds-preview-card__title {
4748
+ display: flex;
4749
+ align-items: center;
4750
+ justify-content: space-between;
4751
+ gap: var(--spacing-2, 8px);
4752
+ min-width: 0;
4753
+ }
4754
+ .fds-preview-card__name {
4755
+ display: inline-flex;
4756
+ align-items: center;
4757
+ gap: var(--spacing-2, 8px);
4758
+ min-width: 0;
4759
+ font-size: var(--font-size-text-sm, 14px);
4760
+ line-height: var(--line-height-text-compact, 20px);
4761
+ font-weight: var(--font-weight-semibold, 600);
4762
+ }
4763
+ .fds-preview-card__aside {
4764
+ flex-shrink: 0;
4765
+ font-size: var(--font-size-text-xs, 12px);
4766
+ line-height: var(--line-height-text-xs, 18px);
4767
+ color: var(--color-text-tertiary, #737373);
4768
+ }
4769
+ .fds-preview-card__meta {
4770
+ display: flex;
4771
+ flex-wrap: wrap;
4772
+ align-items: center;
4773
+ gap: var(--spacing-1, 4px) var(--spacing-3, 12px);
4774
+ font-size: var(--font-size-text-xs, 12px);
4775
+ line-height: var(--line-height-text-xs, 18px);
4776
+ color: var(--color-text-tertiary, #737373);
4777
+ }
4778
+ .fds-preview-card__meta b {
4779
+ font-weight: var(--font-weight-semibold, 600);
4780
+ color: var(--color-text, #171717);
4781
+ }
4782
+ .fds-preview-card__meta code {
4783
+ font-family: var(--font-mono, "JetBrains Mono", monospace);
4784
+ }
4785
+ .fds-preview-card__meta svg {
4786
+ width: 12px;
4787
+ height: 12px;
4788
+ }
4789
+ .fds-preview-card__footer {
4790
+ display: flex;
4791
+ align-items: center;
4792
+ justify-content: space-between;
4793
+ gap: var(--spacing-2, 8px);
4794
+ margin-top: auto;
4795
+ padding: var(--spacing-2, 8px) var(--spacing-4, 16px);
4796
+ border-top: 1px solid var(--color-border-light, #f0f0f0);
4797
+ font-size: var(--font-size-text-xs, 12px);
4798
+ line-height: var(--line-height-text-xs, 18px);
4799
+ color: var(--color-text-tertiary, #737373);
4800
+ }
4801
+
4802
+ /* src/components/Tile/tile.css */
4803
+ .fds-tile {
4804
+ display: flex;
4805
+ flex-direction: column;
4806
+ gap: var(--spacing-3, 12px);
4807
+ min-width: 0;
4808
+ padding: var(--spacing-3, 12px);
4809
+ border-radius: var(--radius-lg, 8px);
4810
+ background: var(--color-surface-subtle, #fafafa);
4811
+ font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
4812
+ }
4813
+ .fds-tile__head {
4814
+ display: flex;
4815
+ align-items: center;
4816
+ gap: var(--spacing-2, 8px);
4817
+ min-height: 20px;
4818
+ }
4819
+ .fds-tile__label {
4820
+ font-size: var(--font-size-text-xs, 12px);
4821
+ line-height: var(--line-height-text-xs, 18px);
4822
+ color: var(--color-text-secondary, #525252);
4823
+ }
4824
+ .fds-tile__label a {
4825
+ display: inline-flex;
4826
+ align-items: center;
4827
+ gap: 2px;
4828
+ color: inherit;
4829
+ text-decoration: none;
4830
+ }
4831
+ .fds-tile__label a:hover {
4832
+ color: var(--color-text, #171717);
4833
+ }
4834
+ .fds-tile__label svg {
4835
+ width: 12px;
4836
+ height: 12px;
4837
+ }
4838
+ .fds-tile__body {
4839
+ display: flex;
4840
+ flex-direction: column;
4841
+ justify-content: center;
4842
+ flex: 1;
4843
+ min-width: 0;
4844
+ }
4845
+
4846
+ /* src/components/ListCard/list-card.css */
4847
+ .fds-list-card {
4848
+ overflow: hidden;
4849
+ border: 1px solid var(--color-border, #e5e5e5);
4850
+ border-radius: var(--radius-xl, 12px);
4851
+ background: var(--color-surface-raised, #ffffff);
4852
+ font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
4853
+ }
4854
+ .fds-list-card__head {
4855
+ display: flex;
4856
+ align-items: center;
4857
+ justify-content: space-between;
4858
+ gap: var(--spacing-3, 12px);
4859
+ padding: var(--spacing-3, 12px) var(--spacing-4, 16px);
4860
+ border-bottom: 1px solid var(--color-border-light, #f0f0f0);
4861
+ }
4862
+ .fds-list-card__title {
4863
+ display: inline-flex;
4864
+ align-items: center;
4865
+ gap: var(--spacing-2, 8px);
4866
+ font-size: var(--font-size-text-compact, 13px);
4867
+ line-height: var(--line-height-text-compact, 20px);
4868
+ font-weight: var(--font-weight-semibold, 600);
4869
+ color: var(--color-text, #171717);
4870
+ }
4871
+ .fds-list-card__count,
4872
+ .fds-list-card__aside {
4873
+ font-size: var(--font-size-text-xs, 12px);
4874
+ line-height: var(--line-height-text-xs, 18px);
4875
+ font-weight: var(--font-weight-regular, 400);
4876
+ color: var(--color-text-tertiary, #737373);
4877
+ }
4878
+ .fds-list-card__rows {
4879
+ margin: 0;
4880
+ padding: 0;
4881
+ list-style: none;
4882
+ }
4883
+ .fds-list-card__row {
4884
+ display: flex;
4885
+ align-items: flex-start;
4886
+ gap: var(--spacing-3, 12px);
4887
+ padding: var(--spacing-3, 12px) var(--spacing-4, 16px);
4888
+ }
4889
+ .fds-list-card__row + .fds-list-card__row {
4890
+ border-top: 1px solid var(--color-border-light, #f0f0f0);
4891
+ }
4892
+ .fds-list-card__row--muted .fds-list-card__row-title {
4893
+ color: var(--color-text-tertiary, #737373);
4894
+ font-weight: var(--font-weight-regular, 400);
4895
+ }
4896
+ .fds-list-card__icon {
4897
+ display: inline-flex;
4898
+ flex-shrink: 0;
4899
+ width: 16px;
4900
+ height: 16px;
4901
+ margin-top: 2px;
4902
+ color: var(--color-text-tertiary, #737373);
4903
+ }
4904
+ .fds-list-card__icon > svg {
4905
+ width: 100%;
4906
+ height: 100%;
4907
+ }
4908
+ .fds-list-card__icon--info {
4909
+ color: var(--color-info, #2563eb);
4910
+ }
4911
+ .fds-list-card__icon--success {
4912
+ color: var(--color-success, #16a34a);
4913
+ }
4914
+ .fds-list-card__icon--warning {
4915
+ color: var(--color-warning, #d97706);
4916
+ }
4917
+ .fds-list-card__icon--danger {
4918
+ color: var(--color-error, #dc2626);
4919
+ }
4920
+ .fds-list-card__text {
4921
+ display: flex;
4922
+ flex-direction: column;
4923
+ flex: 1;
4924
+ min-width: 0;
4925
+ }
4926
+ .fds-list-card__row-title {
4927
+ font-size: var(--font-size-text-compact, 13px);
4928
+ line-height: var(--line-height-text-compact, 20px);
4929
+ font-weight: var(--font-weight-medium, 500);
4930
+ color: var(--color-text, #171717);
4931
+ }
4932
+ .fds-list-card__row-title code,
4933
+ .fds-list-card__description code {
4934
+ font-family: var(--font-mono, "JetBrains Mono", monospace);
4935
+ font-size: 0.95em;
4936
+ }
4937
+ .fds-list-card__description {
4938
+ font-size: var(--font-size-text-xs, 12px);
4939
+ line-height: var(--line-height-text-xs, 18px);
4940
+ color: var(--color-text-tertiary, #737373);
4941
+ }
4942
+ .fds-list-card__trailing {
4943
+ display: inline-flex;
4944
+ align-items: center;
4945
+ gap: var(--spacing-3, 12px);
4946
+ flex-shrink: 0;
4947
+ align-self: center;
4948
+ font-size: var(--font-size-text-xs, 12px);
4949
+ line-height: var(--line-height-text-xs, 18px);
4950
+ color: var(--color-text-tertiary, #737373);
4951
+ }
4952
+ .fds-list-card__footer {
4953
+ display: flex;
4954
+ align-items: center;
4955
+ gap: var(--spacing-2, 8px);
4956
+ padding: var(--spacing-3, 12px) var(--spacing-4, 16px);
4957
+ border-top: 1px solid var(--color-border-light, #f0f0f0);
4958
+ background: var(--color-surface-subtle, #fafafa);
4959
+ font-size: var(--font-size-text-xs, 12px);
4960
+ line-height: var(--line-height-text-xs, 18px);
4961
+ color: var(--color-text-tertiary, #737373);
4962
+ }
4963
+ .fds-list-card__footer svg {
4964
+ width: 14px;
4965
+ height: 14px;
4966
+ }
4967
+
4968
+ /* src/components/DescriptionList/description-list.css */
4969
+ .fds-description-list {
4970
+ display: flex;
4971
+ flex-direction: column;
4972
+ gap: var(--spacing-2, 8px);
4973
+ font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
4974
+ font-size: var(--font-size-text-xs, 12px);
4975
+ line-height: var(--line-height-text-xs, 18px);
4976
+ }
4977
+ .fds-description-list + .fds-description-list {
4978
+ padding-top: var(--spacing-4, 16px);
4979
+ border-top: 1px solid var(--color-border-light, #f0f0f0);
4980
+ }
4981
+ .fds-description-list__head {
4982
+ display: flex;
4983
+ align-items: center;
4984
+ justify-content: space-between;
4985
+ gap: var(--spacing-2, 8px);
4986
+ }
4987
+ .fds-description-list__title {
4988
+ color: var(--color-text-tertiary, #737373);
4989
+ }
4990
+ .fds-description-list__action {
4991
+ color: var(--color-text-tertiary, #737373);
4992
+ }
4993
+ .fds-description-list__action a {
4994
+ display: inline-flex;
4995
+ align-items: center;
4996
+ gap: 2px;
4997
+ color: inherit;
4998
+ text-decoration: none;
4999
+ }
5000
+ .fds-description-list__action a:hover {
5001
+ color: var(--color-text, #171717);
5002
+ }
5003
+ .fds-description-list__action svg {
5004
+ width: 12px;
5005
+ height: 12px;
5006
+ }
5007
+ .fds-description-list__items {
5008
+ display: flex;
5009
+ flex-direction: column;
5010
+ gap: var(--spacing-2, 8px);
5011
+ margin: 0;
5012
+ }
5013
+ .fds-description-list__item {
5014
+ display: flex;
5015
+ align-items: baseline;
5016
+ justify-content: space-between;
5017
+ gap: var(--spacing-3, 12px);
5018
+ min-width: 0;
5019
+ }
5020
+ .fds-description-list__item dt {
5021
+ flex-shrink: 0;
5022
+ color: var(--color-text-tertiary, #737373);
5023
+ }
5024
+ .fds-description-list__item dd {
5025
+ margin: 0;
5026
+ min-width: 0;
5027
+ overflow: hidden;
5028
+ text-overflow: ellipsis;
5029
+ white-space: nowrap;
5030
+ text-align: right;
5031
+ color: var(--color-text, #171717);
5032
+ }
5033
+ .fds-description-list__item dd code {
5034
+ font-family: var(--font-mono, "JetBrains Mono", monospace);
5035
+ }
5036
+ .fds-description-list__item dd a {
5037
+ color: inherit;
5038
+ text-decoration: none;
5039
+ }
5040
+ .fds-description-list__item dd a:hover {
5041
+ text-decoration: underline;
5042
+ }
5043
+ .fds-description-list__note {
5044
+ margin: 0;
5045
+ color: var(--color-text-tertiary, #737373);
5046
+ }
5047
+
5048
+ /* src/components/ColorRamp/color-ramp.css */
5049
+ .fds-color-ramp {
5050
+ display: flex;
5051
+ width: 100%;
5052
+ overflow: hidden;
5053
+ border-radius: var(--radius-md, 6px);
5054
+ box-shadow: inset 0 0 0 1px var(--color-black-alpha-8, rgba(0, 0, 0, 0.08));
5055
+ }
5056
+ .fds-color-ramp--sm {
5057
+ height: 16px;
5058
+ border-radius: var(--radius-sm, 4px);
5059
+ }
5060
+ .fds-color-ramp--md {
5061
+ height: 32px;
5062
+ }
5063
+ .fds-color-ramp--lg {
5064
+ height: 64px;
5065
+ border-radius: var(--radius-lg, 8px);
5066
+ }
5067
+ .fds-color-ramp__step {
5068
+ flex: 1;
5069
+ background: var(--fds-ramp-color);
5070
+ }
5071
+
5072
+ /* src/components/SwatchList/swatch-list.css */
5073
+ .fds-swatch-list {
5074
+ display: flex;
5075
+ flex-direction: column;
5076
+ gap: var(--spacing-1, 4px);
5077
+ margin: 0;
5078
+ padding: 0;
5079
+ list-style: none;
5080
+ }
5081
+ .fds-swatch-list__item {
5082
+ display: flex;
5083
+ align-items: center;
5084
+ gap: var(--spacing-2, 8px);
5085
+ min-width: 0;
5086
+ font-family: var(--font-mono, "JetBrains Mono", monospace);
5087
+ font-size: var(--font-size-text-2xs, 11px);
5088
+ line-height: var(--line-height-text-2xs, 16px);
5089
+ }
5090
+ .fds-swatch-list__dot {
5091
+ flex-shrink: 0;
5092
+ width: 10px;
5093
+ height: 10px;
5094
+ border-radius: var(--radius-xs, 2px);
5095
+ background: var(--fds-swatch-list-color);
5096
+ box-shadow: inset 0 0 0 1px var(--color-black-alpha-8, rgba(0, 0, 0, 0.08));
5097
+ }
5098
+ .fds-swatch-list__dot--empty {
5099
+ background:
5100
+ repeating-linear-gradient(
5101
+ 45deg,
5102
+ var(--color-border, #e5e5e5) 0 2px,
5103
+ transparent 2px 4px);
5104
+ }
5105
+ .fds-swatch-list__name {
5106
+ flex: 1;
5107
+ min-width: 0;
5108
+ overflow: hidden;
5109
+ text-overflow: ellipsis;
5110
+ white-space: nowrap;
5111
+ color: var(--color-text, #171717);
5112
+ }
5113
+ .fds-swatch-list__value {
5114
+ flex-shrink: 0;
5115
+ color: var(--color-text-tertiary, #737373);
5116
+ }
5117
+
5118
+ /* src/components/TypeSpecimen/type-specimen.css */
5119
+ .fds-type-specimen {
5120
+ display: flex;
5121
+ flex-direction: column;
5122
+ gap: var(--spacing-3, 12px);
5123
+ min-width: 0;
5124
+ padding: var(--spacing-5, 20px);
5125
+ border: 1px solid var(--color-border, #e5e5e5);
5126
+ border-radius: var(--radius-xl, 12px);
5127
+ background: var(--color-surface-raised, #ffffff);
5128
+ color: var(--color-text, #171717);
5129
+ font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
5130
+ }
5131
+ .fds-type-specimen__head {
5132
+ display: flex;
5133
+ align-items: flex-start;
5134
+ justify-content: space-between;
5135
+ gap: var(--spacing-4, 16px);
5136
+ }
5137
+ .fds-type-specimen__titles {
5138
+ display: flex;
5139
+ flex-direction: column;
5140
+ gap: var(--spacing-2, 8px);
5141
+ min-width: 0;
5142
+ }
5143
+ .fds-type-specimen__family {
5144
+ margin: 0;
5145
+ font-family: var(--fds-specimen-font);
5146
+ font-size: var(--font-size-text-xl, 20px);
5147
+ line-height: var(--line-height-text-xl, 30px);
5148
+ font-weight: var(--font-weight-medium, 500);
5149
+ }
5150
+ .fds-type-specimen__tokens {
5151
+ display: flex;
5152
+ flex-wrap: wrap;
5153
+ gap: var(--spacing-1, 4px);
5154
+ }
5155
+ .fds-type-specimen__glyph {
5156
+ font-family: var(--fds-specimen-font);
5157
+ font-size: 56px;
5158
+ line-height: 1;
5159
+ font-weight: var(--font-weight-medium, 500);
5160
+ }
5161
+ .fds-type-specimen__sample {
5162
+ margin: 0;
5163
+ font-family: var(--fds-specimen-font);
5164
+ font-size: var(--font-size-text-lg, 18px);
5165
+ line-height: var(--line-height-text-lg, 28px);
5166
+ overflow-wrap: anywhere;
5167
+ }
5168
+ .fds-type-specimen__alphabet {
5169
+ margin: 0;
5170
+ font-family: var(--fds-specimen-font);
5171
+ font-size: var(--font-size-text-2xs, 11px);
5172
+ line-height: var(--line-height-text-2xs, 16px);
5173
+ color: var(--color-text-tertiary, #737373);
5174
+ overflow-wrap: anywhere;
5175
+ }
5176
+ .fds-type-specimen__weights {
5177
+ display: flex;
5178
+ flex-wrap: wrap;
5179
+ gap: var(--spacing-4, 16px);
5180
+ margin: 0;
5181
+ padding: 0;
5182
+ list-style: none;
5183
+ }
5184
+ .fds-type-specimen__weights li {
5185
+ display: flex;
5186
+ flex-direction: column;
5187
+ }
5188
+ .fds-type-specimen__weights span {
5189
+ font-family: var(--fds-specimen-font);
5190
+ font-size: var(--font-size-text-xl, 20px);
5191
+ line-height: var(--line-height-text-xl, 30px);
5192
+ }
5193
+ .fds-type-specimen__weights small {
5194
+ font-size: var(--font-size-text-2xs, 11px);
5195
+ line-height: var(--line-height-text-2xs, 16px);
5196
+ color: var(--color-text-tertiary, #737373);
5197
+ }
5198
+ .fds-type-specimen__footer {
5199
+ padding: var(--spacing-2, 8px) var(--spacing-3, 12px);
5200
+ border-radius: var(--radius-md, 6px);
5201
+ background: var(--color-surface-subtle, #fafafa);
5202
+ font-family: var(--font-mono, "JetBrains Mono", monospace);
5203
+ font-size: var(--font-size-text-2xs, 11px);
5204
+ line-height: var(--line-height-text-2xs, 16px);
5205
+ color: var(--color-text-tertiary, #737373);
5206
+ overflow-wrap: anywhere;
5207
+ }
5208
+ .fds-type-sample {
5209
+ display: flex;
5210
+ flex-direction: column;
5211
+ gap: var(--spacing-1, 4px);
5212
+ color: var(--color-text, #171717);
5213
+ }
5214
+ .fds-type-sample__glyph {
5215
+ font-family: var(--fds-specimen-font);
5216
+ font-size: 56px;
5217
+ line-height: 1.1;
5218
+ font-weight: var(--font-weight-medium, 500);
5219
+ }
5220
+ .fds-type-sample__caption {
5221
+ font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
5222
+ font-size: var(--font-size-text-xs, 12px);
5223
+ line-height: var(--line-height-text-xs, 18px);
5224
+ color: var(--color-text-tertiary, #737373);
5225
+ }
5226
+
5227
+ /* src/components/TypeScale/type-scale.css */
5228
+ .fds-type-scale {
5229
+ margin: 0;
5230
+ padding: 0;
5231
+ list-style: none;
5232
+ overflow: hidden;
5233
+ border: 1px solid var(--color-border, #e5e5e5);
5234
+ border-radius: var(--radius-xl, 12px);
5235
+ background: var(--color-surface-raised, #ffffff);
5236
+ font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
5237
+ }
5238
+ .fds-type-scale__row {
5239
+ display: flex;
5240
+ align-items: center;
5241
+ gap: var(--spacing-6, 24px);
5242
+ padding: var(--spacing-3, 12px) var(--spacing-4, 16px);
5243
+ }
5244
+ .fds-type-scale__row + .fds-type-scale__row {
5245
+ border-top: 1px solid var(--color-border-light, #f0f0f0);
5246
+ }
5247
+ .fds-type-scale__label {
5248
+ display: flex;
5249
+ flex-direction: column;
5250
+ flex-shrink: 0;
5251
+ width: 120px;
5252
+ }
5253
+ .fds-type-scale__name {
5254
+ font-family: var(--font-mono, "JetBrains Mono", monospace);
5255
+ font-size: var(--font-size-text-xs, 12px);
5256
+ line-height: var(--line-height-text-xs, 18px);
5257
+ color: var(--color-text, #171717);
5258
+ }
5259
+ .fds-type-scale__detail {
5260
+ font-family: var(--font-mono, "JetBrains Mono", monospace);
5261
+ font-size: var(--font-size-text-2xs, 11px);
5262
+ line-height: var(--line-height-text-2xs, 16px);
5263
+ color: var(--color-text-tertiary, #737373);
5264
+ }
5265
+ .fds-type-scale__sample {
5266
+ min-width: 0;
5267
+ overflow: hidden;
5268
+ text-overflow: ellipsis;
5269
+ white-space: nowrap;
5270
+ color: var(--color-text, #171717);
5271
+ }
5272
+
5273
+ /* src/components/MeasureList/measure-list.css */
5274
+ .fds-measure-list {
5275
+ display: flex;
5276
+ flex-direction: column;
5277
+ gap: var(--spacing-2, 8px);
5278
+ margin: 0;
5279
+ padding: 0;
5280
+ list-style: none;
5281
+ }
5282
+ .fds-measure-list__item {
5283
+ display: grid;
5284
+ grid-template-columns: minmax(96px, 160px) 80px 1fr;
5285
+ align-items: center;
5286
+ gap: var(--spacing-3, 12px);
5287
+ font-family: var(--font-mono, "JetBrains Mono", monospace);
5288
+ font-size: var(--font-size-text-xs, 12px);
5289
+ line-height: var(--line-height-text-xs, 18px);
5290
+ }
5291
+ .fds-measure-list__name {
5292
+ overflow: hidden;
5293
+ text-overflow: ellipsis;
5294
+ white-space: nowrap;
5295
+ color: var(--color-text, #171717);
5296
+ }
5297
+ .fds-measure-list__value {
5298
+ color: var(--color-text-tertiary, #737373);
5299
+ }
5300
+ .fds-measure-list__track {
5301
+ display: block;
5302
+ min-width: 0;
5303
+ }
5304
+ .fds-measure-list__bar {
5305
+ display: block;
5306
+ width: var(--fds-measure);
5307
+ min-width: 2px;
5308
+ height: 8px;
5309
+ border-radius: var(--radius-xs, 2px);
5310
+ }
5311
+ .fds-measure-list--accent .fds-measure-list__bar {
5312
+ background: var(--color-accent-muted, #fdba74);
5313
+ }
5314
+ .fds-measure-list--neutral .fds-measure-list__bar {
5315
+ background: var(--color-border-strong, #d4d4d4);
5316
+ }
5317
+
5318
+ /* src/components/TokenSample/token-sample.css */
5319
+ .fds-token-sample {
5320
+ display: flex;
5321
+ flex-direction: column;
5322
+ gap: 2px;
5323
+ min-width: 0;
5324
+ font-family: var(--font-mono, "JetBrains Mono", monospace);
5325
+ }
5326
+ .fds-token-sample__shape {
5327
+ display: block;
5328
+ margin-bottom: var(--spacing-2, 8px);
5329
+ }
5330
+ .fds-token-sample--radius .fds-token-sample__shape {
5331
+ width: 56px;
5332
+ height: 56px;
5333
+ border: 1.5px solid var(--color-accent-muted, #fdba74);
5334
+ border-radius: var(--fds-sample-radius);
5335
+ background: var(--color-accent-subtle, #fff7ed);
5336
+ }
5337
+ .fds-token-sample--shadow .fds-token-sample__shape {
5338
+ width: 100%;
5339
+ height: 64px;
5340
+ border-radius: var(--radius-lg, 8px);
5341
+ background: var(--color-surface-raised, #ffffff);
5342
+ box-shadow: var(--fds-sample-shadow);
5343
+ }
5344
+ .fds-token-sample__name {
5345
+ font-size: var(--font-size-text-xs, 12px);
5346
+ line-height: var(--line-height-text-xs, 18px);
5347
+ color: var(--color-text, #171717);
5348
+ overflow-wrap: anywhere;
5349
+ }
5350
+ .fds-token-sample__detail {
5351
+ font-size: var(--font-size-text-2xs, 11px);
5352
+ line-height: var(--line-height-text-2xs, 16px);
5353
+ color: var(--color-text-tertiary, #737373);
5354
+ overflow-wrap: anywhere;
5355
+ }
5356
+
5357
+ /* src/components/EasingCurve/easing-curve.css */
5358
+ .fds-easing-curve {
5359
+ display: flex;
5360
+ flex-direction: column;
5361
+ gap: 2px;
5362
+ min-width: 0;
5363
+ font-family: var(--font-mono, "JetBrains Mono", monospace);
5364
+ }
5365
+ .fds-easing-curve__plot {
5366
+ width: 100%;
5367
+ max-width: 160px;
5368
+ height: auto;
5369
+ margin-bottom: var(--spacing-2, 8px);
5370
+ border-radius: var(--radius-lg, 8px);
5371
+ background: var(--color-surface-subtle, #fafafa);
5372
+ overflow: visible;
5373
+ }
5374
+ .fds-easing-curve__plot path {
5375
+ fill: none;
5376
+ stroke: var(--color-accent, #ea580c);
5377
+ stroke-width: 1.5;
5378
+ stroke-linecap: round;
5379
+ }
5380
+ .fds-easing-curve__name {
5381
+ font-size: var(--font-size-text-xs, 12px);
5382
+ line-height: var(--line-height-text-xs, 18px);
5383
+ color: var(--color-text, #171717);
5384
+ }
5385
+ .fds-easing-curve__value {
5386
+ font-size: var(--font-size-text-2xs, 11px);
5387
+ line-height: var(--line-height-text-2xs, 16px);
5388
+ color: var(--color-text-tertiary, #737373);
5389
+ overflow-wrap: anywhere;
5390
+ }
5391
+
5392
+ /* src/components/FilterChips/filter-chips.css */
5393
+ .fds-filter-chips {
5394
+ display: flex;
5395
+ flex-wrap: wrap;
5396
+ gap: var(--spacing-1, 4px);
5397
+ }
5398
+ .fds-filter-chips__chip {
5399
+ display: inline-flex;
5400
+ align-items: center;
5401
+ gap: var(--spacing-1, 4px);
5402
+ height: 28px;
5403
+ padding: 0 var(--spacing-3, 12px);
5404
+ border: 1px solid var(--color-border, #e5e5e5);
5405
+ border-radius: var(--radius-full, 9999px);
5406
+ background: var(--color-surface-raised, #ffffff);
5407
+ color: var(--color-text-secondary, #525252);
5408
+ font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
5409
+ font-size: var(--font-size-text-xs, 12px);
5410
+ line-height: var(--line-height-text-xs, 18px);
5411
+ font-weight: var(--font-weight-medium, 500);
5412
+ cursor: pointer;
5413
+ transition: background var(--duration-instant, 80ms) var(--ease-out, ease-out), border-color var(--duration-instant, 80ms) var(--ease-out, ease-out);
5414
+ }
5415
+ .fds-filter-chips__chip:hover {
5416
+ background: var(--color-surface-hover, #f5f5f5);
5417
+ }
5418
+ .fds-filter-chips__chip:focus-visible {
5419
+ outline: 2px solid var(--color-border-focus, #171717);
5420
+ outline-offset: 2px;
5421
+ }
5422
+ .fds-filter-chips__chip--selected,
5423
+ .fds-filter-chips__chip--selected:hover {
5424
+ border-color: var(--color-primary, #171717);
5425
+ background: var(--color-primary, #171717);
5426
+ color: var(--color-primary-text, #ffffff);
5427
+ }
5428
+ .fds-filter-chips__count {
5429
+ color: var(--color-text-tertiary, #737373);
5430
+ font-weight: var(--font-weight-regular, 400);
5431
+ }
5432
+ .fds-filter-chips__chip--selected .fds-filter-chips__count {
5433
+ color: var(--color-white-alpha-60, rgba(255, 255, 255, 0.6));
5434
+ }
5435
+
5436
+ /* src/components/Meter/meter.css */
5437
+ .fds-meter {
5438
+ display: flex;
5439
+ align-items: center;
5440
+ gap: var(--spacing-3, 12px);
5441
+ font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
5442
+ }
5443
+ .fds-meter__track {
5444
+ position: relative;
5445
+ flex: 1;
5446
+ max-width: 160px;
5447
+ height: 4px;
5448
+ overflow: hidden;
5449
+ border-radius: var(--radius-full, 9999px);
5450
+ background: var(--color-border, #e5e5e5);
5451
+ }
5452
+ .fds-meter__fill {
5453
+ position: absolute;
5454
+ inset: 0 auto 0 0;
5455
+ width: var(--fds-meter);
5456
+ border-radius: inherit;
5457
+ background: var(--color-primary, #171717);
5458
+ }
5459
+ .fds-meter__label {
5460
+ font-size: var(--font-size-text-xs, 12px);
5461
+ line-height: var(--line-height-text-xs, 18px);
5462
+ color: var(--color-text-tertiary, #737373);
5463
+ }
5464
+
5465
+ /* src/components/ConnectionCard/connection-card.css */
5466
+ .fds-connection-card {
5467
+ display: flex;
5468
+ flex-direction: column;
5469
+ gap: var(--spacing-4, 16px);
5470
+ min-width: 0;
5471
+ padding: var(--spacing-4, 16px);
5472
+ border: 1px solid var(--color-border, #e5e5e5);
5473
+ border-radius: var(--radius-xl, 12px);
5474
+ background: var(--color-surface-raised, #ffffff);
5475
+ font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
5476
+ color: var(--color-text, #171717);
5477
+ }
5478
+ .fds-connection-card__head {
5479
+ display: flex;
5480
+ align-items: center;
5481
+ gap: var(--spacing-3, 12px);
5482
+ }
5483
+ .fds-connection-card__icon {
5484
+ display: inline-flex;
5485
+ align-items: center;
5486
+ justify-content: center;
5487
+ flex-shrink: 0;
5488
+ width: 36px;
5489
+ height: 36px;
5490
+ border: 1px solid var(--color-border, #e5e5e5);
5491
+ border-radius: var(--radius-lg, 8px);
5492
+ background: var(--color-surface-raised, #ffffff);
5493
+ }
5494
+ .fds-connection-card__icon--dark {
5495
+ border-color: var(--color-primary, #171717);
5496
+ background: var(--color-primary, #171717);
5497
+ color: var(--color-primary-text, #ffffff);
5498
+ }
5499
+ .fds-connection-card__icon > svg {
5500
+ width: 20px;
5501
+ height: 20px;
5502
+ }
5503
+ .fds-connection-card__titles {
5504
+ display: flex;
5505
+ flex-direction: column;
5506
+ min-width: 0;
5507
+ }
5508
+ .fds-connection-card__title {
5509
+ font-size: var(--font-size-text-sm, 14px);
5510
+ line-height: var(--line-height-text-compact, 20px);
5511
+ font-weight: var(--font-weight-semibold, 600);
5512
+ }
5513
+ .fds-connection-card__subtitle {
5514
+ font-size: var(--font-size-text-xs, 12px);
5515
+ line-height: var(--line-height-text-xs, 18px);
5516
+ color: var(--color-text-tertiary, #737373);
5517
+ }
5518
+ .fds-connection-card__body {
5519
+ display: flex;
5520
+ flex-direction: column;
5521
+ gap: var(--spacing-2, 8px);
5522
+ flex: 1;
5523
+ min-width: 0;
5524
+ font-size: var(--font-size-text-xs, 12px);
5525
+ line-height: var(--line-height-text-xs, 18px);
5526
+ color: var(--color-text-tertiary, #737373);
5527
+ }
5528
+ .fds-connection-card__body strong {
5529
+ font-size: var(--font-size-text-compact, 13px);
5530
+ font-weight: var(--font-weight-semibold, 600);
5531
+ color: var(--color-text, #171717);
5532
+ }
5533
+ .fds-connection-card__body code {
5534
+ font-family: var(--font-mono, "JetBrains Mono", monospace);
5535
+ color: var(--color-text, #171717);
5536
+ overflow-wrap: anywhere;
5537
+ }
5538
+ .fds-connection-card__footer {
5539
+ display: flex;
5540
+ align-items: center;
5541
+ gap: var(--spacing-2, 8px);
5542
+ flex-wrap: wrap;
5543
+ }
5544
+
5545
+ /* src/components/ListRow/list-row.css */
5546
+ .fds-list-row {
5547
+ display: flex;
5548
+ align-items: center;
5549
+ gap: var(--spacing-3, 12px);
5550
+ width: 100%;
5551
+ min-width: 0;
5552
+ padding: var(--spacing-2, 8px) var(--spacing-3, 12px);
5553
+ border: 0;
5554
+ border-radius: var(--radius-lg, 8px);
5555
+ background: var(--color-surface-subtle, #fafafa);
5556
+ color: var(--color-text, #171717);
5557
+ font-family: var(--font-body, "Rethink Sans", system-ui, sans-serif);
5558
+ text-align: left;
5559
+ text-decoration: none;
5560
+ cursor: pointer;
5561
+ transition: background var(--duration-instant, 80ms) var(--ease-out, ease-out);
5562
+ }
5563
+ .fds-list-row:hover {
5564
+ background: var(--color-surface-hover, #f0f0f0);
5565
+ }
5566
+ .fds-list-row:focus-visible {
5567
+ outline: 2px solid var(--color-border-focus, #171717);
5568
+ outline-offset: 2px;
5569
+ }
5570
+ .fds-list-row:disabled {
5571
+ cursor: default;
5572
+ opacity: 0.6;
5573
+ }
5574
+ .fds-list-row__leading {
5575
+ display: inline-flex;
5576
+ flex-shrink: 0;
5577
+ }
5578
+ .fds-list-row__text {
5579
+ display: flex;
5580
+ flex-direction: column;
5581
+ flex: 1;
5582
+ min-width: 0;
5583
+ }
5584
+ .fds-list-row__title {
5585
+ overflow: hidden;
5586
+ text-overflow: ellipsis;
5587
+ white-space: nowrap;
5588
+ font-size: var(--font-size-text-compact, 13px);
5589
+ line-height: var(--line-height-text-compact, 20px);
5590
+ font-weight: var(--font-weight-medium, 500);
5591
+ }
5592
+ .fds-list-row__description {
5593
+ overflow: hidden;
5594
+ text-overflow: ellipsis;
5595
+ white-space: nowrap;
5596
+ font-size: var(--font-size-text-xs, 12px);
5597
+ line-height: var(--line-height-text-xs, 18px);
5598
+ color: var(--color-text-tertiary, #737373);
5599
+ }
5600
+ .fds-list-row__trailing {
5601
+ display: inline-flex;
5602
+ align-items: center;
5603
+ flex-shrink: 0;
5604
+ color: var(--color-text-tertiary, #737373);
5605
+ font-size: var(--font-size-text-xs, 12px);
5606
+ }
5607
+ .fds-list-row__trailing > svg {
5608
+ width: 16px;
5609
+ height: 16px;
5610
+ }
5611
+
5612
+ /* src/components/CodeBlock/code-block.css */
5613
+ .fds-code-block {
5614
+ position: relative;
5615
+ display: flex;
5616
+ align-items: flex-start;
5617
+ gap: var(--spacing-2, 8px);
5618
+ border-radius: var(--radius-lg, 8px);
5619
+ font-family: var(--font-mono, "JetBrains Mono", monospace);
5620
+ font-size: var(--font-size-text-xs, 12px);
5621
+ line-height: var(--line-height-text-xs, 18px);
5622
+ }
5623
+ .fds-code-block--inline {
5624
+ align-items: center;
5625
+ padding: var(--spacing-2, 8px) var(--spacing-2, 8px) var(--spacing-2, 8px) var(--spacing-3, 12px);
5626
+ background: var(--color-primary, #171717);
5627
+ color: var(--color-primary-text, #ffffff);
5628
+ }
5629
+ .fds-code-block--block {
5630
+ padding: var(--spacing-3, 12px);
5631
+ border: 1px solid var(--color-border, #e5e5e5);
5632
+ background: var(--color-surface-subtle, #fafafa);
5633
+ color: var(--color-text, #171717);
5634
+ }
5635
+ .fds-code-block__code {
5636
+ flex: 1;
5637
+ min-width: 0;
5638
+ margin: 0;
5639
+ overflow-x: auto;
5640
+ font: inherit;
5641
+ white-space: pre;
5642
+ }
5643
+ .fds-code-block--inline .fds-code-block__code {
5644
+ white-space: nowrap;
5645
+ }
5646
+ .fds-code-block__copy {
5647
+ display: inline-flex;
5648
+ align-items: center;
5649
+ justify-content: center;
5650
+ flex-shrink: 0;
5651
+ width: 28px;
5652
+ height: 28px;
5653
+ padding: 0;
5654
+ border: 0;
5655
+ border-radius: var(--radius-md, 6px);
5656
+ background: transparent;
5657
+ color: inherit;
5658
+ opacity: 0.7;
5659
+ cursor: pointer;
5660
+ }
5661
+ .fds-code-block__copy:hover {
5662
+ opacity: 1;
5663
+ background: var(--color-white-alpha-10, rgba(255, 255, 255, 0.1));
5664
+ }
5665
+ .fds-code-block--block .fds-code-block__copy:hover {
5666
+ background: var(--color-black-alpha-4, rgba(0, 0, 0, 0.04));
5667
+ }
5668
+ .fds-code-block__copy:focus-visible {
5669
+ outline: 2px solid var(--color-border-focus, #171717);
5670
+ outline-offset: 2px;
5671
+ opacity: 1;
5672
+ }
5673
+ .fds-code-block__copy > svg {
5674
+ width: 14px;
5675
+ height: 14px;
5676
+ }