Skip to content

Commit

Permalink
perf(pencil): Fixing Native typography token types
Browse files Browse the repository at this point in the history
* Typescript native hell

* Transformed tokens

* Built and updated design tokens

* I think it le working?

* Transformed tokens

* Built and updated design tokens

* Rebuild all files

* Transformed tokens

* Built and updated design tokens

* Files compiled!

* Possibly fully working?

* Transformed tokens

* Built and updated design tokens

* Files compiled!

* Aodijaspoidjapsoijda

* Transformed tokens

* Built and updated design tokens

* Files compiled!

* Proper properly catching

* Transformed tokens

* Reverting PX stripping

* Built and updated design tokens

* Files compiled!

* String tweaks

* Transformed tokens

* Built and updated design tokens

* Files compiled!

* Formatting weights

* Transformed tokens

* Built and updated design tokens

* Files compiled!

* Oh god please make the formatting work

* Transformed tokens

* Built and updated design tokens

* Files compiled!

* Cleanup

* Transformed tokens

* Built and updated design tokens

* Files compiled!

* Package json version bump

---------

Co-authored-by: Ian Clarke <[email protected]>
Co-authored-by: iryanclarke <[email protected]>
  • Loading branch information
3 people authored Mar 19, 2024
1 parent ba6b564 commit 6ea5050
Show file tree
Hide file tree
Showing 58 changed files with 109 additions and 73 deletions.
2 changes: 1 addition & 1 deletion dist/documentation/core-dark-colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:25 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

export const green : {100:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/core-dark-colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:25 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

module.exports = {green : {100:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/core-light-colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:25 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

export const green : {100:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/core-light-colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:25 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

module.exports = {green : {100:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/themes/dark.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:26 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

export const text : {emphasis:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/themes/dark.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:26 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

module.exports = {text : {emphasis:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/themes/emerson.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:26 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

export const text : {emphasis:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/themes/emerson.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:26 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

module.exports = {text : {emphasis:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/themes/light.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:26 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

export const text : {emphasis:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/themes/light.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:26 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

module.exports = {text : {emphasis:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/themes/lightDS3.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:26 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

export const text : {emphasis:{
Expand Down
2 changes: 1 addition & 1 deletion dist/documentation/themes/lightDS3.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:26 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

module.exports = {text : {emphasis:{
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/native/borders.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:25 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

export const radiusBase : number;
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/native/borders.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:25 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/native/core-dark-colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:25 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

export const green: {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/native/core-dark-colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:25 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

module.exports = {green: {100 : "#0C291E",200 : "#124935",300 : "#1F5B45",400 : "#206A4F",500 : "#288563",600 : "#42AD86",700 : "#BFE8D9",800 : "#F0FFF9"},
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/native/core-light-colors.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:25 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

export const green: {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string};
Expand Down
2 changes: 1 addition & 1 deletion dist/tokens/native/core-light-colors.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:25 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

module.exports = {green: {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"},
Expand Down
4 changes: 2 additions & 2 deletions dist/tokens/native/themes/dark.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Wed, 21 Feb 2024 15:30:26 GMT
* Generated on Tue, 19 Mar 2024 13:54:31 GMT
*/

export const theme: string;
Expand All @@ -23,4 +23,4 @@ export const inverted: {backgroundBase : string,backgroundHover : string,backgro
export const accent: { forest: { textBody: string, textEmphasis: string, backgroundMuted0: string, backgroundMuted1: string, backgroundMuted2: string }, sand: { textBody: string, textEmphasis: string, backgroundMuted0: string, backgroundMuted1: string, backgroundMuted2: string } };
export const boxShadows: {cardBase : string,cardHover : string,popoverBase : string,modalBase : string};
export const opacity: {overlayBackdrop : number};
export const aviaryTypography: { h1: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },h2: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },h3: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },h4: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },h5: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },body: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },footnote: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },caption: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },subcaption: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },mobileH1: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },mobileH2: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },mobileH3: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },mobileH4: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },mobileH5: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },mobileBody: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },mobileFootnote: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },mobileCaption: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string },mobileSubcaption: { fontFamily: string ,fontWeight: number ,fontSize: string ,lineHeight: string ,textDecoration: string ,textCase: string } };
export const aviaryTypography: { h1: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },h2: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },h3: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },h4: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },h5: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },body: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },footnote: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },caption: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },subcaption: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },mobileH1: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },mobileH2: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },mobileH3: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },mobileH4: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },mobileH5: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },mobileBody: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },mobileFootnote: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },mobileCaption: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string },mobileSubcaption: { fontFamily: string ,fontWeight: string ,fontSize: number ,lineHeight: number ,textDecoration: string ,textCase: string } };
4 changes: 2 additions & 2 deletions dist/tokens/native/themes/dark.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6ea5050

Please sign in to comment.