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

Implement theme UI in V2 components #16

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from
Draft

Conversation

patcon
Copy link
Member

@patcon patcon commented Oct 15, 2024

Addresses parts of #4

theme-ui is the theming library that polis already uses, and so do many of the existing forks that are extending polis. Currently, it's only used for client-admin components, but not client-participation. If we're created V2 prototypes of client-participation components, I feel we should probably use theme-ui.

This also adds some examples of how breakpoints would work in the V2 components.

Demo: https://civictechto.github.io/polis-storybook/PR-16/?path=/story/compdem-client-participation-civictechto-selectionwidgetv2--interactive&globals=viewport:mobile1

@patcon patcon marked this pull request as draft October 15, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant