Skip to content

Commit

Permalink
added two tokens - updated one
Browse files Browse the repository at this point in the history
  • Loading branch information
fraincs committed Jul 30, 2024
1 parent ec0f15d commit a3ee503
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changeset/khaki-geese-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@hopper-ui/styled-system": minor
"@hopper-ui/tokens": minor
---

Added two tokens / updated one token
10 changes: 9 additions & 1 deletion apps/docs/datas/tokens-dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,10 @@
"name": "hop-neutral-icon-weak-press",
"value": "#ecebe8"
},
{
"name": "hop-neutral-icon-weak-selected",
"value": "#e0dfdd"
},
{
"name": "hop-neutral-icon-weakest",
"value": "#777775"
Expand Down Expand Up @@ -1155,6 +1159,10 @@
"name": "hop-neutral-text-weak-press",
"value": "#ecebe8"
},
{
"name": "hop-neutral-text-weak-selected",
"value": "#e0dfdd"
},
{
"name": "hop-neutral-text-weakest",
"value": "#777775"
Expand Down Expand Up @@ -2709,7 +2717,7 @@
},
{
"name": "hop-status-positive-icon-disabled",
"value": "#7dc291"
"value": "#0c796b"
},
{
"name": "hop-status-positive-icon-hover",
Expand Down
8 changes: 8 additions & 0 deletions apps/docs/datas/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -1065,6 +1065,10 @@
"name": "hop-neutral-icon-weak-press",
"value": "#505050"
},
{
"name": "hop-neutral-icon-weak-selected",
"value": "#636362"
},
{
"name": "hop-neutral-icon-weakest",
"value": "#b3b3b1"
Expand Down Expand Up @@ -1157,6 +1161,10 @@
"name": "hop-neutral-text-weak-press",
"value": "#505050"
},
{
"name": "hop-neutral-text-weak-selected",
"value": "#636362"
},
{
"name": "hop-neutral-text-weakest",
"value": "#b3b3b1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const DarkSemanticTokens = {
"--hop-neutral-icon-weak": "var(--hop-rock-200)",
"--hop-neutral-icon-weak-hover": "var(--hop-rock-75)",
"--hop-neutral-icon-weak-press": "var(--hop-rock-50)",
"--hop-neutral-icon-weak-selected": "var(--hop-rock-75)",
"--hop-neutral-icon-weakest": "var(--hop-rock-400)",
"--hop-neutral-surface": "var(--hop-abyss)",
"--hop-neutral-surface-selected": "var(--hop-toad-25)",
Expand All @@ -93,6 +94,7 @@ export const DarkSemanticTokens = {
"--hop-neutral-text-weak": "var(--hop-rock-200)",
"--hop-neutral-text-weak-hover": "var(--hop-rock-75)",
"--hop-neutral-text-weak-press": "var(--hop-rock-50)",
"--hop-neutral-text-weak-selected": "var(--hop-rock-75)",
"--hop-neutral-text-weakest": "var(--hop-rock-400)",
"--hop-primary-border-active": "var(--hop-sapphire-500)",
"--hop-primary-icon-active": "var(--hop-sapphire-75)",
Expand Down Expand Up @@ -481,7 +483,7 @@ export const DarkSemanticTokens = {
"--hop-status-positive-border-press": "var(--hop-moss-400)",
"--hop-status-positive-border-selected": "var(--hop-moss-75)",
"--hop-status-positive-icon": "var(--hop-moss-800)",
"--hop-status-positive-icon-disabled": "var(--hop-moss-200)",
"--hop-status-positive-icon-disabled": "var(--hop-moss-500)",
"--hop-status-positive-icon-hover": "var(--hop-moss-900)",
"--hop-status-positive-icon-press": "var(--hop-moss-800)",
"--hop-status-positive-icon-selected": "var(--hop-moss-75)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ export const SemanticTokens = {
"--hop-neutral-icon-weak": "var(--hop-rock-400)",
"--hop-neutral-icon-weak-hover": "var(--hop-rock-600)",
"--hop-neutral-icon-weak-press": "var(--hop-rock-700)",
"--hop-neutral-icon-weak-selected": "var(--hop-rock-600)",
"--hop-neutral-icon-weakest": "var(--hop-rock-200)",
"--hop-neutral-surface": "var(--hop-samoyed)",
"--hop-neutral-surface-selected": "var(--hop-rock-800)",
Expand All @@ -309,6 +310,7 @@ export const SemanticTokens = {
"--hop-neutral-text-weak": "var(--hop-rock-500)",
"--hop-neutral-text-weak-hover": "var(--hop-rock-600)",
"--hop-neutral-text-weak-press": "var(--hop-rock-700)",
"--hop-neutral-text-weak-selected": "var(--hop-rock-600)",
"--hop-neutral-text-weakest": "var(--hop-rock-200)",
"--hop-primary-border-active": "var(--hop-sapphire-300)",
"--hop-primary-icon-active": "var(--hop-sapphire-700)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ export const TextColors = {
"neutral-weak": "neutral-text-weak",
"neutral-weak-hover": "neutral-text-weak-hover",
"neutral-weak-press": "neutral-text-weak-press",
"neutral-weak-selected": "neutral-text-weak-selected",
"neutral-weakest": "neutral-text-weakest",
"primary-active": "primary-text-active",
"primary": "primary-text",
Expand Down Expand Up @@ -488,6 +489,7 @@ export const IconColors = {
"neutral-weak": "neutral-icon-weak",
"neutral-weak-hover": "neutral-icon-weak-hover",
"neutral-weak-press": "neutral-icon-weak-press",
"neutral-weak-selected": "neutral-icon-weak-selected",
"neutral-weakest": "neutral-icon-weakest",
"primary-active": "primary-icon-active",
"primary": "primary-icon",
Expand Down
10 changes: 9 additions & 1 deletion packages/tokens/src/tokens/semantic/dark/colors.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,10 @@
"$type": "color",
"$value": "{rock.50}"
},
"icon-weak-selected": {
"$type": "color",
"$value": "{rock.75}"
},
"icon-weakest": {
"$type": "color",
"$value": "{rock.400}"
Expand Down Expand Up @@ -724,6 +728,10 @@
"$type": "color",
"$value": "{rock.50}"
},
"text-weak-selected": {
"$type": "color",
"$value": "{rock.75}"
},
"text-weakest": {
"$type": "color",
"$value": "{rock.400}"
Expand Down Expand Up @@ -1743,7 +1751,7 @@
},
"icon-disabled": {
"$type": "color",
"$value": "{moss.200}"
"$value": "{moss.500}"
},
"icon-hover": {
"$type": "color",
Expand Down
8 changes: 8 additions & 0 deletions packages/tokens/src/tokens/semantic/light/colors.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,10 @@
"$type": "color",
"$value": "{rock.700}"
},
"icon-weak-selected": {
"$type": "color",
"$value": "{rock.600}"
},
"icon-weakest": {
"$type": "color",
"$value": "{rock.200}"
Expand Down Expand Up @@ -724,6 +728,10 @@
"$type": "color",
"$value": "{rock.700}"
},
"text-weak-selected": {
"$type": "color",
"$value": "{rock.600}"
},
"text-weakest": {
"$type": "color",
"$value": "{rock.200}"
Expand Down

0 comments on commit a3ee503

Please sign in to comment.