跳到主要内容

样式控制项

样式是你店铺的整体外观:它穿着哪套主题、它的颜色、页面背后的图案,以及叠在上面的小装饰。这里的所有内容都是 全店范围 的。改一次颜色,每个页面都会跟着变。

你可以在两个地方找到这些控制项:店铺 → 主题,或者页面编辑器的左侧栏(同一个面板,见左侧栏)。左侧栏分为六组:外观、颜色、字体、按钮和图片、店铺框架 和 此页面。这一页讲 外观 里和样式有关的部分,以及 颜色 的全部内容。圆角、间距和动效在布局和动效控制项里;字体在字体排印控制项里。

在哪里找​

侧边栏 → 店铺 → 主题,或者在编辑器里打开任意页面,选择 设置 → 主题。打开 外观 或 颜色 分组。

正在使用的主题​

在侧栏顶部、各分组上方,一行 样式 会写出你店铺使用的主题名称,并说明:“整体外观。颜色和字体会变化;你的文字和商品不会变。”

  • 更换主题 会打开主题界面,让你为整个店铺选择不同的主题。你可以先在自己的页面上看到效果。
  • 重置 会把所有颜色和字体的覆盖恢复为主题自己的默认值。在执行之前,编辑器会询问“要把(主题名称)重置为原始的颜色和字体吗?你的自定义设置将会丢失。”

PersonaCart 自带六套主题:Playful Geometry、Neo-Brutalism、Botanical、Sketch、Neumorphism 和 Corporate Trust。同时有两个版本的主题提供 浅色 和 深色;每套主题还有现成的调色板,以及它自己的图案和装饰选项。

颜色分组​

设置作用
浅色或深色选择这套样式的浅色版或深色版。选项:浅色、深色、由访客选择。
调色板为你的主题准备的现成配色。选一个,会一次性填入你所有的颜色。
主色整个店铺的按钮、链接和关键强调。
强调色促销标签、徽章和小的强调。
背景页面上所有内容背后的颜色。
文字标题和段落的颜色。

在 更多选项 下,同一个分组里还有其余的颜色选择器:

设置作用
方框颜色放在背景上的卡片和方框的颜色。
淡化文字小备注、日期和次要文字的颜色。
线条边框和分隔线的颜色。
对比色带在页面上很突出的醒目版块的背景。
品牌色调给背景和方框轻轻染上一层你主色的色调。

关于颜色,值得了解​

  • 调色板 会打开一个为你的主题准备的现成配色图库。选一个,会一次性填入你所有的颜色。你可以 另存为自定义调色板(名称最多 16 个字符,建议“我的调色板”),以便以后回来使用,重置为变体默认值 会回到主题自己的颜色。
  • 每个颜色选择器既可以点选色块,也可以输入十六进制值。
  • 在 主色 下,编辑器会测量它在你的 背景 上有多易读。如果太低,会显示例如“#aaa 在 #fff 上:1.4:1,对比度太低,难以阅读”,并提供一个修复方案:“只把你的主色调整到刚好在你的背景上可读。”
  • 浅色或深色 只会出现在同时有两个版本的主题上。想让买家自己把你的店铺切换成深色模式,请在页眉里打开 浅色/深色切换(店铺框架)。

页眉、页脚和公告栏各有自己的颜色设置,这样它们可以从页面中突出出来。每一个都有 标准、醒目、柔和(或 浅色)和 自定义(你自己的颜色):

设置作用
页眉颜色标准、醒目、浅色,或者页眉的自定义颜色。
页脚颜色标准、醒目、浅色,或者页脚的自定义颜色。
公告栏颜色标准、醒目、浅色,或者公告栏的自定义颜色。

当你选择自己的颜色时,侧栏会为该区域显示四个颜色选择器:

设置作用
背景店铺这一部分背后的颜色。
文字店铺这一部分文字的颜色。
淡化文字店铺这一部分里小而安静的文字的颜色。
线条店铺这一部分里细分隔线的颜色。

在首页上,设为 透明 的页眉没有自己的颜色,你的第一张照片会在它下面延伸(“页眉在第一个版块上方是透明的,所以没有自己的颜色。”)。

外观分组:样式控制项​

设置作用
图案页面背后是什么。“纯色”表示只有你的背景颜色。
装饰这套样式在版块背后添加的小形状和纹理。
纸张纹理纸张纹理的强度。显示在纯色背景上,不显示在照片上。
店铺外观“经典”是你店铺当前的外观。“新”是你主题的新外观。可以预览、使用,或者随时回去。
自定义 CSS给开发者使用。这里的代码可以改变你整个店铺的外观。

图案​

图案 是一个图块网格。每套主题都有自己的图案;纯色 表示“就是你的页面颜色”。点一个图块应用它,预览会显示这个图案叠在主题的纸张颜色上。选了图案,也会重新打开 装饰。有一个 自定义 图块,让你选择图案类型,主题的颜色会自动填入。

装饰和纸张纹理​

  • 装饰 是纸张颗粒、半色调圆点、环境光球和图案叠加层的总开关。恢复默认 会让它们回到主题自带的状态。
  • 纸张纹理 设置颗粒的强度,从 0(看不见)到 1(最强)。它显示在纯色背景上,不显示在照片上。
  • 品牌色调(在“颜色”的“更多选项”下)会给页面背景、方框和醒目版块轻轻染上一层你主色的色调,让店铺感觉像是量身定制的。

店铺外观:经典或新​

可以切换的店铺会看到一张 店铺外观 卡片。经典 是你店铺现在的设计。新 是你主题的新外观:更精致的按钮、卡片、图片和页脚,以及 动画 级别。你可以先预览(“正在预览新设计。这只在这个界面上生效:你的线上店铺没有改变。”),在你点保存之前不会有任何改变。选择“新”时会要求你确认:“你的整个店铺看起来都会不同,包括你已经发布的页面。你的商品、文字和照片保持不变。你可以在 30 天内回去。”回到经典(30 天内) 可以撤销。

自定义 CSS​

自定义 CSS 是给开发者用的:“这里的代码可以改变你整个店铺的外观。”它会注入到你的店铺的 style 标签里,编辑器会警告“自定义 CSS 可能会覆盖主题设置。”

步骤​

  1. 打开店铺 → 主题,或者在编辑器里打开任意页面并使用左侧栏。
  2. 打开 颜色 分组。如果你的主题两个版本都有,选择 浅色 或 深色。
  3. 打开 调色板 并选一个,或者自己设置 主色、强调色、背景 和 文字。
  4. 查看 主色 下面的可读性提示。如果它说这一对颜色难以阅读,请使用它提供的修复方案。
  5. 打开 外观,选择一个 图案,如果需要,调整 装饰。
  6. 满意后点 保存(或 发布主题)。见发布。

会发生什么,不会发生什么​

  • 样式控制项是 全店范围 的:每个页面都会跟着变,包括你之前做的页面。
  • 单个区块仍然可以在检查器里覆盖自己的颜色;检查器会把这些标为 已在此更改,并提供 重置为主题。见右侧栏。
  • 改变颜色绝不会改变你的文字、照片或商品。
  • 导入的(HTML)版块,只有在它们的 跟随我的主题 开启时才会跟随你的主题。

常见问题​

“主色”和“强调色”有什么区别?

主色用于整个店铺的按钮、链接和关键强调。强调色用于促销标签、徽章和小的强调。

为什么编辑器说我的主色对比度太低,难以阅读?

它会测量你的主色相对于背景的对比度。如果对比度太低,按钮上的文字可能难以阅读;修复方案只把主色调整到刚好可读。

我可以回到某套主题的原始颜色吗?

可以。“重置”会把所有颜色和字体的覆盖恢复为主题的默认值,调色板图库里的“重置为变体默认值”对颜色也是同样的作用。

自定义 CSS 会影响每个页面吗?

会,“外观”分组里的自定义 CSS 适用于整个店铺。如果只想作用于一个页面,请使用该页面设置里的自定义 CSS。

完整控制项对照表​

这是主题所有控制项的完整对照表,附上系统保存时使用的设置名称。上面的表格使用的是你在编辑器里看到的标签;这份列表是为了完整性。

分组控件选项作用
ThemesTheme: Playful Geometry1 of 6 themesA complete preset — colours, fonts, corners and motion in one click. Picking it replaces your current look, and you can adjust anything afterwards.
ThemesTheme: Neo-Brutalism1 of 6 themesA complete preset — colours, fonts, corners and motion in one click. Picking it replaces your current look, and you can adjust anything afterwards.
ThemesTheme: Botanical1 of 6 themesA complete preset — colours, fonts, corners and motion in one click. Picking it replaces your current look, and you can adjust anything afterwards.
ThemesTheme: Sketch1 of 6 themesA complete preset — colours, fonts, corners and motion in one click. Picking it replaces your current look, and you can adjust anything afterwards.
ThemesTheme: Neumorphism1 of 6 themesA complete preset — colours, fonts, corners and motion in one click. Picking it replaces your current look, and you can adjust anything afterwards.
ThemesTheme: Corporate Trust1 of 6 themesA complete preset — colours, fonts, corners and motion in one click. Picking it replaces your current look, and you can adjust anything afterwards.
ThemesApply theme buttonaction (commit selected theme LIVE)Commits the theme you have previewed. Nothing changes for buyers until you apply.
ThemesReset theme buttonaction (clear creator color/font customisations)Returns everything to the theme default, discarding your customisations.
PalettePalettes browser~126 curated palettes (fetchAllPalettes, dynamic count)Ready-made colour sets. Picking one rewrites your primary, accent and background together, so the store stays coherent instead of becoming three unrelated choices.
PaletteMy Palettes groupcreator's saved palettes (theme_variants, tenant-scoped)Palettes you have saved yourself.
PaletteSave as custom palette buttonaction (create theme_variant)Keeps the colours you've landed on as a named set, so you can return to it after experimenting.
ColorsPrimary color wellhex colorYour main brand colour. It drives buttons, links and anything the store wants you to click — so it needs to stand out against your background, not blend into it.
ColorsAccent color wellhex colorA second colour for highlights and badges. Used sparingly; if it competes with the primary, nothing reads as the main action.
ColorsBackground color wellhex colorThe page behind everything. Small shifts here matter more than they look — a warm off-white and a cool grey give the same store two different characters.
ColorsSurface color wellhex colorCards, panels and anything raised off the page background. A slight difference from the background is what makes a card read as a card.
ColorsText color wellhex colorThe colour of body copy. Contrast against the background is what makes a store readable on a phone in daylight.
ColorsText Muted color wellhex colorSecondary text — captions, timestamps, helper lines. Quieter than body copy but still legible.
ColorsBorder color wellhex colorThe lines around cards, inputs and dividers. Lower contrast reads calmer; higher contrast reads more structured.
ColorsSection Bold color wellhex colorThe background for sections you want to stand out from the rest of the page.
BackgroundBackground slot 1slot 1/2/3A background layer — a colour, gradient or image. Layers stack, so a later slot sits over an earlier one.
BackgroundBackground slot 2slot 1/2/3A background layer — a colour, gradient or image. Layers stack, so a later slot sits over an earlier one.
BackgroundBackground slot 3slot 1/2/3A background layer — a colour, gradient or image. Layers stack, so a later slot sits over an earlier one.
BackgroundBackground custom: None8 pattern typesA plain background — just the colour. The safest choice when your products are the visual interest.
BackgroundBackground custom: Solid8 pattern typesA single flat colour.
BackgroundBackground custom: Dot Grid8 pattern typesA faint grid of dots. Adds texture without competing with content.
BackgroundBackground custom: Halftone8 pattern typesA printed-dot pattern. Distinctive, and heavy — best behind a single hero section rather than a whole page.
BackgroundBackground custom: Paper Grain8 pattern typesA subtle paper texture — warms up an otherwise flat page.
BackgroundBackground custom: Ambient Orbs8 pattern typesSoft coloured glows behind the content. Reads modern and can wash out text if the contrast drops.
BackgroundBackground custom: Grid Paper8 pattern typesFaint ruled lines, like graph paper.
BackgroundBackground custom: Animated8 pattern typesA moving background. Costs performance on older phones and pulls the eye away from your products.
ButtonButton shaperounded (6px) / sharp (0px) / pill (999px)Square, rounded or pill. Pills read consumer and friendly; squares read technical.
ButtonHover effectdarken / lift / scale / wiggle / fill-accentWhat a button or card does when the pointer is over it. On a phone nobody sees this — keep the resting state readable on its own.
ButtonShadownone / soft / soft-diffused / soft-hard / hard-offsetHow much a button lifts off the page.
ButtonText style (text-transform)none / uppercase / capitalizeWhether text renders as typed, uppercase, or title case.
CardCard styleshadow / border / flatWhether cards have a border, a shadow, or neither. Borderless cards need a background difference to read as separate.
CardCard shadownone / soft / soft-diffused / soft-hard / hard-offsetHow much cards lift off the page.
CardHover effectnone / lift / wiggle / rotateWhat a button or card does when the pointer is over it. On a phone nobody sees this — keep the resting state readable on its own.
CardProduct image shape (store-wide)theme / rounded / square / circle / domeSquare, portrait or landscape crops for every product image. Consistency matters more than the choice — mixed shapes make a grid look untidy.
Decorations Enabled (master)SwitchOne switch for all decorative flourishes. Off is a valid choice — decoration should earn its place.
Harmonize neutrals from brandSwitchTints greys toward your brand colour so the neutrals look chosen rather than default.
Paper Grain OpacitySlider 0–1, step 0.05, default 0.20How strong the paper texture is. Past about a third it starts to fight your text for attention.
Reset Decoration OverridesButton (action)Clears decoration changes without touching the rest of the theme.
[removed/moved]n/aNo longer in the editor — kept here only so an old screenshot or link still resolves.

此分组共有 43 个控件。生成自正在运行的主题控件矩阵。