defaultStyle top-level property

Style get defaultStyle

Implementation

Style get defaultStyle => Style.create([
      $deck.outerContainer.color.black(),
      // $.innerContainer.color.transparent(),
      $deck.contentContainer.padding.all(40),
      // $.contentContainer.color(Colors.yellow),
      $deck.textStyle.as(baseTextStyle),
      $deck.headings.textStyle.as(headingTextStyle),
      $deck.h1.textStyle.fontSize(96),
      $deck.h1.padding.bottom(12),
      $deck.h2.textStyle.fontSize(72),
      $deck.h2.padding.bottom(9),
      $deck.h3.textStyle.fontSize(48),
      $deck.h3.padding.bottom(6),
      $deck.h4.textStyle.fontSize(36),
      $deck.h4.padding.bottom(4),
      $deck.h5.textStyle.fontSize(24),
      $deck.h5.padding.bottom(3),
      $deck.h6.textStyle.as(baseTextStyle),
      $deck.h6.padding.bottom(3),
      $deck.paragraph.textStyle.as(baseTextStyle),
      $deck.paragraph.padding.bottom(12),
      $deck.link.color(Colors.blue),
      $deck.list.textStyle.as(baseTextStyle),
      $deck.list.item.as(baseTextStyle),
      $deck.list.itemMarker.as(baseTextStyle),
      $deck.list.itemMarkerTrailingSpace(12),
      $deck.list.itemMinIndent(12),
      $deck.table.textStyle.as(baseTextStyle),
      $deck.table.head.as(baseTextStyle.copyWith(fontWeight: FontWeight.bold)),
      $deck.table.body.as(baseTextStyle),
      $deck.blockSpacing(20),
      $deck.table.cellPadding.all(12),
      $deck.table.border.all(color: Colors.grey, width: 2),
      $deck.table.rowDecoration.color(Colors.grey.withOpacity(0.1)),
      $deck.code.span.as(monoTextStyle),
      $deck.code.padding.all(24),
      $deck.code.decoration.color(const Color.fromARGB(255, 23, 23, 23)),
      $deck.code.decoration.borderRadius.circular(10),
      $deck.blockquote.textStyle.as(serifTextStyle),
      $deck.blockquote.textStyle.fontSize(32),
      $deck.blockquote.padding.bottom(12),
      $deck.blockquote.contentPadding.left(30),
      $deck.blockquote.decoration.border.left.color(Colors.grey),
      $deck.blockquote.decoration.border.left.width(4),
      $deck.divider.height(1),
      $deck.divider.color(Colors.grey),
      $deck.divider.thickness(2),
      $deck.image.fit.cover(),
    ]);