Frontend Blueprints
16 Questions
6 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the main function of the Mobius Theme within the Spire Blueprint?

  • It describes how each component on the site is styled. (correct)
  • It controls the data interactions with the back end.
  • It manages server-side rendering.
  • It stores all the custom CSS for the UI.

What should developers use to customize their site outside the CMS Style Guide limitations?

  • The Framework
  • The Blueprint (correct)
  • The Core Code
  • Server-Side Scripts

Which of the following statements about Optimizely's Blueprint is true?

  • Support tickets are required to change a site's Blueprint. (correct)
  • Blueprints integrate with external CSS frameworks directly.
  • Blueprints can be changed at run time without restrictions.
  • Blueprints are drawn from a single static template.

What does the CMS Style Guide layer include?

<p>A limited set of custom attributes for components. (D)</p> Signup and view all the answers

Where do developers commonly interact with pre and post-Style Guide themes?

<p>At start.tsx in the blueprint source folder. (C)</p> Signup and view all the answers

What is the primary characteristic of the post-Style Guide theme?

<p>It is where critical overrides to the Mobius Theme are placed. (D)</p> Signup and view all the answers

What element acts like bread in the Blueprint sandwich metaphor?

<p>The post-Style Guide theme (B)</p> Signup and view all the answers

What can be included in the post and pre-Style Guide themes?

<p>Any values available in the base Mobius Theme (C)</p> Signup and view all the answers

What is the main purpose of the pre-Style Guide theme?

<p>To store most customizations for the Mobius Theme (C)</p> Signup and view all the answers

Which theme contains the default styles provided out of the box for Mobius components?

<p>Base Mobius Theme (D)</p> Signup and view all the answers

If a customization is applied to the Base Mobius Theme, which of the following statements is true?

<p>It can be overridden by changes made in the CMS Style Guide. (A)</p> Signup and view all the answers

What should you do before creating a new Blueprint in Spire?

<p>Ensure you have access to a local installation of Optimizely Configured Commerce (B)</p> Signup and view all the answers

What is the first step to run Spire using the built-in content-library?

<p>Go to rontEnd in the terminal (B)</p> Signup and view all the answers

Which shape is not a default value for buttons in the Base Mobius Theme?

<p>Rounded (C)</p> Signup and view all the answers

In the context of style precedence, which color has the highest precedence?

<p>Normal from the post-Style Guide Theme (D)</p> Signup and view all the answers

Which command is necessary to begin using Spire after setting up?

<p>npm install (B)</p> Signup and view all the answers

Flashcards

Blueprint Components

A front-end customization layer on top of Spire for easier upgrades and extensions, using layers for styling and customization.

Mobius Theme

The main component of the Blueprint, dictating individual component styles.

Post-Style Guide Theme

Blueprint component style layer; overrides other layers EXCEPT the Post-Style Guide Theme.

Pre-Style Guide Theme

Blueprint component style layer that can be overridden by the CMS Style Guide.

Signup and view all the flashcards

CMS Style Guide

Blueprint component style layer from within the CMS; limited attributes.

Signup and view all the flashcards

Base Mobius Theme

Blueprint's default style layer; includes default styles like button shapes and colors.

Signup and view all the flashcards

Style Precedence

The order in which layers override one another in Blueprint.

Signup and view all the flashcards

Local Optimizely Configured Commerce

A locally installed version of Optimizely Configured Commerce for working with blueprints.

Signup and view all the flashcards

Github Repository

The online repository of code for Spire Front-End and Blueprint examples.

Signup and view all the flashcards

Spire Front-End

The front-end code for Spire, the basis for Blueprint customization

Signup and view all the flashcards

npm install

A command to install and manage packages required for Spire front-end code.

Signup and view all the flashcards

npm run start

A command to start and run the Spire front-end application locally.

Signup and view all the flashcards

Blueprint example

A model Blueprint for reference, providing sample implementations

Signup and view all the flashcards

Configured Commerce

Software that manages the front-end configuration of the online store.

Signup and view all the flashcards

FrontEnd folder

Folder containing Spire front-end code within the Configured Commerce Github repository.

Signup and view all the flashcards

Study Notes

Blueprint Components

  • Blueprint is a separate front-end customization layer built on top of Spire
  • Built for easier front-end upgrades and extensions, changes to core Spire code are automatic through Configured Commerce deployments
  • Blueprint comprises several elements, similar to a sandwich, with various layers of styling and customization
  • The main element is the Mobius Theme, dictating individual component styling
  • The Mobius theme is built on several components:
    • Post-Style Guide Theme: Partners should place only important overrides to the Mobius Theme here. These customizations cannot be overridden by CMS Style Guide changes.
    • Pre-Style Guide Theme: Partners should place most customizations here. Changes can be overridden by CMS Style Guide changes.
    • CMS Style Guide: This layer includes values customizable from within the CMS, encompassing a limited subset of component attributes. It allows for changes like site colors, button sizes and shapes, but does not include custom CSS or Javascript additions
    • Base Mobius Theme: contains all default Mobius component styles, including flat square buttons, sans-serif font, and a blue and gray-based color theme
  • Style Precedence:
    • Layers override each other in the following order:
      • Post-Style Guide Theme overwrites the CMS Style Guide, Pre-Style Guide Theme, and Base Mobius Theme
      • CMS Style Guide overwrites the Pre-Style Guide Theme and Base Mobius Theme
      • Pre-Style Guide Theme overwrites the Base Mobius Theme
      • Base Mobius Theme remains as the default

Creating New Blueprints

  • Before creating a new Blueprint, ensure you have access to a local Optimizely Configured Commerce installation
  • The Configured Commerce Github repository contains the Spire front-end code at \FrontEnd and an example Blueprint at \modules\blueprints\example
  • To run Spire using the built-in content library:
    • Navigate to \FrontEnd using a terminal
    • Run npm install if not already done
    • Run npm run start

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

Front-End - Blueprints PDF

Description

This quiz explores the various components of Blueprint, a front-end customization layer for Spire. Learn about its structure, including the Mobius Theme and its different styling layers such as the Post-Style Guide and Pre-Style Guide. Understand how these elements work together to facilitate front-end upgrades and customizations.

More Like This

Blueprint of the US Constitution
12 questions
Blueprint for Screenwriting Course Quiz
10 questions
Electrical Wiring Plan Components
46 questions

Electrical Wiring Plan Components

PersonalizedArithmetic7531 avatar
PersonalizedArithmetic7531
Use Quizgecko on...
Browser
Browser