todos-contra-el-fuego-web/imports/ui/components/Content/Content.scss
vjrj c6c22643c1 scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass)
Silences the dart-sass deprecation warnings that flooded every build:
- All @import of local partials (colors, mixins, and the CSS-emitting
  partials) -> @use '...' as * (partials are pure defs, so 'as *' keeps the
  global names and the ~25 call sites unchanged). Added explicit @use './colors'
  to bootstrap-overrides.scss and cookies-eu.scss, which used -palette*
  transitively (broke under @use's scoping).
- lighten(c, x%) -> color.adjust(c, $lightness: x%) and darken -> negative,
  with @use 'sass:color' in the 6 affected files.
Compiles clean (byte-for-byte CSS behavior preserved).
2026-07-17 18:18:04 +02:00

36 lines
421 B
SCSS

@use '../../stylesheets/mixins' as *;
.Content {
max-width: 700px;
margin: 0 auto;
font-size: 14px;
line-height: 22px;
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 30px 0 20px;
}
p {
margin-bottom: 20px;
}
> *:first-child {
margin-top: 0px;
}
> *:last-child {
margin-bottom: 0px;
}
}
@include breakpoint(tablet) {
.Content {
font-size: 16px;
line-height: 22px;
}
}