Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MSK logo #34

Merged
merged 3 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions dist/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# OncoKB Styles

## Status
![NPM Publish](https://github.com/oncokb/styles/workflows/NPM%20Publish/badge.svg) ![Application CI](https://github.com/oncokb/styles/workflows/Application%20CI/badge.svg) ![Release Management](https://github.com/oncokb/styles/workflows/Release%20Management/badge.svg)

## Use css colors
Please use class name `oncokb {color}`

| Category | Possible Values to replace {color} |
|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| oncogenicity | oncogenic, likely-oncogenic, resistance, neutral, likely-neutral, inconclusive, vus, unknown |
| level | level-1, level-2, level-3, level-3A, level-3B, level-4, level-R1, level-R2, level-R3, level-Dx1, level-Dx2, level-Dx3, level-Px1, level-Px2, level-Px3 |

### Example
Use the color for oncogenic `oncokb oncogenic`

## Use icon
Please use class name `oncokb icon {icon-name}`

| Category | Possible values to replace {icon-name} |
|--------------------|----------------------------------------------------------------------------------------------|
| Oncogenicity | oncogenic, likely-oncogenic, resistance, neutral, likely-neutral, inconclusive, vus, unknown |
| Therapeutic Levels | level-1, level-2, level-3, level-3A, level-3B, level-4, level-R1, level-R2, level-R3 |
| Diagnostic Levels | level-Dx1, level-Dx2, level-Dx3 |
| Prognostic Levels | level-Px1, level-Px2, level-Px3 |

### Example
When showing level 1 icon, you should use `oncokb icon level-1`

### Icons
![OncoKB Icons](images/v4/icons.png )


## Use annotation icon
Please use class name `oncokb annotation-icon {oncogenicity} level{-sensitive level}{-resistance level}`
The list of icons are for oncogenicity and therapeutic levels. Dx/Px are not included, use [Icons](#icons) above instead.


| Variable | Possible values to replace |
|------------------|----------------------------------------------------------------------------------------------|
| oncogenicity | oncogenic, likely-oncogenic, resistance, neutral, likely-neutral, inconclusive, vus, unknown |
| sensitive level | 1, 2, 3, 3A, 3B, 4 |
| resistance level | R1, R2, R3 |

### Example
When the annotation shows oncogenic, highest sensitive level is 3A, highest resistance level is R2, you should use `oncokb annotation-icon oncogenic level-3A-R2`
When the annotation with only oncogenicity, you should use `oncokb annotation-icon oncogenic no-level`

### Icons
![OncoKB Annotation Icons](images/v4/annotation-icons.png)

## SVG images
These images are converted by using https://image.online-convert.com/convert-to-png
10 changes: 10 additions & 0 deletions dist/images/msk/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## README

### Source
The asset is downloaded from https://product.design.dev.aws.mskcc.org/logo


### Note
- Only large svg and small png are included from original asset considering the most common usage of this package
- Only the versions without founding year 1884(file name includes `sans` in the original asset) are included.
- When included in this package, we removed the `sans-large/small` from the file name.
Binary file added dist/images/msk/logo-arrow-black-white-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/images/msk/logo-arrow-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/images/msk/logo-arrow-black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/images/msk/logo-arrow-navy-white-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/images/msk/logo-arrow-navy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/images/msk/logo-arrow-navy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/images/msk/logo-arrow-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/images/msk/logo-arrow-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/images/msk/logo-flat-black-white-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/images/msk/logo-flat-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/images/msk/logo-flat-black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/images/msk/logo-flat-navy-white-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/images/msk/logo-flat-navy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading