Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Minimal Theme for deck.gl Widgets #9050

Open
chrisgervang opened this issue Jul 26, 2024 · 0 comments
Open

[Feat] Minimal Theme for deck.gl Widgets #9050

chrisgervang opened this issue Jul 26, 2024 · 0 comments
Assignees
Labels

Comments

@chrisgervang
Copy link
Collaborator

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.

@chrisgervang chrisgervang self-assigned this Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant