Soft Blue
A basic theme for your storefront.
Use soft-blue
as your theme
-
Add the following styles to
src/themes/soft-blue.scss
:
src/themes/soft-blue.scss
_78// ----------------------------------------------------------_78// GLOBAL TOKENS_78// Theme Soft Blue_78// ----------------------------------------------------------_78_78@layer theme {_78 .theme {_78 // --------------------------------------------------------_78 // Colors (Branding Core)_78 // --------------------------------------------------------_78_78 // PALETTE_78 --fs-color-main-0: #ecf0ff;_78 --fs-color-main-1: #d8e2ff;_78 --fs-color-main-2: #00419e;_78 --fs-color-main-3: #002c71;_78 --fs-color-main-4: #001947;_78_78 --fs-color-accent-0: #ebdcff;_78 --fs-color-accent-1: #8d50fd;_78 --fs-color-accent-2: #732fe2;_78 --fs-color-accent-3: #5900c8;_78 --fs-color-accent-4: #4700a0;_78_78 // HIERARCHY_78 --fs-color-primary-bkg: var(--fs-color-main-4);_78 --fs-color-primary-bkg-active: var(--fs-color-main-2);_78 --fs-color-primary-bkg-light: var(--fs-color-main-0);_78 --fs-color-primary-bkg-light-active: var(--fs-color-main-1);_78_78 // SITUATIONS_78 --fs-color-success-bkg: #cee8de;_78 --fs-color-warning-bkg: #f6e0ba;_78_78 // COMPONENTS & STATES_78 --fs-color-text-display: var(--fs-color-main-4);_78_78 --fs-color-action-bkg: var(--fs-color-accent-3);_78 --fs-color-action-bkg-hover: var(--fs-color-accent-2);_78 --fs-color-action-bkg-active: var(--fs-color-accent-1);_78_78 // --------------------------------------------------------_78 // Typography (Branding Core)_78 // --------------------------------------------------------_78_78 // FACE_78 --fs-text-face-body: 'Lato', -apple-system, system-ui, BlinkMacSystemFont, sans-serif;_78_78 // --------------------------------------------------------_78 // Refinements_78 // --------------------------------------------------------_78_78 // BORDERS_78 --fs-border-radius: 0.25rem;_78_78 // SHADOW_78 --fs-shadow: none;_78 --fs-shadow-darker: 0 0 10px rgb(0 0 0 / 20%);_78 --fs-shadow-hover: 0 1px 4px rgb(0 0 0 / 10%), 0 6px 8px rgb(0 0 0 / 10%);_78_78 // --------------------------------------------------------_78 // FS UI Components_78 // --------------------------------------------------------_78 // Add here the customizations for FastStore UI components._78_78 --fs-logo-width: 8rem;_78_78 [data-fs-product-card] {_78 --fs-product-card-border-color: transparent;_78 --fs-product-card-border-color-hover: var(--fs-border-color-light);_78_78 &[data-fs-product-card-bordered='true'] {_78 --fs-product-card-border-color: var(--fs-border-color-light);_78 }_78_78 }_78 }_78}
- Go to
faststore.config.js
and change thetheme
tosoft-blue
:
_10theme: 'soft-blue',
- Restart the server and check the new theme applied to your store. 🎉