Skip to content

Commit

Permalink
add smart tokens to themes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandra-lim committed Jul 22, 2024
1 parent 64f3c00 commit db07fc8
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 18 deletions.
34 changes: 17 additions & 17 deletions src/data/core-dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -243,24 +243,24 @@
"value": "#F6F1E5",
"type": "color"
}
}
},
"smart": {
"400": {
"value": "#8FA7C1",
"type": "color"
},
"500": {
"value": "#B0C1D4",
"type": "color"
},
"600": {
"value": "#C8D6E4",
"type": "color"
},
"700": {
"value": "#DDE5EE",
"type": "color"
"smart": {
"400": {
"value": "#8FA7C1",
"type": "color"
},
"500": {
"value": "#B0C1D4",
"type": "color"
},
"600": {
"value": "#C8D6E4",
"type": "color"
},
"700": {
"value": "#DDE5EE",
"type": "color"
}
}
},
"opacity": {
Expand Down
16 changes: 16 additions & 0 deletions src/data/themes/dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,22 @@
"type": "color"
}
}
},
"smart": {
"background": {
"base": {
"value": "linear-gradient(65deg, {colors.smart.400} 10.68%, {colors.smart.500} 38.02%, {colors.smart.600} 79.03%)",
"type": "color"
},
"hover": {
"value": "linear-gradient(65deg, {colors.smart.400} 10.68%, {colors.smart.500} 20.59%, {colors.smart.600} 32.55%)",
"type": "color"
},
"active": {
"value": "linear-gradient(65deg, {colors.smart.500} 10.68%, {colors.smart.600} 20.59%, {colors.smart.700} 32.55%)",
"type": "color"
}
}
}
},
"boxShadows": {
Expand Down
16 changes: 16 additions & 0 deletions src/data/themes/emerson.json
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,22 @@
"type": "color"
}
}
},
"smart": {
"background": {
"base": {
"value": "linear-gradient(65deg, {colors.smart.400} 10.68%, {colors.smart.500} 38.02%, {colors.smart.600} 79.03%)",
"type": "color"
},
"hover": {
"value": "linear-gradient(65deg, {colors.smart.400} 10.68%, {colors.smart.500} 20.59%, {colors.smart.600} 32.55%)",
"type": "color"
},
"active": {
"value": "linear-gradient(65deg, {colors.smart.500} 10.68%, {colors.smart.600} 20.59%, {colors.smart.700} 32.55%)",
"type": "color"
}
}
}
},
"boxShadows": {
Expand Down
16 changes: 16 additions & 0 deletions src/data/themes/light.json
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,22 @@
"type": "color"
}
}
},
"smart": {
"background": {
"base": {
"value": "linear-gradient(65deg, {colors.smart.400} 10.68%, {colors.smart.500} 38.02%, {colors.smart.600} 79.03%)",
"type": "color"
},
"hover": {
"value": "linear-gradient(65deg, {colors.smart.400} 10.68%, {colors.smart.500} 20.59%, {colors.smart.600} 32.55%)",
"type": "color"
},
"active": {
"value": "linear-gradient(65deg, {colors.smart.500} 10.68%, {colors.smart.600} 20.59%, {colors.smart.700} 32.55%)",
"type": "color"
}
}
}
},
"boxShadows": {
Expand Down
15 changes: 14 additions & 1 deletion src/data/themes/lightDS3.json
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,20 @@
}
},
"smart": {

"background": {
"base": {
"value": "linear-gradient(65deg, {colors.smart.400} 10.68%, {colors.smart.500} 38.02%, {colors.smart.600} 79.03%)",
"type": "color"
},
"hover": {
"value": "linear-gradient(65deg, {colors.smart.400} 10.68%, {colors.smart.500} 20.59%, {colors.smart.600} 32.55%)",
"type": "color"
},
"active": {
"value": "linear-gradient(65deg, {colors.smart.500} 10.68%, {colors.smart.600} 20.59%, {colors.smart.700} 32.55%)",
"type": "color"
}
}
}
},
"boxShadows": {
Expand Down

0 comments on commit db07fc8

Please sign in to comment.