Skip to content

Commit

Permalink
Removed base elevation.shadow tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshap committed Jan 8, 2025
1 parent 8877817 commit c439121
Show file tree
Hide file tree
Showing 32 changed files with 47 additions and 130 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"base/color/hover",
"base/color/pressed",
"base/text/font",
"base/elevation",
"base/rounding",
"base/space",
"base/motion",
Expand All @@ -31,4 +30,4 @@
"comp/radiogroupbutton/default",
"comp/spinner/default"
]
}
}
8 changes: 2 additions & 6 deletions packages/gestalt-design-tokens/tokens/vr-theme/$themes.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"base/text/font": "enabled",
"base/space": "enabled",
"base/rounding": "enabled",
"base/motion": "enabled",
"base/elevation": "enabled"
"base/motion": "enabled"
},
"$figmaCollectionId": "VariableCollectionId:4995:2",
"$figmaModeId": "7410:0",
Expand Down Expand Up @@ -204,7 +203,6 @@
"base/color/hover": "source",
"base/color/pressed": "source",
"base/text/font": "source",
"base/elevation": "source",
"base/rounding": "source",
"base/space": "source",
"base/motion": "source"
Expand Down Expand Up @@ -311,7 +309,6 @@
"base/color/hover": "source",
"base/color/pressed": "source",
"base/text/font": "source",
"base/elevation": "source",
"base/rounding": "source",
"base/space": "source",
"base/motion": "source"
Expand Down Expand Up @@ -702,7 +699,6 @@
},
"selectedTokenSets": {
"sema/elevation": "enabled",
"base/elevation": "source",
"base/text/font": "source",
"base/color/pressed": "source",
"base/color/hover": "source",
Expand Down Expand Up @@ -1032,4 +1028,4 @@
},
"group": "Component"
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,4 @@
}
}
}
}
}
78 changes: 0 additions & 78 deletions packages/gestalt-design-tokens/tokens/vr-theme/base/elevation.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -405,4 +405,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -275,4 +275,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -275,4 +275,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -475,4 +475,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -275,4 +275,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -275,4 +275,4 @@
}
}
}
}
}
32 changes: 16 additions & 16 deletions packages/gestalt-design-tokens/tokens/vr-theme/sema/elevation.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"type": "boxShadow",
"value": [
{
"x": "{base.elevation.shadow.x.surface}",
"y": "{base.elevation.shadow.y.surface}",
"blur": "{base.elevation.shadow.radius.surface}",
"spread": "{base.elevation.shadow.spread.surface}",
"color": "{base.elevation.shadow.color.surface}",
"x": "0px",
"y": "0.5px",
"blur": "3px",
"spread": "0px",
"color": "rgba(0,0,0,0.2)",
"type": "dropShadow"
}
]
Expand All @@ -19,11 +19,11 @@
"type": "boxShadow",
"value": [
{
"x": "{base.elevation.shadow.x.raised}",
"y": "{base.elevation.shadow.y.raised}",
"blur": "{base.elevation.shadow.radius.raised}",
"spread": "{base.elevation.shadow.spread.raised}",
"color": "{base.elevation.shadow.color.raised}",
"x": "0px",
"y": "1.5px",
"blur": "6px",
"spread": "0px",
"color": "rgba(0,0,0,0.2)",
"type": "dropShadow"
}
]
Expand All @@ -32,11 +32,11 @@
"type": "boxShadow",
"value": [
{
"x": "{base.elevation.shadow.x.floating}",
"y": "{base.elevation.shadow.y.floating}",
"blur": "{base.elevation.shadow.radius.floating}",
"spread": "{base.elevation.shadow.spread.floating}",
"color": "{base.elevation.shadow.color.floating}",
"x": "0px",
"y": "3px",
"blur": "12px",
"spread": "0px",
"color": "rgba(0,0,0,0.2)",
"type": "dropShadow"
}
]
Expand All @@ -58,4 +58,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -421,4 +421,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -300,4 +300,4 @@
}
}
}
}
}

0 comments on commit c439121

Please sign in to comment.