
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@openameba/spindle-tokens
Advanced tools
Spindle (Ameba Design System) Design Tokens
Spindle TokensはAmebaのデザインシステム「Spindle」で定義されたデザイントークンを管理します。デザイントークンはStyle Dictionary準拠のJSON形式で管理され、各アプリケーション向けの形式に変換されます。
デザイントークンのデータをJSON(オブジェクト)形式で表現した形式です。
dist/json/spindle-tokens.json
{
"Color": {
"Primitive": {
"Black": {
"100": {
"value": "rgba(0, 0, 0, 1)",
"filePath": "tokens/color/primitive.json",
"isSource": true,
"original": {
"value": "rgba(0, 0, 0, 1)"
},
"name": "100",
"attributes": {},
"path": [
"Color",
"Primitive",
"Black",
"100"
]
}
}
}
}
}
デザイントークンのデータをJSON(配列)形式で表現した形式です。データのソートやフィルタリングする際に役立つかもしれません。以下の点がJSON形式と異なっていますので、注意して利用してください。
value
はstring
に統一されますoriginal.value
は元データ型を保持しますpath
を.
で連結したpathString
プロパティが付与されますdist/json/spindle-tokens-flat.json
[
{
"value": "rgba(0, 0, 0, 1)",
"filePath": "tokens/color/primitive.json",
"isSource": true,
"original": {
"value": "rgba(0, 0, 0, 1)"
},
"name": "100",
"attributes": {},
"path": [
"Color",
"Primitive",
"Black",
"100"
],
"pathString": "Color.Primitive.Black.100"
}
]
# Figmaで定義されたデザイントークンをJSON形式のファイルに変換し、保存します
FIGMA_TOKEN=*** FIGMA_COLOR_PRIMITIVE_FILE_ID=*** FIGMA_COLOR_THEME_FILE_ID=*** FIGMA_COLOR_THEME_DARK_FILE_ID=*** FIGMA_DROP_SHADOW_FILE_ID=*** yarn export
# JSONファイルを元に各プラットフォームで利用する形式に変換します
yarn build
Spindle TokensはMITライセンスで公開されています。
FAQs
Spindle design tokens.
We found that @openameba/spindle-tokens demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.