Skip to content

Commit

Permalink
Merge pull request #196 from adobe/paliwalsparsh/SDS-13834-select-box
Browse files Browse the repository at this point in the history
feat: S2 Select box tokens
  • Loading branch information
karstens authored Sep 10, 2024
2 parents c8a944c + 81b0f62 commit b2ab54b
Show file tree
Hide file tree
Showing 5 changed files with 266 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tokens-studio/spectrum2-colors/$themes.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"Component.opacity-checkerboard.square-dark": "6857acced41f42de6a76bbd40b5c6cdec7164093",
"Component.opacity-checkerboard.square-light": "dbdd76a1bdcdeba3151841aab68ff11c88fc6b37",
"Component.popover.border": "716363d37a9959c100d120da64dc12ca43af2cc7",
"Component.select-box.selected-border": "ba2fa5b5fd6bbc7e00bceed3615524b7266f5d46",
"Component.swatch.border": "0921def4f90864fbeb1e361239484a95d7296f3b",
"Component.swatch.disabled-icon-border": "926608b75d469011fdab4effff4b928a9010a99f",
"Component.standard-panel.gripper": "b352e01720f30f5a2223b49cc6871e9120109d7b",
Expand Down Expand Up @@ -737,6 +738,7 @@
"Component.opacity-checkerboard.square-dark": "6857acced41f42de6a76bbd40b5c6cdec7164093",
"Component.opacity-checkerboard.square-light": "dbdd76a1bdcdeba3151841aab68ff11c88fc6b37",
"Component.popover.border": "716363d37a9959c100d120da64dc12ca43af2cc7",
"Component.select-box.selected-border": "ba2fa5b5fd6bbc7e00bceed3615524b7266f5d46",
"Component.swatch.border": "0921def4f90864fbeb1e361239484a95d7296f3b",
"Component.swatch.disabled-icon-border": "926608b75d469011fdab4effff4b928a9010a99f",
"Component.standard-panel.gripper": "b352e01720f30f5a2223b49cc6871e9120109d7b",
Expand Down
12 changes: 12 additions & 0 deletions src/tokens-studio/spectrum2-colors/spectrum2/component/dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,18 @@
}
}
},
"select-box": {
"selected-border": {
"value": "{Palette.gray.800}",
"type": "color",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-selected-border-color"
}
}
}
},
"swatch": {
"border": {
"value": "{Palette.gray.1000}",
Expand Down
12 changes: 12 additions & 0 deletions src/tokens-studio/spectrum2-colors/spectrum2/component/light.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,18 @@
}
}
},
"select-box": {
"selected-border": {
"value": "{Palette.gray.800}",
"type": "color",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-selected-border-color"
}
}
}
},
"swatch": {
"border": {
"value": "{Palette.gray.1000}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3780,6 +3780,126 @@
}
}
},
"select-box-horizontal-minimum-height": {
"value": "80px",
"type": "sizing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-horizontal-minimum-height"
}
}
},
"select-box-horizontal-width": {
"value": "368px",
"type": "sizing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-horizontal-width"
}
}
},
"select-box-vertical-height": {
"value": "170px",
"type": "sizing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-vertical-height"
}
}
},
"select-box-edge-to-checkbox": {
"value": "12px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-edge-to-checkbox"
}
}
},
"select-box-horizontal-end-to-content": {
"value": "32px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-horizontal-end-to-content"
}
}
},
"select-box-horizontal-illustration-to-label": {
"value": "10px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-horizontal-illustration-to-label"
}
}
},
"select-box-horizontal-label-to-description": {
"value": "2px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-horizontal-label-to-description"
}
}
},
"select-box-horizontal-start-to-content": {
"value": "24px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-horizontal-start-to-content"
}
}
},
"select-box-horizontal-top-to-content": {
"value": "16px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-horizontal-top-to-content"
}
}
},
"select-box-top-to-checkbox": {
"value": "4px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-top-to-checkbox"
}
}
},
"select-box-vertical-edge-to-content": {
"value": "24px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-vertical-edge-to-content"
}
}
},
"select-box-vertical-illustration-to-label": {
"value": "8px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-vertical-illustration-to-label"
}
}
},
"search-field-minimum-width-multiplier": {
"value": "4",
"type": "number",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3780,6 +3780,126 @@
}
}
},
"select-box-horizontal-minimum-height": {
"value": "100px",
"type": "sizing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-horizontal-minimum-height"
}
}
},
"select-box-horizontal-width": {
"value": "460px",
"type": "sizing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-horizontal-width"
}
}
},
"select-box-vertical-height": {
"value": "212px",
"type": "sizing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-vertical-height"
}
}
},
"select-box-edge-to-checkbox": {
"value": "15px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-edge-to-checkbox"
}
}
},
"select-box-horizontal-end-to-content": {
"value": "40px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-horizontal-end-to-content"
}
}
},
"select-box-horizontal-illustration-to-label": {
"value": "12px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-horizontal-illustration-to-label"
}
}
},
"select-box-horizontal-label-to-description": {
"value": "3px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-horizontal-label-to-description"
}
}
},
"select-box-horizontal-start-to-content": {
"value": "30px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-horizontal-start-to-content"
}
}
},
"select-box-horizontal-top-to-content": {
"value": "20px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-horizontal-top-to-content"
}
}
},
"select-box-top-to-checkbox": {
"value": "5px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-top-to-checkbox"
}
}
},
"select-box-vertical-edge-to-content": {
"value": "30px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-vertical-edge-to-content"
}
}
},
"select-box-vertical-illustration-to-label": {
"value": "10px",
"type": "spacing",
"$extensions": {
"spectrum-tokens": {
"uuid": "",
"name": "select-box-vertical-illustration-to-label"
}
}
},
"search-field-minimum-width-multiplier": {
"value": "4",
"type": "number",
Expand Down

0 comments on commit b2ab54b

Please sign in to comment.