New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

alga-css

Package Overview
Dependencies
Maintainers
1
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alga-css

Alga CSS is an alternative toolkit based on Tailwind CSS and Bootstrap 5

  • 1.0.0-development2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
208
increased by173.68%
Maintainers
1
Weekly downloads
 
Created
Source

Alga CSS logo


Alga CSS (formerly tailstrap)

Alga CSS is an alternative toolkit based on Tailwind CSS and Bootstrap 5 classes. This is not a framework but just CSS for my Vue components

No doubt about the current class names are very confusing because we write the value first and before the colon. So, now we provide a new way to create perfect css names by using dot/period (.) for breakpoint and colon (:) for value.

<!-- current class name -->
<div class="smaller(start:flex)"></div>

<!-- new class name -->
<div class="xs.flexStart"></div>

<!-- future class name -->
<div class="smaller{flexStart;flexColumn;itemsCenter}"></div>
<div class="xs{flexStart;flexColumn;itemsCenter}"></div>

<!-- right now only support single class name -->
<div class="smaller{flexStart}"></div>

<!-- my expectation of class name in the future -->
<div class="smaller{[bg,txt].hex(#168243);bd.rgb(22,130,67);[m,p].value(1rem)}"></div>
<style>
.smaller\{\[bg\,txt\]\.hex\(\#168243\)\;bd\.rgb\(22\,130\,67\)\;\[m\,p\]\.value\(1rem\)\} {
  background-color: #168243;
  color: #168243;
  border-color: rgb(22, 130, 67);
  margin: 1rem;
  padding: 1rem;
}
</style>

Keywords

FAQs

Package last updated on 23 Jul 2021

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc