2.0.0 • Published 3 years ago

@terminus/ui-logo v2.0.0

Weekly downloads
22
License
MIT
Repository
github
Last release
3 years ago

CI/CD Status Codecov MIT License
NPM version Library size

Table of Contents

Installation

Packages that need to be installed

  • @angular/cdk
  • @angular/flex-layout
  • @angular/material
  • @terminus/design-tokens
  • @terminus/fe-utilities
  • @terminus/ui-logo
  • @terminus/ui-utilities

Use the ng add command to quickly install all the needed dependencies:

ng add @terminus/ui-logo

Modules that need to be in NgModule

  • TsLogoModule

CSS imports

In your top level stylesheet, add these imports:

@import '~@terminus/design-tokens/css/library-design-tokens.css';
@import '~@terminus/ui-styles/terminus-ui.css';

CSS resources

Load the needed font families by adding this link to the <head> of your application:

<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">

Usage

The most basic implementation is only HTML:

<ts-logo></ts-logo>

Type

Multiple logo types are available:

<ts-logo type="full-solid"></ts-logo>
<ts-logo type="mark-gradient"></ts-logo>

See TS_LOGO_TYPES to see all allowed types.

Colors

Solid logos are white by default, but can also be black (Terminus Dark) or gray (logo-gray).

<ts-logo type="full-solid" logoColor="gray"></ts-logo>
<ts-logo type="mark-solid" logoColor="black"></ts-logo>

See for TS_LOGO_COLORS to see all allowed logo colors.

Sizing

The four main logos are full-size so they will adapt to the width of their container.

Special Cases

Any logo with a gradient will not honor a logoColor.

Available logos

NameDescription
full-account-hubSpecial logo for Account Hub, includes spacing and color
full-gradientDefault. Gradient mark with logo gray "terminus" text
full-solidMark with "terminus" text, white by default, accepts logoColor
mark-gradientMark with gradient
mark-solidMark without gradient
2.0.0

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.11

4 years ago

1.0.12

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.1

4 years ago