List of Squarespace Data Section Themes

Squarespace uses a variety of data section themes, including light and dark variants, to control the visual appearance of different sections on a webpage. These themes are used to style elements like text, backgrounds, and dividers.

Specifically, you can use themes below to customise your sections:

 .bright-inverse
 .light-bold
 .light
 .white-bold
 .white
 .black-bold
 .black
 .dark-bold
 .dark
 .bright
Squarespace Data Section Themes

Detailed Breakdown:

  • Light Color Sections:

    These themes create a visually lighter appearance, often using white or light-colored backgrounds and darker text. Examples include .bright-inverse, .light-bold, .light, .white-bold, and .white. 

  • Dark Color Sections:

    These themes provide a more contrasting look, typically with dark backgrounds and lighter text. Examples include .black-bold, .black, .dark-bold, .dark, and .bright. 

  • Using Data Attributes:

    You can identify the theme of a section by inspecting the HTML source code of the page and looking for the data-section-theme attribute. For instance, you might find data-section-theme="light". 

  • Styling with CSS:

    You can use the data-section-theme attribute in CSS to target and style specific sections. For example, you can use section[data-section-theme="light"] to target all sections with the "light" theme. 

 

Example code: Changing Your Logo per Data Section Theme

 

Invert your logo to black on a light background theme:

[data-section-theme="white"] {.header-title-logo img {

    -webkit-filter: grayscale(1) invert(1);

    filter: grayscale(1) invert(1); 

}

}

Invert your logo to white on a dark background theme:

[data-section-theme="dark"] {.header-title-logo img {

    -webkit-filter: grayscale(0) invert(0);

    filter: grayscale(0) invert(0); 

}

}

Nicole Macdonald

AUTHOR


Nicole Macdonald – January Made x Creative Process Collective

Hi there! I’m the founder and head architect behind Creative Process Collective, as well as owner and designer over at January Made Design.  You can guarantee I will greet you with an over the top smile and talk your ears off about all things creative, small business and probably pets (everyone loves pets). Serial over-sharer on social media, you’ll be able to find me most days sitting at my trestle table working away with a green tea and surrounded by too many house plants and most likely a cat stretched across my keyboard.

Website | Instagram | Facebook

https://www.januarymade.co.nz
Next
Next

The Secret Ingredient to Stunning Portfolios? Great Stock Imagery