Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Roni Rolle Laukkarinen
@rolle@mementomori.social  ·  activity timestamp 2 weeks ago

Opened an issue to Mastodon Bird UI: Major rewrite: migrate to SCSS + Parcel for Mastodon's new CSS custom properties system https://github.com/ronilaukkarinen/mastodon-bird-ui/issues/172

I don't have time to work on this for a while, but I already have a plan.

#MastodonBirdUI #BirdUI #CSS #MastoAdmin #Mastodon #SCSS #OpenSource

  • Copy link
  • Flag this post
  • Block
Daniel Schildt
@autiomaa@mementomori.social replied  ·  activity timestamp 2 weeks ago

@rolle Good planning overall. Hopefully new structure will make things a lot more manageable in the future.

  • Copy link
  • Flag this comment
  • Block
Roni Rolle Laukkarinen
@rolle@mementomori.social replied  ·  activity timestamp 2 weeks ago

@autiomaa Thanks. I hope so too. Needs quite a lot of work, planning to start it during my Christmas holiday.

  • Copy link
  • Flag this comment
  • Block
Daniel Schildt
@autiomaa@mementomori.social replied  ·  activity timestamp 2 weeks ago

@rolle If you need any second set of eyes during the rewrite, I could take a look when needed. ☺️

  • Copy link
  • Flag this comment
  • Block
iamdtms
@iamdtms@mas.to replied  ·  activity timestamp 2 weeks ago

@rolle Yes, SCSS features are mostly implemented in CSS, I do not use the preprocessor for a while.

  • Copy link
  • Flag this comment
  • Block
Roni Rolle Laukkarinen
@rolle@mementomori.social replied  ·  activity timestamp 2 weeks ago

@iamdtms The only issue is modularity. As far as I know, you can't output a single CSS-only file with includes or imports.

I've been using SCSS daily in other projects since 2012, but for Mastodon Bird UI, I wanted to keep it CSS-only for as long as possible since it serves the regular non-technical admins via the Custom CSS option. However, it's getting too chaotic to maintain this way now.

  • Copy link
  • Flag this comment
  • Block
iamdtms
@iamdtms@mas.to replied  ·  activity timestamp 2 weeks ago

@rolle Yes, handling multiple layers now would be overdrive.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login