-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For now this will live as a GitHub page to serve the assets, but we set it up to use a CNAME so we can switch the implementation at any time. To do this you will need to change the CNAME record in DNS.
- Loading branch information
0 parents
commit 71287ca
Showing
8 changed files
with
339 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
assets.nscale.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# NSCALE Assets | ||
|
||
![NSCALE Logo](./img/nscale/light/logo.svg#gh-light-mode-only) | ||
![NSCALE Logo](./img/nscale/dark/logo.svg#gh-dark-mode-only) | ||
|
||
This repository contains all static assets used for company branding in various applications. | ||
These include, but are not limited to, images and CSS. | ||
|
||
## Use in Your Web Application | ||
|
||
For now, these assets are served with GitHub pages. | ||
To use them, use the following prefix, then the path as illustrated below: | ||
|
||
``` | ||
https://assets.nscale.com/<path> | ||
``` | ||
|
||
## Conventions | ||
|
||
Files, where appropriate, are intuitively named: | ||
|
||
* `light` - for use on light backgrounds. | ||
* `dark` - for use on dark backgrounds. | ||
* `adaptive` - for use on any background, the image will use the `currentColor` for black/white elements. However this requires the SVG contents to be in the DOM, so you must inject the SVG and not use an `<img>` tag. You can use [svg-inject](https://github.com/iconfu/svg-inject) to perform this task. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.