@seed-design/css 1.0.5 → 1.0.6

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/all.css CHANGED
@@ -1366,8 +1366,8 @@
1366
1366
  }
1367
1367
 
1368
1368
  .seed-app-bar__icon--theme_cupertino {
1369
- width: 24px;
1370
- height: 24px;
1369
+ width: var(--seed-icon-size, 24px);
1370
+ height: var(--seed-icon-size, 24px);
1371
1371
  }
1372
1372
 
1373
1373
  .seed-app-bar__root--theme_android {
@@ -1390,8 +1390,8 @@
1390
1390
  }
1391
1391
 
1392
1392
  .seed-app-bar__icon--theme_android {
1393
- width: 24px;
1394
- height: 24px;
1393
+ width: var(--seed-icon-size, 24px);
1394
+ height: var(--seed-icon-size, 24px);
1395
1395
  }
1396
1396
 
1397
1397
  .seed-app-bar__left--theme_android {
@@ -1557,7 +1557,7 @@
1557
1557
  }
1558
1558
 
1559
1559
  .seed-app-bar__icon--tone_layer {
1560
- color: var(--seed-color-fg-neutral);
1560
+ color: var(--seed-icon-color, var(--seed-color-fg-neutral));
1561
1561
  }
1562
1562
 
1563
1563
  .seed-app-bar__root--tone_transparent:before {
@@ -1565,7 +1565,7 @@
1565
1565
  }
1566
1566
 
1567
1567
  .seed-app-bar__icon--tone_transparent {
1568
- color: var(--seed-color-palette-static-white);
1568
+ color: var(--seed-icon-color, var(--seed-color-palette-static-white));
1569
1569
  }
1570
1570
 
1571
1571
  .seed-app-bar__root--divider_true:before {
@@ -1585,16 +1585,19 @@
1585
1585
  .seed-app-bar-main__title--layout_titleOnly {
1586
1586
  font-size: var(--seed-font-size-t6-static);
1587
1587
  font-weight: var(--seed-font-weight-bold);
1588
+ line-height: var(--seed-line-height-t6-static);
1588
1589
  }
1589
1590
 
1590
1591
  .seed-app-bar-main__title--layout_withSubtitle {
1591
1592
  font-size: var(--seed-font-size-t5-static);
1592
1593
  font-weight: var(--seed-font-weight-bold);
1594
+ line-height: var(--seed-line-height-t5-static);
1593
1595
  }
1594
1596
 
1595
1597
  .seed-app-bar-main__subtitle--layout_withSubtitle {
1596
1598
  font-size: var(--seed-font-size-t2-static);
1597
1599
  font-weight: var(--seed-font-weight-regular);
1600
+ line-height: var(--seed-line-height-t2-static);
1598
1601
  }
1599
1602
 
1600
1603
  .seed-app-bar-main__root--theme_cupertino {
@@ -2007,6 +2010,21 @@
2007
2010
  padding-bottom: var(--seed-safe-area-bottom);
2008
2011
  }
2009
2012
 
2013
+ .seed-article {
2014
+ user-select: text;
2015
+ word-break: normal;
2016
+ overflow-wrap: break-word;
2017
+ line-break: strict;
2018
+ }
2019
+
2020
+ .seed-article:lang(ko) {
2021
+ word-break: keep-all;
2022
+ }
2023
+
2024
+ .seed-article::selection {
2025
+ background-color: var(--seed-color-palette-carrot-300);
2026
+ }
2027
+
2010
2028
  .seed-avatar__root {
2011
2029
  box-sizing: border-box;
2012
2030
  vertical-align: top;
@@ -5717,6 +5735,7 @@
5717
5735
  .seed-switch__label {
5718
5736
  font-weight: var(--seed-font-weight-medium);
5719
5737
  color: var(--seed-color-fg-neutral);
5738
+ transition: opacity var(--seed-duration-d1) var(--seed-timing-function-easing);
5720
5739
  }
5721
5740
 
5722
5741
  .seed-switch__label:is(:disabled, [disabled], [data-disabled]) {
@@ -5764,7 +5783,7 @@
5764
5783
  border-radius: var(--seed-radius-full);
5765
5784
  background: var(--seed-color-palette-gray-600);
5766
5785
  margin: var(--switch-mark-margin-top, 0) 0;
5767
- transition: background-color 50ms cubic-bezier(.35, 0, .35, 1) 20ms;
5786
+ transition: background-color var(--seed-duration-d1) var(--seed-timing-function-easing) 20ms, opacity var(--seed-duration-d1) var(--seed-timing-function-easing);
5768
5787
  display: block;
5769
5788
  position: relative;
5770
5789
  }
@@ -5775,7 +5794,8 @@
5775
5794
 
5776
5795
  .seed-switch-mark__thumb {
5777
5796
  border-radius: var(--seed-radius-full);
5778
- transition: transform .15s cubic-bezier(.35, 0, .35, 1);
5797
+ transition: transform var(--seed-duration-d3) var(--seed-timing-function-easing), background-color var(--seed-duration-d1) var(--seed-timing-function-easing) 20ms;
5798
+ transform: scale(.8);
5779
5799
  }
5780
5800
 
5781
5801
  .seed-switch-mark__root--tone_neutral:is(:checked, [data-checked]) {
@@ -5814,7 +5834,7 @@
5814
5834
  }
5815
5835
 
5816
5836
  .seed-switch-mark__thumb--size_16:is(:checked, [data-checked]) {
5817
- transform: translateX(10px);
5837
+ transform: scale(1)translateX(10px);
5818
5838
  }
5819
5839
 
5820
5840
  .seed-switch-mark__root--size_24 {
@@ -5826,11 +5846,10 @@
5826
5846
  .seed-switch-mark__thumb--size_24 {
5827
5847
  width: 20px;
5828
5848
  height: 20px;
5829
- box-shadow: 0 3px 8px #00000026, 0 1px 3px #0000000f;
5830
5849
  }
5831
5850
 
5832
5851
  .seed-switch-mark__thumb--size_24:is(:checked, [data-checked]) {
5833
- transform: translateX(14px);
5852
+ transform: scale(1)translateX(14px);
5834
5853
  }
5835
5854
 
5836
5855
  .seed-switch-mark__root--size_32 {
@@ -5842,11 +5861,10 @@
5842
5861
  .seed-switch-mark__thumb--size_32 {
5843
5862
  width: 26px;
5844
5863
  height: 26px;
5845
- box-shadow: 0 3px 8px #00000026, 0 1px 3px #0000000f;
5846
5864
  }
5847
5865
 
5848
5866
  .seed-switch-mark__thumb--size_32:is(:checked, [data-checked]) {
5849
- transform: translateX(20px);
5867
+ transform: scale(1)translateX(20px);
5850
5868
  }
5851
5869
 
5852
5870
  .seed-tabs__root {
@@ -6042,17 +6060,107 @@
6042
6060
  top: 0;
6043
6061
  }
6044
6062
 
6063
+ .seed-tag-group__root {
6064
+ flex-wrap: wrap;
6065
+ align-items: center;
6066
+ display: inline-flex;
6067
+ }
6068
+
6069
+ .seed-tag-group__separator {
6070
+ color: var(--seed-color-palette-gray-600);
6071
+ font-weight: var(--seed-font-weight-regular);
6072
+ white-space: pre;
6073
+ user-select: none;
6074
+ }
6075
+
6076
+ .seed-tag-group__separator--size_t2 {
6077
+ font-size: var(--seed-font-size-t2);
6078
+ line-height: var(--seed-line-height-t2);
6079
+ }
6080
+
6081
+ .seed-tag-group__separator--size_t3 {
6082
+ font-size: var(--seed-font-size-t3);
6083
+ line-height: var(--seed-line-height-t3);
6084
+ }
6085
+
6086
+ .seed-tag-group__separator--size_t4 {
6087
+ font-size: var(--seed-font-size-t4);
6088
+ line-height: var(--seed-line-height-t4);
6089
+ }
6090
+
6091
+ .seed-tag-group-item {
6092
+ align-items: center;
6093
+ gap: var(--seed-dimension-x0_5);
6094
+ display: flex;
6095
+ }
6096
+
6097
+ .seed-tag-group-item--size_t2 {
6098
+ font-size: var(--seed-font-size-t2);
6099
+ line-height: var(--seed-line-height-t2);
6100
+ --seed-icon-size: var(--seed-dimension-x3);
6101
+ --seed-prefix-icon-size: var(--seed-dimension-x3);
6102
+ --seed-suffix-icon-size: var(--seed-dimension-x3);
6103
+ }
6104
+
6105
+ .seed-tag-group-item--size_t3 {
6106
+ font-size: var(--seed-font-size-t3);
6107
+ line-height: var(--seed-line-height-t3);
6108
+ --seed-icon-size: 13px;
6109
+ --seed-prefix-icon-size: 13px;
6110
+ --seed-suffix-icon-size: 13px;
6111
+ }
6112
+
6113
+ .seed-tag-group-item--size_t4 {
6114
+ font-size: var(--seed-font-size-t4);
6115
+ line-height: var(--seed-line-height-t4);
6116
+ --seed-icon-size: var(--seed-dimension-x3_5);
6117
+ --seed-prefix-icon-size: var(--seed-dimension-x3_5);
6118
+ --seed-suffix-icon-size: var(--seed-dimension-x3_5);
6119
+ }
6120
+
6121
+ .seed-tag-group-item--weight_regular {
6122
+ font-weight: var(--seed-font-weight-regular);
6123
+ }
6124
+
6125
+ .seed-tag-group-item--weight_bold {
6126
+ font-weight: var(--seed-font-weight-bold);
6127
+ }
6128
+
6129
+ .seed-tag-group-item--tone_neutralSubtle {
6130
+ color: var(--seed-color-fg-neutral-subtle);
6131
+ --seed-icon-color: var(--seed-color-fg-neutral-subtle);
6132
+ --seed-prefix-icon-color: var(--seed-color-fg-neutral-subtle);
6133
+ --seed-suffix-icon-color: var(--seed-color-fg-neutral-subtle);
6134
+ }
6135
+
6136
+ .seed-tag-group-item--tone_neutral {
6137
+ color: var(--seed-color-fg-neutral);
6138
+ --seed-icon-color: var(--seed-color-fg-neutral);
6139
+ --seed-prefix-icon-color: var(--seed-color-fg-neutral);
6140
+ --seed-suffix-icon-color: var(--seed-color-fg-neutral);
6141
+ }
6142
+
6143
+ .seed-tag-group-item--tone_brand {
6144
+ color: var(--seed-color-fg-brand);
6145
+ --seed-icon-color: var(--seed-color-fg-brand);
6146
+ --seed-prefix-icon-color: var(--seed-color-fg-brand);
6147
+ --seed-suffix-icon-color: var(--seed-color-fg-brand);
6148
+ }
6149
+
6045
6150
  .seed-text {
6046
- text-align: var(--seed-text-align);
6047
6151
  color: var(--seed-text-color);
6048
6152
  font-size: var(--seed-font-size);
6049
- line-height: var(--seed-line-height);
6050
6153
  font-weight: var(--seed-font-weight);
6154
+ line-height: var(--seed-line-height);
6155
+ text-align: var(--seed-text-align);
6156
+ user-select: var(--seed-user-select);
6051
6157
  --seed-text-color: inherit;
6052
6158
  --seed-font-size: inherit;
6053
- --seed-line-height: inherit;
6054
6159
  --seed-font-weight: inherit;
6160
+ --seed-line-height: inherit;
6055
6161
  --seed-text-align: inherit;
6162
+ --seed-user-select: inherit;
6163
+ --seed-white-space: inherit;
6056
6164
  --seed-max-lines: initial;
6057
6165
  margin: 0;
6058
6166
  }
@@ -6217,7 +6325,7 @@
6217
6325
  overflow: unset;
6218
6326
  min-width: unset;
6219
6327
  text-overflow: unset;
6220
- white-space: unset;
6328
+ white-space: var(--seed-white-space);
6221
6329
  -webkit-line-clamp: unset;
6222
6330
  }
6223
6331
 
@@ -6248,6 +6356,10 @@
6248
6356
  text-decoration-line: line-through;
6249
6357
  }
6250
6358
 
6359
+ .seed-text--textDecorationLine_underline {
6360
+ text-decoration-line: underline;
6361
+ }
6362
+
6251
6363
  .seed-text-field__root {
6252
6364
  flex-direction: column;
6253
6365
  width: 100%;