Skip to content

Commit

Permalink
perf: add all non color classic tokens to excursion theme
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 authored and jason-capsule42 committed May 28, 2024
1 parent 077be0d commit a6ffc04
Show file tree
Hide file tree
Showing 14 changed files with 1,148 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/config-excursion.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"source": ["./src/themes/excursion/color/*.json"],
"include": ["./src/themes/excursion/asset/*.json", "./src/themes/excursion/size/*.json", "./src/themes/excursion/*.json"],
"platforms": {
"JSONVariables": {
"transformGroup": "css",
Expand Down
21 changes: 21 additions & 0 deletions src/themes/excursion/animation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"animation": {
"default": {
"property": {
"value": "all",
"public": true,
"deprecated": false
},
"duration": {
"value": "0.3s",
"public": true,
"deprecated": false
},
"timing": {
"value": "ease-out",
"public": true,
"deprecated": false
}
}
}
}
35 changes: 35 additions & 0 deletions src/themes/excursion/asset/font.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"asset": {
"font": {
"circular": {
"familyName": {
"value": "AS Circular",
"public": true,
"deprecated": false
},
"filename": {
"value": "ASCircularWeb",
"public": true,
"deprecated": false
},
"weight": {
"light": {
"value": "-Light",
"public": true,
"deprecated": false
},
"medium": {
"value": "-Medium",
"public": true,
"deprecated": false
},
"book": {
"value": "-Book",
"public": true,
"deprecated": false
}
}
}
}
}
}
34 changes: 34 additions & 0 deletions src/themes/excursion/comments.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"comments": {
"deprecated": {
"comment": "\n // Deprecated, no replacement; token to be REMOVED in next MAJOR release"
},
"reference": {
"comment": "\n // New token, see"
},
"color": {
"deprecated": {
"comment": "{comments.deprecated.comment}"
},
"base": {
"value": {
"comment": "\n // Base value for token support; should not use in code!"
}
},
"brand": {
"value": {
"comment": "\n // Please consider descriptive token prior to using brand token"
}
},
"classic": {
"comment": "\n // DO NOT USE for anything other than legacy projects or classic component themes"
},
"matrix": {
"comment": "\n // DO NOT USE for anything other than legacy projects related to the matrix search"
},
"reference": {
"comment": "{comments.reference.comment}"
}
}
}
}
22 changes: 22 additions & 0 deletions src/themes/excursion/depth copy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"depth": {
"hidden": {
"value": "-1"
},
"overlay": {
"value": "200",
"public": true,
"deprecated": false
},
"modal": {
"value": "400",
"public": true,
"deprecated": false
},
"tooltip": {
"value": "300",
"public": true,
"deprecated": false
}
}
}
22 changes: 22 additions & 0 deletions src/themes/excursion/elevation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"elevation": {
"100": {
"value": "0px 0px 5px rgba(0, 0, 0, 0.15)",
"public": true,
"comment": "for the least amount of emphasis",
"deprecated": false
},
"200": {
"value": "0px 0px 10px rgba(0, 0, 0, 0.15)",
"public": true,
"comment": "for more emphasis than low elevation",
"deprecated": false
},
"300": {
"value": "0px 0px 15px rgba(0, 0, 0, 0.2)",
"public": true,
"comment": "for maximum emphasis or differentiation",
"deprecated": false
}
}
}
29 changes: 29 additions & 0 deletions src/themes/excursion/grid-breakpoint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"gridBreakpoint": {
"xs": {
"value": "320px",
"public": true,
"deprecated": false
},
"sm": {
"value": "576px",
"public": true,
"deprecated": false
},
"md": {
"value": "768px",
"public": true,
"deprecated": false
},
"lg": {
"value": "1024px",
"public": true,
"deprecated": false
},
"xl": {
"value": "1232px",
"public": true,
"deprecated": false
}
}
}
29 changes: 29 additions & 0 deletions src/themes/excursion/grid-column.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"gridColumn": {
"xs": {
"value": "6",
"public": true,
"deprecated": false
},
"sm": {
"value": "12",
"public": true,
"deprecated": false
},
"md": {
"value": "12",
"public": true,
"deprecated": false
},
"lg": {
"value": "12",
"public": true,
"deprecated": false
},
"xl": {
"value": "12",
"public": true,
"deprecated": false
}
}
}
29 changes: 29 additions & 0 deletions src/themes/excursion/grid-gutter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"gridGutter": {
"xs": {
"value": "{size.100.value}",
"public": true,
"deprecated": false
},
"sm": {
"value": "{size.200.value}",
"public": true,
"deprecated": false
},
"md": {
"value": "{size.300.value}",
"public": true,
"deprecated": false
},
"lg": {
"value": "{size.300.value}",
"public": true,
"deprecated": false
},
"xl": {
"value": "{size.400.value}",
"public": true,
"deprecated": false
}
}
}
29 changes: 29 additions & 0 deletions src/themes/excursion/grid-margin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"gridMargin": {
"xs": {
"value": "{size.200.value}",
"public": true,
"deprecated": false
},
"sm": {
"value": "{size.200.value}",
"public": true,
"deprecated": false
},
"md": {
"value": "{size.300.value}",
"public": true,
"deprecated": false
},
"lg": {
"value": "{size.400.value}",
"public": true,
"deprecated": false
},
"xl": {
"value": "{size.400.value}",
"public": true,
"deprecated": false
}
}
}
9 changes: 9 additions & 0 deletions src/themes/excursion/size/radius.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"border": {
"radius": {
"value": "{size.75.value}",
"public": true,
"deprecated": false
}
}
}
Loading

0 comments on commit a6ffc04

Please sign in to comment.