weather-dial Svelte Themes

Weather Dial

A web app that displays weather info in a circular barplot.

What is Weather Dial?

Weather Dial is a SvelteKit weather web application that displays information in a circular barplot. It is currently a demo that does not fetch real data from any API.

View the production website or learn more about the project’s design.

Technical Overview

Weahter Dial is built using SvelteKit and styled with Dart Sass. The production site is deployed using Vercel.

Commit Messages

Commit messages are prefixed with the following labels to make them easier to read:

  • ♿️A11Y: accessibility
  • πŸ”§CNFG: configuration
  • πŸ’„CSS: styling (CSS or SCSS)
  • πŸ“DES: design
  • πŸ“DOC: documentation
  • πŸ›FIX: bug fix
  • 🟠SVLT: Svelte and SvelteKit
  • 🚧WIP: work in progress (broken/partial code)
  • πŸŽ‰RLS: new release (main branch merge)

Architecture

This repository is separated into the designs, src, and static folders, along with a few top-level files. Top-level files such as this README.md file are usually configuration or documentation files.

designs
β”œβ”€β”€ WeatherDial-GitHub-banner.png           GitHub banner image
β”œβ”€β”€ WeatherDial-GitHub-mockup.jpg           GitHub mockup image
β”œβ”€β”€ WeatherDial-GitHub-socialPreview.png    GitHub social preview image
β”œβ”€β”€ MachinistsEdge-UIconcepts-1.ai          Illustrator file with all assets (v1)
└── MachinistsEdge-UIconcepts-2.ai          Illustrator file with all assets (v2)

src
β”œβ”€β”€ lib                       libaray of all Svelte components
β”‚   └── SVGs                  all illustration and icon SVGs
β”‚
β”œβ”€β”€ routes                    all Svelte file for different pages of the web app
β”‚   β”œβ”€β”€ cloud
β”‚   β”‚   └── +page.svelte      Cloud Cover page
β”‚   β”‚
β”‚   β”œβ”€β”€ humidity
β”‚   β”‚   └── +page.svelte      Humidity page
β”‚   β”‚
β”‚   β”œβ”€β”€ precipitation
β”‚   β”‚   └── +page.svelte      Precipitation page
β”‚   β”‚
β”‚   β”œβ”€β”€ uv
β”‚   β”‚   └── +page.svelte      UV Index page
β”‚   β”‚
β”‚   β”œβ”€β”€ wind
β”‚   β”‚   └── +page.svelte      Wind Speed page
β”‚   β”‚
β”‚   β”œβ”€β”€ +layout.svelte        layout file (applied to all pages)
β”‚   β”œβ”€β”€ +layout.ts            layout load file
β”‚   └── +page.svelte          Temperature page
β”‚
β”œβ”€β”€ store
β”‚   └── store.ts              Svelte stores (state management)
β”‚
β”œβ”€β”€ styles                    global styling
β”‚   β”œβ”€β”€ _colors.scss          sass map with all colors
β”‚   β”œβ”€β”€ _global.scss          global styles
β”‚   β”œβ”€β”€ _index.scss           fowards all partial SCSS files in this folder
β”‚   β”œβ”€β”€ _resets.scss          style resets
β”‚   └── _variables.scss       CSS & SCSS variables
β”‚
└── app.html                  main HTML

static
β”œβ”€β”€ light-barBG.png           transparent gradient background for circular barplot
└── favicon.png               favicon

Top categories

Loading Svelte Themes