mwinkler, to webdev
@mwinkler@mastodon.social avatar

Caused a bug, learned something new. Turned it into a blog article https://dev.to/teetotum/beware-invalid-selectors-with-scss-5alj

developerjustin, to wordpress
@developerjustin@mastodon.social avatar

I’ve been opposed to our team using any kind of build system for our theme work. Wherever possible, we write code and that code “ships” as written. My one exception is WP SCSS, a Wordpress plugin for compiling SCSS to on the server side. It has options for compression level and mapping, etc. and even conditional compiles to only regenerate styles when the directory has been modified.

https://github.com/ConnectThink/WP-SCSS

pablolarah, to webdev
@pablolarah@mastodon.social avatar
jkohlmann, to webdev
@jkohlmann@mastodon.social avatar

Extremely unimpressed with the ways in which Sass integrations seem like a complete afterthought in 2024. Sass is a beautiful, powerful language, made and maintained by smart, caring people. It’s really sad to see it done dirty like this.

bolverkr, to CSS Spanish
@bolverkr@masto.es avatar

¿Alguien conoce o me recomienda un curso que sea de nivel avanzado de SCSS/SASS?

alexstandiford, to CSS
@alexstandiford@fosstodon.org avatar

CSS has gotten so, so good over the last few years. So many things that were really difficult to do are now trivial.

https://www.alexstandiford.com/uncategorized/2811/

adriangadientbruegger, to CSS Afar

Dear users: I’m trying to write my first custom template/ extension. In some examples I looked at there are and files.

Can anyone explain me what their purpose and difference is? What should I put in which of them?

Links to tutorials / documentation are highly welcomed!

BryceWrayTX, to CSS
@BryceWrayTX@fosstodon.org avatar

Post >> Variations on styling variables in SSGs • The CSS-or-Sass question about styling variables is a lot simpler to answer when you’re building your site the right way.

https://www.brycewray.com/posts/2023/11/variations-styling-variables-ssgs/

itsame_mcl, to Java French

Dans les sujets dont je devrais logiquement pas mal parler par ici, il y'a le . C'est une passion pour moi depuis l'enfance, et j'ai la chance de pouvoir enfin l'exercer professionnellement depuis un peu plus d'un an, dans le service public (à l'Insee pour être précis). Côté technos, je bosse en full stack sur une appli web avec et côté back, , et côté front. Sur mes projets persos et dans les cours que je donne, c'est 🤓

sebastix, to vuejs
@sebastix@drupal.community avatar

Finishing up the redesign of the navigation on my site I worked out a week ago.

https://shares.sebastix.dev/4FnND28V.mp4

iamdtms, to random
@iamdtms@mas.to avatar
pezillionaire, to CSS
@pezillionaire@mastodon.social avatar

It's been on my mind that with all the new features of it might be time to migrate away from .

Problem is I'd like to implement the changes as I go. Historically CSS has worked as a subset but with nesting those rules are broken – https://sass-lang.com/blog/sass-and-native-nesting/ – which means migrating away from SCSS is now an all-or-nothing proposition.

Has enyone else done this? What are some solutions? I've been looking at https://lightningcss.dev/ as a potential build replacement

mikestreety, to programming
@mikestreety@hachyderm.io avatar

We've had an internal linter for years, which is built on a PHP framework.

You run the linter you want and append --fix if you want it to resolve issues (if it can)

It lints things like , as well as (via and ), files and even TypoScript files - all by using the open source libraries available.

It means all our developers can adhere to central linting conventions without having to update local config files.

drupalthoughts, to drupal
@drupalthoughts@fosstodon.org avatar

i'm updating a 8 site to 10 and tumbling through some of the changes in class conventions, maybe due to the outdated theme? where underscores are now hyphens and various <div> have appeared and disappeared 😬
is there a standard/programmatic way to update the classes at least? 🤔

rolle, to webdev
@rolle@mementomori.social avatar

Doing legacy code...

christian, to CSS
@christian@aldr.social avatar

Is there a support group for folks that say they will separate and structure their SASS/SCSS properly, but then just end up writing it all into one file?

😬

nachtfunke, to webdev

I'm trying to once again meaningfully unify how I abstract code in and Cascade Layers in

Consider a scss library that has lots of folders and barrel files, components/_index.scss. Each component may be its own (nested) layer, but I cannot export them into a single, unified components layer, because I cannot put @layer before @forward/@use.

I could have something like $layer1: 'components' !default; $layer2: 'button' !default and then @forward with(...) it, but that's nasty

michael, to php
@michael@thms.uk avatar

After turning up here a couple of weeks or so ago, I figured it's time for an

I'm a full stack web developer, currently working mostly with () and Vanilla and . Still love too.

Outside of that, my main interests are around , , and just learning new stuff.

Husband, father of 2 boys, speaker of and with some basic understanding of

Started running my own instance just for fun, and loving it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • Durango
  • Youngstown
  • everett
  • slotface
  • rosin
  • cubers
  • mdbf
  • ngwrru68w68
  • anitta
  • GTA5RPClips
  • cisconetworking
  • osvaldo12
  • ethstaker
  • Leos
  • khanakhh
  • normalnudes
  • tester
  • modclub
  • tacticalgear
  • megavids
  • provamag3
  • lostlight
  • All magazines