Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Commit 955a15d

Browse files
committed
fix: some small fixes and add shadow token
1 parent d9180cf commit 955a15d

File tree

2 files changed

+186
-70
lines changed

2 files changed

+186
-70
lines changed

apps/poc-tokens-plugin/src/app/app.component.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,14 @@ export class AppComponent {
106106
tokenValue = 25;
107107
break;
108108
case 'shadow':
109-
tokenValue = {
110-
offsetX: 6,
111-
offsetY: 6,
112-
blur: 4,
113-
spread: 0,
114-
color: '#000000',
115-
inset: false,
116-
};
109+
tokenValue = [{
110+
color: '#123456',
111+
inset: 'false',
112+
offsetX: '6',
113+
offsetY: '6',
114+
spread: '0',
115+
blur: '4',
116+
}];
117117
break;
118118
case 'color':
119119
tokenValue = '#fabada';
@@ -127,6 +127,9 @@ export class AppComponent {
127127
case 'fontSizes':
128128
tokenValue = 24;
129129
break;
130+
case 'fontWeights':
131+
tokenValue = 'bold';
132+
break;
130133
case 'letterSpacing':
131134
tokenValue = 0.5;
132135
break;
@@ -154,9 +157,6 @@ export class AppComponent {
154157
case 'textDecoration':
155158
tokenValue = 'underline';
156159
break;
157-
case 'fontWeights':
158-
tokenValue = 'bold';
159-
break;
160160
case 'typography':
161161
tokenValue = {
162162
fontFamilies: 'Acme',

0 commit comments

Comments
 (0)