项目介绍

FiercestT/EasyEdaThemes 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,目前获得 134 个 Star、12 次 Fork。

仓库全名
FiercestT/EasyEdaThemes
Star 数
134
Fork 数
12

README 摘要

EasyEDA Themes Extension Overview This extension revamps the entire EasyEDA UI with 19 unique Dark 🕶️ and some Light themes. Supports separate App and Schematic themes. Works in any browser or the standalone app. Note: This extension only works with the standard edition of EasyEDA, not the Pro edition. 💾 Installing 1) Download the latest release. 2) Now in EasyEDA, open the extensions window by going to: Advanced…

完整内容见 GitHub 原始 README 或本页 。

常见问题

EasyEdaThemes 用什么语言开发?

主要使用 JavaScript 编写,目前有 134 个 Star。

如何获取 EasyEdaThemes 的源码?

可以直接克隆仓库:git clone https://github.com/FiercestT/EasyEdaThemes.git,默认分支为 master;安装与运行步骤见仓库 README。

EasyEdaThemes 最近还在维护吗?

仓库最近一次更新为 2 天前,当前没有未关闭的 Issue;Star 数为 134,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Dark and Light theme overhaul for the EasyEda web based Schematic/PCB designer.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
159
价值分
84
活跃状态
活跃

语言占比

JavaScript
Shell

Release

README

EasyEDA Themes Extension

Overview

This extension revamps the entire EasyEDA UI with 19 unique Dark 🕶️ and some Light themes.

Supports separate App and Schematic themes. Works in any browser or the standalone app.

Note: This extension only works with the standard edition of EasyEDA, not the Pro edition.

💾 Installing

  1. Download the latest release.
  2. Now in EasyEDA, open the extensions window by going to: Advanced > Extensions > Extensions Settings.
  3. Select Load Extension > Select Files.
  4. Select all of the files from the extension folder from the downloaded repository.
  5. Make sure that the Extension ID field says themes. Then load the extension.
  6. Thats it! The themes extension is now mounted.
  7. You can now go to Themes > Select Theme to select a theme.

Note: If you are having issues or remount the extension, refresh the page (Right Click > Reload on standalone app).

📷 Screenshots

One Dark

Darker

Dracula

Oceanic

🔨 Contributing

Whether you want to add to the project, edit it for yourself, or fix some CSS that I missed, the following can help you out a bit when it comes to the project and EasyEDA extensions.

File Structure

File Description
main.js The main code for the extension.
manifest.json Must be present to identify the extension.
style.txt CSS styling. It is a .txt since extensions don’t allow .css uploads.
themes.json Theme definitions with app and schematic color palettes.
locale.txt Translations.

Adding Themes

Themes are defined in themes.json with two sections per theme:

  • app - UI colors (background, text, buttons, accent, etc.)
  • schematic - Schematic editor colors (wire, bus, junction, pin, etc.)

CSS Development

Extensions can only mount js, jpg, png, gif, svg, txt, json, and md files, so the stylesheet is uploaded as .txt. To make CSS editing easier, use Themes > Edit CSS to update CSS without remounting.

API

EasyEDA can load uploaded resources using an API call. These are loaded as blobs and must be processed. EasyEDA has some basic documentation and outdated examples for their API. You can use developer tools and prettify main.min.js to explore what API calls are possible.

评论

暂无评论