@skui/style
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

@skui/style

Common styles used by many components

Index

Colors

Grayscale

Name Color
GS00 #ffffff #ffffff
GS10 #e6e6e6 #e6e6e6
GS20 #cccccc #cccccc
GS45 #8c8c8c #8c8c8c
GS70 #6a6a6a #6a6a6a
GS90 #323232 #323232
GS100 #000000 #000000

Primary

Name Color
PURPLE #8000ff #8000ff
PINK #e60060 #e60060
LIME #00bf60 #00bf60
CYAN #1cc1c4 #1cc1c4
BLUE #0073e6 #0073e6
ORANGE #ff4f1a #ff4f1a
RED #d90036 #d90036

Mid-dark colors

Name Color
MID_DARK_PURPLE #5900b3 #5900b3
MID_DARK_PINK #990040 #990040
MID_DARK_LIME #007339 #007339
MID_DARK_CYAN #08888a #08888a
MID_DARK_BLUE #004d99 #004d99
MID_DARK_ORANGE #a72600 #a72600
MID_DARK_RED #b4002d #b4002d

Dark color

Name Color
DARK_PURPLE #2a0361 #2a0361
DARK_PINK #3d041c #3d041c
DARK_LIME #00462c #00462c
DARK_CYAN #045463 #045463
DARK_BLUE #012b68 #012b68
DARK_ORANGE #36150c #36150c
DARK_RED #530015 #530015

Fonts

Name Font-Size Font-Weight Color Text-decoration-line
H1 17px normal GS90 none
H2 17px 600 GS90 none
H3 14px normal GS90 none
H4 14px 600 GS70 none
H5 14px 600 GS90 none
PRI 17px normal GS90 none
SEC 14px normal GS70 none
THI 12px normal GS70 none
LINK 17px bold GS90 underline
BTN 17px normal GS90 none

Usage in scss

@import "node_modules/@skui/style/functions";

H2 {
  @include KaiOS_font(H4);
  color: KaiOS_color(ORANGE);
}

Usage in typescript

import type { KaiOS_color } from "@skui/types";
import { ORANGE } from "@skui/style";

const custom_color: KaiOS_color = ORANGE;

License

MIT License

Copyright (c) 2021 Wouter van der Wal

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.22latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.22
0.2.10
0.2.00

Package Sidebar

Install

npm i @skui/style

Weekly Downloads

2

Version

0.2.2

License

MIT

Unpacked Size

14.7 kB

Total Files

10

Last publish

Collaborators

  • wjtje