Socket
Book a DemoInstallSign in
Socket

@markdownspace/markdownswatch

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markdownspace/markdownswatch

CSS themes using Bulma for Markdown Space

latest
npmnpm
Version
1.0.7
Version published
Maintainers
0
Created
Source

Markdown Swatch

How to use:

  • install the package
 npm i @markdownspace/markdownswatch
  • Include the css file of your choice from node_modules/@markdownspace/markdownswatch/css/{THEME_NAME}.css

Example:

<!DOCTYPE html>
<html lang="en">
  <head>
    <link
      rel="stylesheet"
      href="node_modules/@markdownspace/markdownswatch/css/minty.css"
    />
  </head>
  <body>
    <!-- Navbar -->
    <nav
      class="navbar is-primary"
      role="navigation"
      aria-label="main navigation"
    >
      <div class="navbar-brand">
        <a class="navbar-item" href="#">
          <strong>Brand</strong>
        </a>
      </div>

      <div class="navbar-menu">
        <div class="navbar-start">
          <a class="navbar-item" href="#"> Home </a>
          <a class="navbar-item" href="#"> Documentation </a>
          <a class="navbar-item" href="#"> About </a>
        </div>
      </div>
    </nav>

    <!-- Hero Section -->
    <section class="hero is-link is-medium">
      <div class="hero-body">
        <div class="container">
          <h1 class="title">Welcome to the Showcase</h1>
          <h2 class="subtitle">Using Bulma and Custom CSS from NPM Package</h2>
        </div>
      </div>
    </section>

    <!-- Content Section -->
    <section class="section">
      <div class="container">
        <h3 class="title is-3">Content Section</h3>
        <p class="content">
          This section uses <strong>Bulma</strong> components styled with
          <strong>custom CSS</strong> from the NPM package.
        </p>

        <!-- Card Component -->
        <div class="card">
          <header class="card-header">
            <p class="card-header-title">Card Title</p>
          </header>
          <div class="card-content">
            <div class="content">
              This is a card component styled with MDSS.
            </div>
          </div>
          <footer class="card-footer">
            <a href="#" class="card-footer-item">Save</a>
            <a href="#" class="card-footer-item">Edit</a>
            <a href="#" class="card-footer-item">Delete</a>
          </footer>
        </div>
      </div>
    </section>

    <!-- Footer -->
    <footer class="footer">
      <div class="content has-text-centered">
        <p>
          <strong>Bulma and Custom CSS Showcase</strong> by
          <a href="#">Your Name</a>.
        </p>
      </div>
    </footer>
  </body>
</html>

FAQs

Package last updated on 03 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts