承接 symfinity/ui-kernel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

symfinity/ui-kernel

Composer 安装命令:

composer require symfinity/ui-kernel

包简介

Design tokens, themes, and generated CSS for Symfony

README 文档

README

UI Kernel

Design tokens, themes, and slim CSS generation for Symfony

PHP Version Symfony
CI
Release Downloads License

Note

Read-only mirror. See CONTRIBUTING.md for how to propose changes.

Features

  • Design tokens--ui-color-*, spacing, radius, motion, and focus tokens from YAML themes
  • Built-in themes — Balanced, Semantic, and Utility lineages (light + dark variants)
  • OKLCH palette generator — shared ramp math; author palette refs, not raw hex, in theme packs
  • Twig integrationui_kernel_css(), theme boot script, active theme id, theme shell helper
  • Slim kernel boundary — theme CSS only; component [data-ui-role] rules live in ux-blocks-* packages

Prerequisites

Add the symfinity/recipes Flex endpoint to your project's composer.json (see recipes README) — recipes are not in Symfony's official recipe repository yet.

Installation

composer require symfinity/ui-kernel

The Flex recipe registers the bundle for all environments and copies a minimal app config. See Installation.

Quick Start

{# templates/base.html.twig #}
<head>
    {{ ui_kernel_theme_boot_script() }}
    {{ ui_kernel_css()|raw }}
</head>
# config/packages/symfinity_ui_kernel.yaml
symfinity_ui_kernel:
    default_theme: semantic
    default_variant: semantic
    schema_version: '1.0'

See Quick start for the full walkthrough.

Documentation

Requirements

  • PHP 8.2 or higher
  • Symfony 6.4, 7.x, or 8.x
  • Twig 3.0 or higher

Support

License

MIT

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固