elementary / elementary/granite

Deprecate all external Style Class APIs

Open
#868 1 comment 0 reactions 0 assignees View on GitHub
Stylesheet
Dominant language
Vala
Stars
329
Forks
65
Avg merge
1d 14h
Merged PRs (30d)
31

Description

Many of our public style classes are targeted toward a few widgets, or have some general parameters we tend to use by default (`CARD` doesn't work well if the element has no margin).

Instead of having developers apply these styles manually, I propose we deprecate exposing all existing style class constants externally, and control their application via properties on subclassed widgets instead. Ideally, this leads to more concise end-developer code, and we can give away more defaults for free.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.