@agorapulse/ui-theme 22.0.11 → 22.0.12

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.
@@ -1,3 +1,5 @@
1
+ @use 'typography-mixins' as *;
2
+
1
3
  .ng-select.ap-select {
2
4
  font-family: var(--sys-text-style-body-font-family);
3
5
  .ng-select-container {
@@ -161,10 +163,7 @@
161
163
 
162
164
  .ng-placeholder {
163
165
  color: var(--ref-color-grey-60);
164
- font-family: var(--sys-text-style-body-font-family);
165
- font-weight: var(--sys-text-style-body-weight);
166
- font-size: var(--sys-text-style-body-size);
167
- line-height: var(--sys-text-style-body-line-height);
166
+ @include text-style(body);
168
167
  }
169
168
 
170
169
  .multiple-item {
@@ -0,0 +1,8 @@
1
+ // Applies one design-system text style — the four `--sys-text-style-*` tokens that compose it.
2
+
3
+ @mixin text-style($name) {
4
+ font-family: var(--sys-text-style-#{$name}-font-family);
5
+ font-size: var(--sys-text-style-#{$name}-size);
6
+ font-weight: var(--sys-text-style-#{$name}-weight);
7
+ line-height: var(--sys-text-style-#{$name}-line-height);
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agorapulse/ui-theme",
3
- "version": "22.0.11",
3
+ "version": "22.0.12",
4
4
  "description": "Agorapulse UI Theme Library",
5
5
  "repository": {
6
6
  "type": "git",