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

Frontend configurability settings #23

Closed
1 of 10 tasks
marrus-sh opened this issue Jun 24, 2017 · 3 comments
Closed
1 of 10 tasks

Frontend configurability settings #23

marrus-sh opened this issue Jun 24, 2017 · 3 comments
Assignees

Comments

@marrus-sh
Copy link
Member

marrus-sh commented Jun 24, 2017

Tasklist

  • Create settings modal (see App settings modal #39)
  • Redefine all of Mastodon's colours using semantic variables [eg, ui-body-text, ui-header-text, ui-column-color, and so forth] so that these can be easily changed independently.
  • Define new light-mode and high-contrast values for the above.
  • Define mixins in the manner of the ones already currently used for multi-/single-column layout for various options
    • For reduce-animation
    • For no-transparency
    • For high-contrast
    • For light-mode
      • For these latter two, perhaps redefine the semantic variables above inside the mixin; eg:
        [[content]]
        .light-mode & {
            $redefined-color: #074e4c;
            [[content]]
        }
  • Apply mixins to CSS
  • Add options to the settings modal to enable these settings

Original post

Would love it if the Mastodon frontend had the following options:

  • reduce_animation: Removes all the CSS transitions, spinning effects, etc. on the frontend. Conserves resources and is less distracting.
  • no_transparency: Eliminate all semi-opaque elements from the UI and make the media lightbox an opaque colour.
  • high_contrast: Increases the contrast of UI elements.
  • light_mode: Dark text on a light background instead of vice-versa.

All of this can be implemented through CSS but it will be a chore, and then there's the matter of activating/deactivating these options.

@marrus-sh
Copy link
Member Author

marrus-sh commented Jun 25, 2017

Would be cool to have a "frontend settings" modal for configuring these sorts of options. Aside from the CSS it's not hard to implement these things now that localSettings has been added to the Redux store.

@beatrix-bitrot
Copy link

I think we should break this out into separate issues now that the modal itself is done. Thoughts @marrus-sh ?

@marrus-sh
Copy link
Member Author

Reduce animation is now implemented in upstream and other themes can be handled by our skins feature, so I'm closing this~

Teqed pushed a commit to Teqed/meowstodon that referenced this issue Jul 12, 2023
Teqed pushed a commit to Teqed/meowstodon that referenced this issue Jul 12, 2023
Teqed pushed a commit to Teqed/meowstodon that referenced this issue Jul 12, 2023
)

* Expose more lines of text for collapsed posts; it's impossible to tell if the post is worth expanding with only a single line of text (at most)

* In the odd case that a post is collapsed despite being very short, allow the post to shrink to a single line of tex (glitch-soc#13)

* Add a background to the collapse button when active to make collapsed more visible when scrolling (glitch-soc#23)

* Hide media within collapsed posts so that don't they appear on posts with very little text

* Better differentiation between 'activated' collapse button and button hover/focus/active states
Teqed pushed a commit to Teqed/meowstodon that referenced this issue Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants