~/talk

SASS or plain CSS An example of use in Drupal with Dart Sass and Gulp 4

TalkinSpanishat DrupalCamp Spain 2022 · 2022-06-03..06-05· [css, drupal, frontend-architecture]
links:none on file
slides:none on file

Shows how to use Dart‑Sass together with Gulp 4 and Node/NPM to generate CSS for a Drupal theme. Covers what CSS preprocessors are, pros/cons versus plain CSS, required tools (NVM, package.json, Dart‑Sass, autoprefixer, Gulp tasks like compile, clean, sourcemaps), a practical Drupal theme example demonstrating partials, variables, nesting, functions, mixins, placeholders, interpolation, maps and CSS custom properties, plus Dart‑Sass features (module system, @use/@forward, differences from node‑sass, built‑in sass:* modules) and notes on migrating from node‑sass.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09Talk origin
  3. 3:15Preprocessors vs pure CSS
  4. 7:13Preprocessors overview
  5. 10:07Pros and cons
  6. 17:40Drupal setup example
  7. 22:41Gulp 4 setup
  8. 28:49Gulp tasks
  9. 33:09Dart Sass vs JS Sass
  10. 34:33SASS syntax
  11. 35:40Project structure
  12. 38:12Custom properties
  13. 40:42Dart Sass @use
  14. 43:55SASS maps
  15. 46:46Dynamic CSS mixins
  16. 47:07Migration tools
  17. 48:13Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.