样式
样式语法
selector {
// setter-property: setter-value; // Use value.
// setter-property: var(resource-key); // Use dynamic resource.
// Sample:
Background: #0068B5;
Foreground: var(Accent);
// ...
// Children must be at last of the style.
[[
::animation{
}
child-style-selector {
// ...
}
child-style-selector2 {
// ...
}
]]
}Selector 语法
Setter 语法
样式的分类
1. 主题子样式
2. 普通样式
3. 逻辑子样式(beta)
样式继承
1. 样式模板
2. 文件导入
3. 继承模板
最后更新于