Add classes to rendered weather components

Created on 22 May 2025, 2 months ago

Problem/Motivation

The default theming of the weather information is not visually compatible with nicely designed websites and is not easily themed. It would be advantageous to create css rules to theme the regions that are rendered for:

  • weather-location
  • weather-no-results
  • weather-forecast
  • weather-source

Steps to reproduce

N/A

Proposed resolution

There are several ways to accomodate this feature request. The most sttraight forward approach would be to adjust the Weather module's templates by adding classes to each rendered area so that themers can simply write css to suit their website's design.

The method I am using for the time being is a custom helper module that overrides the templates in the weather module with my own that have classes and the css rules I have applied.

Remaining tasks

Discussion to choose the appropriate approach and application.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Feature request
Status

Active

Version

3.0

Component

Miscellaneous

Created by

🇨🇦Canada awasson

Live updates comments and jobs are added and updated live.
  • theming

    Used in Documentation issues related to theming

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024