
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Implementation of the Cora-UI Guidelines
yarn install
to install dependenciesyarn build
to compile scss to cssyarn start
to serve the example html, useful for creating and testing new stylesyarn release
follow prompts to publish to npmReference the package and version directly in your html
<link rel="stylesheet" href="https://unpkg.com/cora-ui@0.0.3/dist/index.css">
scss/base.scss
.<h1>
through <h6>
and <p>
defaults are appliedem
in your projectcolor-<name>--<type>
. The color palette is defined in /scss/colors.scss
. Colors can be used as follows:<div class="color-blackOlive color-eggShell--bg">
Black Olive text and Egg Shell background
</div>
name | class | background |
---|---|---|
Egg Shell | color-eggShell | color-eggShell--bg |
Desert Sand | color-desertSand | color-desertSand--bg |
Pastel Pink | color-pastelPink | color-pastelPink--bg |
Black Olive | color-blackOlive | color-blackOlive--bg |
Raisin Black | color-raisinBlack | color-raisinBlack--bg |
Aztec Gold | color-aztecGold | color-aztecGold--bg |
<div class="colorScheme-primaryDark">
Egg Shell text and Black Olive background
</div>
name | class |
---|---|
Primary Light | colorScheme-primaryLight |
Primary Dark | colorScheme-primaryDark |
Alternate Light | colorScheme-alternateLight |
Alternate Dark | colorScheme-alternateDark |
Secondary Dark | colorScheme-secondaryDark |
btn
and cta
classbtn-light
option and --disabled
modifier available<div class="btn">Button</div>
<div class="btn--disabled">Disabled Button</div>
<div class="btn-light">Light Button</div>
<div class="btn-light--disabled">Light Disabled Button</div>
<div class="cta">Call to Action</div>
<div class="cta--disabled">Disabled Call to Action</div>
<h1>
through <h6>
and <p>
elements and should never have to be defined.@font-face {
font-family: 'ProximaNova-Regular';
src: asset-url('path/to/font');
}
@font-face {
font-family: 'ProximaNova-Semibold';
src: asset-url('path/to/font');
}
@font-face {
font-family: 'Monday';
src: asset-url('path/to/font');
}
<input>
elements are styled by default and only have one variant which can be triggered with the .alternate
class<input placeholder='Normal input' />
<input class='alternate' placeholder='Alternate input' />
alert
class.<div class="alert">
Alert banner message
</div>
scss/utility.scss
.FAQs
UI guide for Cora
We found that cora-ui demonstrated a not healthy version release cadence and project activity because the last version was released 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.