🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

alga-css

Package Overview
Dependencies
Maintainers
1
Versions
174
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-development1
Source
npm
Version published
Maintainers
1
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

css-framework

FAQs

Package last updated on 05 Jun 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