Socket
Socket
Sign inDemoInstall

halfmoon

Package Overview
Dependencies
28
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    halfmoon

Drop-in Bootstrap replacement, fully customizable with CSS variables.


Version published
Weekly downloads
379
decreased by-20.55%
Maintainers
1
Install size
5.79 MB
Created
Weekly downloads
 

Readme

Source

Halfmoon v2

Halfmoon cover image

Highly customizable, drop-in Bootstrap replacement.

Halfmoon is a highly customizable, drop-in Bootstrap replacement. It comes with three built-in core themes, with dark mode support for all themes and components. Build beautiful and responsive websites and applications.

To learn more, please read the documentation.

JavaScript

We implement no JavaScript on our own, therefore, there is no halfmoon.js (or anything similar). Instead we rely entirely on bootstrap.bundle.js, which you can download from Bootstrap's website. This means that you can replace bootstrap.css with halfmoon.css on your website, and everything should work exactly as expected.

This also means that you can use any of the Bootstrap component libraries for popular JS frameworks such as React, Vue, Angular, Svelte, etc.

Starter template

Here's a starter template to help you quickly get started with Halfmoon.

<!doctype html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
 
    <title>Starter template - Halfmoon</title>
 
    <!-- Halfmoon CSS -->
    <link href="path/to/halfmoon.min.css" rel="stylesheet">
  </head>
  <body>
    <h1>Hello, world!</h1>
 
    <!-- Bootstrap JS bundle with Popper -->
    <script src="path/to/bootstrap.bundle.min.js"></script>
  </body>
</html>

Using npm

npm install halfmoon

Once the package has been installed, you can simply import the CSS file:

// Import Halfmoon CSS
import "halfmoon/css/halfmoon.min.css";

License

Halfmoon is licensed under MIT.

© Copyright 2023, Tahmid Khan

Keywords

FAQs

Last updated on 07 Oct 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc