紧凑样式
blue-500
#3B82F6
blue-600
#2563EB
blue-700
#1D4ED8
blue-800
#1E40AF
Compact example
表格样式
主色
辅助色
Table example
颜色格式
hex
#FF5733
rgb
rgb(51, 255, 87)
rgba
rgba(51, 87, 255, 0.7)
hsl
hsl(180, 70%, 55%)
oklch
oklch(70% 0.2 145)
Color formats example
随主题变化的颜色
light 和 dark 属性的对象,为浅色和深色模式分别定义不同的颜色。
bg-primary
bg-secondary
text-primary
Theme-aware example
属性
颜色
颜色调色板的显示样式。可选值:
compact 或 table。要显示的颜色项或行。
Color.Row
颜色行的标签。
该行中要显示的颜色项。
Color.Item
颜色的名称或标签。
使用任意 CSS 格式表示的颜色值,或包含 light 和 dark 两种模式值的对象。