Copy-figma-css

Latest Version

Version
1.0.11
Update
September 19, 2024
Size
153KiB
Developer
Category
Users
346
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
Storage
ClipboardWrite
See more

copy-figma-css Extension

Enable this extension and activate the inspect tab in a figma file, the CSS can be automatically copied according to the rules you set after any node is selected

(Automatic copy function is Expired, please copy manually)

Feature:
* Copy Figma Css automatically (Expired, please copy manually)
* Ignore useless comments and unwanted properties
* Set Scale level of the number and custom unit
* Custom replace rule
* Replace the value by css/less/sass variables
* Different configs for different projects

Usage:
* Install this plugin and Pin it in the extension bar
* Open or refresh the figma file
* Manually copy the css code, and the code will be modified according to the rules and written to the clipboard
* If the browser ask the permission to read the clipboard, click Allow to read, it read the CSS code only


figma 复制 CSS 插件,开启此插件激活 Inspect(检查)tab,便可以在选中元素之后自动根据设置好的规则复制 CSS 代码。
(自动复制功能已失效,请手动复制)

已支持的特性:
* 自动复制 Figma CSS (已失效,请手动复制)
* 支持过滤无用注释和不需要的属性
* 支持设置缩放级别、CSS 单位
* 自定义替换规则
* css var/less/sass 变量替换
* 多个项目多个配置

使用方法:
* 安装此插件,并固定在扩展栏
* 打开或刷新 figma 设计稿
* 手动复制 CSS 代码,代码就会按照规则修改后写入剪贴板
* 若页面提示阻止读取剪贴板权限,点击允许读取,插件只读取 CSS 内容
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx","manifest_version": 3,"name": "copy-figma-css","version": "1.0.11","action": {"default_icon": "img/copy-figma-css-32.png","default_title": "copy-figma-css","default_popup": "index.html"},"description": "copy-figma-css","icons":{"16": "img/copy-figma-css-16.png","48": "img/copy-figma-css-48.png","128": "img/copy-figma-css-128.png"},"content_scripts": [{"matches": ["https://www.figma.com/design/*"],"js": ["js/change-copy-css.js"],"run_at": "document_start"}],"permissions": ["storage", "clipboardWrite"]}
Read more

How to download and manually install copy-figma-css extension for Chrome

Looking for a way to install copy-figma-css extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install copy-figma-css extensions manually, this article outlines two simple methods to effortlessly install copy-figma-css extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download copy-figma-css extension and manually install through Drag &Drop

If you ever need to manually install a copy-figma-css extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the copy-figma-css Extension by clicking the "Download CRX" button on the website.

Look for the copy-figma-css extension you wish to install. Go to the website and download the copy-figma-css extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for copy-figma-css extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the copy-figma-css extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download copy-figma-css extension for Chrome and install in Developer Mode

This is another method to install copy-figma-css extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the copy-figma-css extension file

Select and download the copy-figma-css extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the copy-figma-css extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your copy-figma-css extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the copy-figma-css extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install copy-figma-css extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

fubukicss-tool Extension · Developer Tools 346 13 ★ 165KiB

icon

Hover inspector like in Zeplin , Figma Extension · Developer Tools 346 29 ★ 122KiB

icon

Jinno: code any React component with AI Extension · Developer Tools 346 38 ★ 18.37MiB

icon

DesignCode Extension · Developer Tools 346 4 ★ 278KiB

icon

Figma Extension · Productivity 346 27 ★ 1.36MiB

icon

Figma Node Inspect Extension · Productivity 346 4 ★ 174KiB

icon

TemPad Dev Extension · Developer Tools 346 8 ★ 89.63KiB

icon

Figma to Tokens Extension · Developer Tools 346 0 ★ 25.37KiB

icon

Figma Search Extension · Developer Tools 346 5 ★ 136KiB

icon

Figma UI Mod Extension · Productivity 346 3 ★ 662KiB

icon

Figma GitHub Extension · Developer Tools 346 5 ★ 29.55KiB

icon

HTML to Figma - by Builder.io Extension · Productivity 346 46 ★ 343KiB

icon

Element to Figma Extension · Productivity 346 1 ★ 197KiB

icon

Web to Figma Extension · Productivity 346 12 ★ 945KiB

icon

DesignNext Extension · Developer Tools 346 5 ★ 1.09MiB

icon

Figma CSS Inspector Extension · Developer Tools 346 3 ★ 1.2MiB

icon

Markflow: Copy Elements to Figma, React, etc. Extension · Developer Tools 346 4 ★ 1.6MiB

icon

html.to.design Extension · Productivity 346 72 ★ 333KiB

icon

FigmaCN Extension · Productivity 346 44 ★ 53.8KiB

icon

CSS Scan Extension · Developer Tools 346 84 ★ 1.41MiB

icon

Pixelay for Figma Extension · Developer Tools 346 4 ★ 391KiB

icon

UI Design Extension · Developer Tools 346 3 ★ 26.09KiB

icon

SnipCSS Extension · Developer Tools 346 32 ★ 13.12MiB

icon

Inspect CSS Extension · Developer Tools 346 24 ★ 404KiB

User reviews

icon

tzehang wy (ID: 00000062052ffbd0) Voted 5 ★ - Updated 12/02/2021 一个字,牛逼

icon

范君正 (ID: 000000256b9af4b8) Voted 5 ★ - Updated 12/02/2021 太好用啦,绝绝子,方便方便方便!!!

icon

da panda (ID: 0000005fbf6004b4) Voted 5 ★ - Updated 11/29/2021 效率提升了10倍,解决了我写静态页面的痛点