@astryx-vue/主题
CSS 主题 astryx-veue 图像一个非正式的Vue 3 Astryx港口。 不隶属于Meta.
每个主题都有一个包裹 结构样式保留在 @astryx-vue/core。一个主题通过 CSS 变量和级联层设置颜色、类型、半径、阴影和运动。 没有 StyleX 构建步骤 .
安装
pnpm add @astryx-vue/core @astryx-vue/themes
主题本身不会产生组件 。 安装 @astryx-vue/core 带着它 核心的同伴依赖性 : vue ^3.5.0。 。 。 .
使用
import '@astryx-vue/themes/neutral.css'
<html data-astryx-theme="neutral">
打开 data-astryx-theme 讨论主题的要点。 打开 html这是整个应用程序。 在一个更小的元素上, 只有树下。 中性在 :root,因此一个单一主题应用程序可以导入 neutral.css 没有属性。 其他主题没有触及 :root。 。 。 .
每个主题都装载了Figtree和JetBrains Mono(400,500,600,700和400斜体;Figtree也包含600斜体). 巴特尔,巧克力,哥特克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克克.
条目
| 条目 | 这是什么 |
|---|---|
@astryx-vue/themes/neutral.css | 默认看. 也适用于 :root。 。 。 . |
@astryx-vue/themes/butter.css | 金色表面,蓝色口音. |
@astryx-vue/themes/chocolate.css | 暖褐相和碧e. |
@astryx-vue/themes/gothic.css | 只有阴暗。 深蓝灰色地表. |
@astryx-vue/themes/matcha.css | 大地绿地. |
@astryx-vue/themes/stone.css | 温取石而取板. |
@astryx-vue/themes/y2k.css | 佩里温克勒 奶油和尖角. |
相关软件包
| 软件包 | 这是什么 |
|---|---|
@astryx-vue/core | Vue 组件这些变量样式 |
@astryx-vue/cli | astryx-vue search theme 其他文件查询 |
资源
许可证
麻省理工学院. Astryx是版权Meta平台股份有限公司. 这个软件包是一个非官方的端口,没有附属于或得到Meta的认可.