visgl / visgl/deck.gl

[Feat] Minimal Theme for deck.gl Widgets

Open
#9,050 0 comments 0 reactions 1 assignee View on GitHub

@chrisgervang is already working on this.

Since Jul 26, 2024.

feature
Dominant language
TypeScript
Stars
14.6k
Forks
2.3k
Avg merge
2d 9h
Merged PRs (30d)
42

Description

Target Use Case

A minimal theme for deck.gl widgets would provide a clean, unstyled baseline, aiding developers in learning and debugging by highlighting the effects of custom styles. This feature is especially beneficial for educational purposes or for those who prefer a minimalistic aesthetic in their applications.

Proposal

This theme would unset or reset CSS properties to their browser defaults, providing a clean starting point for further customization.

export const MinimalTheme = {
  '--button-background': 'unset',
  '--button-stroke': 'unset',
  '--button-inner-stroke': 'unset',
  '--button-shadow': 'unset',
  '--button-backdrop-filter': 'unset',
  '--button-icon-idle': 'unset',
  '--button-icon-hover': 'unset',
  '--icon-compass-north-color': 'unset',
  '--icon-compass-south-color': 'unset'
};

I got inspired from #8958 to provide a similar minimalistic look. This theme should allow developers to build on top of a neutral style.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.