Here is the community style guide according to Craft, the recommended starting point for Webstudio Projects. CSS variables containing colors, sizes, and more are on the Global Root.
Grid quickly provides the properties to create a grid. Once added, switch over to local and type in your template columns.
Note, grid turns into flex on 767. This is because grid children may use start/end columns and would require us to reset each one manually on mobile. By setting the parent to flex, those values are ignored.
Change these values on the Global Root. It's best practice to map semantic variables such as --foreground-primary to another variable such as --gray-10.
Paragraph text you can edit
that spans multiple lines
blockquote text you can edit
console.log("Hello World");
Paragraph text you can edit
Header Subtext At our digital marketing agency, we offer a range of services to help businesses grow and succeed online. These services include:
The following CSS variables were the modifications or additions made to the default Craft variables, jyfi.
--green-0: unset;
--green-1: unset;
--green-2: unset;
--green-3: unset;
--green-4: unset;
--green-5: unset;
--green-6: #B9FF66;
--green-7: unset;
--green-8: unset;
--green-9: unset;
--green-10: unset;
--green-11: unset;
--green-12: unset;
--blue-0: unset;
--blue-1: unset;
--blue-2: unset;
--blue-3: unset;
--blue-4: unset;
--blue-5: unset;
--blue-6: #1A1B26;
--blue-7: unset;
--blue-8: unset;
--blue-9: unset;
--blue-10: unset;
--blue-11: #191A23;
--blue-12: unset;
--gray-0: #FFFFFF;
--gray-1: #F3F3F3;
--gray-2: unset;
--gray-3: unset;
--gray-4: unset;
--gray-5: unset;
--gray-6: #E5E5E5;
--gray-7: unset;
--gray-8: #898989;
--gray-9: #292A32;
--gray-10: #231F20;
--gray-11: unset;
--gray-12: #000000;
--radius-1: 8px;
--radius-2: unset;
--radius-3: 0.75rem;
--radius-4: 2rem;
--radius-5: unset;
--radius-6: unset;
--gap-xs: var(--size-2);
--gap-s: var(--size-fluid-2);
--gap-m: var(--size-fluid-5);
--gap-l: var(--size-fluid-7);
--shadow-3d: 0 5px 0 0 var(--foreground-primary);
--duration-default: 150ms;
--easing-default: var(--ease-out-3);
--spacing-default: var(--size-fluid-4);
--focus-width: var(--border-size-3);
--focus-color: var(--foreground-accent);
--foreground-primary: var(--gray-12)
--foreground-secondary: var(--blue-11);
--foreground-accent: var(--green-6);
--foreground-muted: var(--gray-8);
--foreground-border: var(--blue-11);
--foreground-invert: var(--background-primary);
--background-primary: var(--gray-0);
--background-secondary: var(--gray-1);
--background-accent: var(--gray-12);
--background-card: var(--gray-1);
--background-tertiary: var(--foreground-accent);
When creating a new page, you can copy the "Page Wrapper" instance below (see navigator) and paste it on the new page. It contains the skeleton of a page, including a nav, footer, and section.