🐳 Ocean Protocol's assets for community distribution.
All assets in this repo can also be viewed and downloaded from oceanprotocol.com/art. You'll find a living styleguide there too.
Those are commercial fonts and the license doesn't allow us to distribute them. Hence you won't find them in this repository. If you're a member of the Ocean Protocol team ask a designer to hand you the font files.
If you only need them for use on the web, you can grab them from inside the private
site repo's fonts folder.
It's encouraged to use this repo as a dependency within your projects to keep the assets in sync. The whole repo is published as a npm module so just run for installation:
npm install oceanprotocol-art
Use as a submodule
From the root of your project folder execute the following to put the submodule under
git submodule add email@example.com:oceanprotocol/art.git lib/art
Then, from time to time, update the submodule to get latest upstream changes:
# go into submodule foldercd ./lib/artgit checkout mastergit pull# get back to your project rootcd ../../# or if you're a busy person, update all your submodules at once from the root of your projectgit submodule foreach git pull origin master
Import the required assets into your project, which will return the file source path:
<img src=Logo />
But you usually want SVG assets to be inlined for full control over styling with CSS. To achieve that, you can incorporate svgr into your build process to import SVG assets as actual React components:
<Logo className="logo" />
And then style away in CSS:
All assets are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.