This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type { Config } from 'tailwindcss' | |
const config: Config = { | |
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'], | |
theme: { | |
// Common | |
colors: { | |
'[]': '[]', | |
inherit: 'inherit', | |
transparent: 'transparent', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Google Chrome" to activate | |
tell application "System Events" | |
tell process "Google Chrome" | |
click menu item "プロファイル名" of menu 1 of menu bar item "プロファイル" of menu bar 1 | |
end tell | |
end tell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 現在のページにあるハイパーリンクが設定されているすべてのテキストに下線を引く | |
function main() { | |
const textNodes: TextNode[] = figma.currentPage.findAll(node => { | |
return node.type === 'TEXT' && node.hyperlink !== null | |
}) | |
textNodes.forEach(async textNode => { | |
await Promise.all(textNode.getRangeAllFontNames(0, textNode.characters.length).map(figma.loadFontAsync)) | |
textNode.textDecoration = 'UNDERLINE' | |
}) |
OlderNewer