@@ -77,7 +77,7 @@ fn scroll_to(id: String) {
7777fn lustre_section ( ) {
7878 let copy_button = copy_button . copy_button ( )
7979 use <- redraw . component__ ( "LustreSection" )
80- section ( "lustre-section" , "#eee " , [
80+ section ( "lustre-section" , "var(--dark-background) " , [
8181 column ( [ ] , [
8282 copy_button . title ( "Sketch Lustre" ) ,
8383 copy_button ( # ( "gleam add sketch sketch_lustre" ) ) ,
@@ -108,7 +108,7 @@ fn lustre_section() {
108108fn redraw_section ( ) {
109109 let copy_button = copy_button . copy_button ( )
110110 use <- redraw . component__ ( "RedrawSection" )
111- section ( "redraw-section" , "#fff " , [
111+ section ( "redraw-section" , "var(--background) " , [
112112 column ( [ ] , [
113113 copy_button . title ( "Sketch Redraw" ) ,
114114 copy_button ( # ( "gleam add sketch sketch_redraw" ) ) ,
@@ -139,7 +139,7 @@ fn redraw_section() {
139139fn plain_css_section ( ) {
140140 let copy_button = copy_button . copy_button ( )
141141 use <- redraw . component__ ( "PlainCssSection" )
142- section ( "plain-css-section" , "#eee " , [
142+ section ( "plain-css-section" , "var(--dark-background) " , [
143143 column ( [ ] , [
144144 copy_button . title ( "Sketch CSS" ) ,
145145 copy_button ( # ( "gleam add sketch sketch_css" ) ) ,
@@ -171,7 +171,7 @@ fn plain_css_section() {
171171fn wisp_section ( ) {
172172 let copy_button = copy_button . copy_button ( )
173173 use <- redraw . component__ ( "WispSection" )
174- section ( "wisp-section" , "#fff " , [
174+ section ( "wisp-section" , "var(--background) " , [
175175 column ( [ ] , [
176176 copy_button . title ( "Sketch SSR" ) ,
177177 copy_button ( # ( "gleam add sketch" ) ) ,
0 commit comments