![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Alga CSS is a scoped-first CSS toolkit for quickly compose or share any design between components
Alga CSS is a scope-first CSS toolkit for quickly compose or share any design between components
What I mean by scope-first is, this Alga CSS is specially made for frameworks or libraries that support scoped-css like Vue
or (Svelte
or Astro
coming soon). Also, my goal in building this is to support all the UI libraries that I have now like vidie
or (sastra
still in progress)
All the main features:
Alga CSS allow you to use whatever special character you wish (use either -
, .
, :
or _
) as divider or separator of class names or references.
/* highly recommended */
<span class="md.mgTop-5 bgPrimary-725 txtColor-hex(333)"></span>
.className {
ref: md.mgTop-5;
ref: txtColor.rgb(205,45,67);
}
/* alternative */
md.pdTop.2
md-pdBottom-4
md:pdLeft:3
md_pdRight_7
For composing CSS utility, we provide a custom property which is ref
.
.className {
ref: flex justifyCenter flex-20 bgPrimary-3;
}
.otherClassName {
ref: flex;
ref: justifyCenter;
ref: flex-20;
ref: bgPrimary-3;
}
For mixing CSS properties, we provide props
custom property.
@set className {
ref: flex justifyCenter flex-20 bgPrimary-3;
}
.otherClassName {
props: className;
}
For getting CSS custom class, you can use @get
custom rule and emit
custom property if you want to inject CSS utility to it.
@get className;
/* or */
@get className {
emit: txtBold-5 bdSolid-5;
}
/* or */
@get className {
emit: txtBold-5;
emit: bdSolid-5;
}
FAQs
Alga CSS is a component oriented CSS framework for quickly inject, reuse or compose the style in a single file and can be called inside JavaScript framework SFC file
The npm package alga-css receives a total of 50 weekly downloads. As such, alga-css popularity was classified as not popular.
We found that alga-css demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.