Skip to content

dmitriid/every

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Every Layout with Svelte

This is a quick'n'dirty implementation of the publicly available layouts on https://every-layout.dev

You should buy the book :) You can then use this repo as a starting point to implement the rest (it's rather simple, actually).

The idea for passing CSS vars with style to have dynamic CSS comes from What I Like About Writing Styles with Svelte.

What's here

CSS

Layout

Components have the same API as the custom components in the book.

Screenshot

  • A composition showcase from App.svelte
  • All elements have their width constrained to 60ch (see Measure).

Screenshot 2020-02-04 at 12 16 18


Run locally

npm run dev

Navigate to localhost:5000.

About

Every Layout with Svelte

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published