Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add settings components [LW-10713]#47

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
DominikGuzei wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromfeat/lw-10713-add-settings-components

Conversation

DominikGuzei
Copy link
Member

@DominikGuzeiDominikGuzei commentedAug 20, 2024
edited
Loading

This PR is a proposal to add components for composing a settings section like in Lace:

image

@DominikGuzeiDominikGuzei added the enhancementNew feature or request labelAug 20, 2024
@DominikGuzeiDominikGuzei self-assigned thisAug 20, 2024
@sonarqubecloudSonarQubeCloud
Copy link

@DominikGuzeiDominikGuzei marked this pull request as draftAugust 20, 2024 12:35
Comment on lines +5 to +18
export const separator = style({
width: '100%',
height: 1,
background: vars.colors.$settings_item_separator_color,
selectors: {
[`${root}:first-of-type &`]: {
background: 'none',
},
[`${root}:hover &`]: {
background: 'none',
},
},
});

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

yeah good point, i thought that it might be more work to make it react to these selectors then?

Comment on lines +27 to +30
pt="$32"
pb="$32"
pl="$16"
pr="$16"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Q: can we at least allow classname or something to override this ? Maybe it won't be applicable in all the places.
Or, remove a wrapper Box and control it from the parent if necessary?
Separator is an end-app choice.
Just thinking loudly... WDYT?

@DominikGuzei
Copy link
MemberAuthor

@tomislavhoracek sorry, i should have added a note to this PR that it's just a draft to save the idea for potentially later.@pczeglik-iohk already decided that this will not be continued/merged in the ui-toolkit

@tomislavhoracek
Copy link
Contributor

have added a note to this PR that it's just a draft to save the idea

No worries@DominikGuzei 🙂

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tomislavhoracektomislavhoracektomislavhoracek left review comments

At least 1 approving review is required to merge this pull request.

Assignees

@DominikGuzeiDominikGuzei

Labels
enhancementNew feature or request
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@DominikGuzei@tomislavhoracek

[8]ページ先頭

©2009-2025 Movatter.jp