Maya Workflow Kit
The whole Maya workflow in Blender, in one install. Free and open source, Blender 4.5 – 5.2.
翻译准备中
尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
Mirror of codeberg.org/Toghen/postcss, where Toghen lives. Issues and changes go there.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗The CSS adapter for Toghen. At build time it turns a stylesheet's token reads into values, and its token document into layers, custom properties and mixins.
It reads four things in a stylesheet:
| Directive | What it writes |
|---|---|
t() (the long form, toghen(), is the same) | A token's value in a rule, as a var() with the value as fallback |
@toghen contexts | The custom properties of every context, one block per context, in a layer |
@toghen mixins | One mixin per component, with its parts, for @apply |
@toghen declare | The custom properties of one group |
Three of them in one stylesheet:
@layer tokens {
@toghen contexts;
}
@toghen mixins;
.button {
display: inline-flex;
@apply --button;
}
pnpm add -D @toghen/postcss @toghen/lib @csstools/postcss-mixins postcss
@toghen/lib is a peer: the plugin uses your copy. To use a commit not yet released, install both from the repository by git URL with pnpm; see installing from the repository.
@csstools/postcss-mixins is your dependency, not the plugin's: the plugin does not depend on it, and you run it after the plugin.
// postcss.config.js
import toghenPlugin from '@toghen/postcss';
import postcssMixins from '@csstools/postcss-mixins';
import { system } from './tokens/system.js';
export default {
plugins: [toghenPlugin({ system }), postcssMixins()]
};
The plugin reads a design system from @toghen/lib. Building one from a resolver document is shown in the tutorial.
MIT. See LICENSE.