MIT License

项目介绍

battleaxedotco/brutalism 是一个托管在 GitHub 上的开源项目,主要使用 HTML 编写,采用 MIT License 许可证,目前获得 102 个 Star、12 次 Fork。

仓库全名
battleaxedotco/brutalism
开源许可证
MIT License
Star 数
102
Fork 数
12
未关闭 Issue
24

README 摘要

brutalism Demos | Installation | Getting Started | Templates | Components | :---------------------------: | :---------------------------------: | :---------------------: | :-----------------------: | Battleaxe's component library for every app, every theme, and every one Check out the documentation site Make panels for After Effects, Illustrator, Photoshop, InDesign, Premiere Pro, Audition, Animate, InCopy, Prelude,…

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

常见问题

brutalism 用什么语言开发?

主要使用 HTML 编写,采用 MIT License 许可证,目前有 102 个 Star。

brutalism 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 brutalism 的源码?

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

brutalism 最近还在维护吗?

仓库最近一次更新为 2023年5月8日,当前有 24 个未关闭 Issue;Star 数为 102,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Battleaxe's component library for Adobe CEP panels

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

语言占比

CSS
HTML
JavaScript
SCSS
Vue

README

brutalism

Demos Installation Getting Started Templates Components

Battleaxe’s component library for every app, every theme, and every one

Check out the documentation site

Make panels for After Effects, Illustrator, Photoshop, InDesign, Premiere Pro, Audition, Animate, InCopy, Prelude, Dreamweaver, Muse, Bridge and Rush like a pro even if you can’t code like one.

Developing a panel for Adobe should be more about what your tool does, not just what your tool looks like. Brutalism is so quick you can make a panel in a few hours instead of a few months, and so flexible you can rely entirely on what it offers or take only the parts you need:

  • Blazing fast developer workflow with bombino lets you go from creating a panel to signing it as a ZXP in less than a minute.

  • Clean Battleaxe design built with Adobe in mind first, but still functional in browser and even mobile. Brutalism is the only design framework meant for Adobe programs and not needing to bend over backwards just to have them look out of place in the host app.

  • Components are designed to simplify your project and keep your logic clean, allowing you to create entire panels in a single page with less than 30 lines of HTML (AEUX demo is only 23!) and hardly any JS.

  • Host app themes, scrollbars, UI changes, and colors take care of themselves. You have access to over 40 colors specific to the current host and theme and you’re free to let your own components and HTML blend in by using the corresponding CSS variables made available.

  • Script loading is dead simple and dynamic. You can easily use any number of scripts via the root <Panel> component’s script-path and utils props, and you can keep them anywhere you want.

  • Context and flyout menus are handled via props in a <Menus> component; completely reactive, dynamic, and in standard JS – not some ludicrous XML.

  • Typescript support for scripting is built in for supported apps, allowing you to see the application’s DOM as you type code even if you have no idea how to use Typescript – no need for dinosaur programs like ESTK or it’s Object Model Viewer here.

  • Nearly all the hurdles and quirks of working with Adobe using with Vue, Webpack, and NodeJS taken care of for you and much more!


Demos

These are not screenshots, they’re the real thing in browser:

All of the above are made possible by this library’s <Panelify> component and dead simple to do.


Installation

npm i brutalism

If using bombino:

npm i -g bombino

# In any valid CEP directory:
bombino

# > Select a Brutalism template on prompt

# Skip above installation and invocation with a single command:
# npx bombino

Getting Started

Bombino takes care of all this for you. Only do the below if installing the library manually.

Within ./src/main.js (to use anywhere in project with no need to import per component file):

// Import the desired components
import { Panel, Menus } from "brutalism";

// Assign them as global components to the Vue instance
Vue.component("Panel", Panel);
Vue.component("Menus", Menus);

// Be sure to do so before instantiating Vue:
new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");

Within App.vue or a given .vue file:

<script>
// Import as many or few components as you need
import { Panel, Menus } from 'brutalism';

export default {
  components: {
    Panel,
    Menus
  }
}

Templates

Quickstart templates with bombino to get you up and running in less than a minute:


Components

See all available components live on the documentation site here

评论

暂无评论