I want to create a theme, but if possible, not use Bootstrap v4 at all. This will reduce the CSS file to a minimum. It’s easier for me to work without Bootstrap. :frog:

  • AgreeableLandscape
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    5 years ago

    Lemmy uses Bootstrap as the base CSS framework, so you can just call bootstrap classes in your custom theme (you don’t have to include any Bootstrap source code a release of your theme). What happens at the browser level is that the base Bootstrap stylesheets get applied, then your theme CSS, which will overwrite any defaults with the custom rules you defined.

    For a WYSIWYG Bootstrap theme builder, check out https://bootstrap.build/app

    • EvgOP
      link
      fedilink
      arrow-up
      2
      ·
      5 years ago

      Yes, this is what I want. It’s easier for me, and I think there will be less code. Thank you so much.

      • AgreeableLandscape
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        5 years ago

        For the theme builder, remember to export the theme to a local file often as (AFAIK) the free version has no way of saving it online, so if your tab or browser is closed, all is lost.

        • EvgOP
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          5 years ago

          I have some experience with CSS. Bootstrap is simply not very convenient for me, that is, as a rule, it is usually easier to write everything yourself. Cleaner and easier to control. I like Lemmy precisely because of its simplicity and ease, and I would not want to introduce something “heavy.”