Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@deephaven/icons
Advanced tools
Icons used in Deephaven client apps. Extends vscode-codicons to be font-awesome svg-core compatible and adds additional icons in a similar style.
Icon Previews -- Link to avaiable icon previews TBD
Takes the vscode-codicons icons and wraps them in a format usable by the Font Awesome React component as custom icons. We also extend the icon set with additional icons that are visually compatible with vscode-codicons, specific to Deephaven but made available here.
We liked the dev experience with the Font Awesome React component, and use Font Awesome Pro in our enterprise offering. However, we needed a code-focused open-source icon set for use in our Deephaven OSS projects, and added a few extra that we use.
Install with npm install @deephaven/icons @fortawesome/fontawesome-svg-core @fortawesome/react-fontawesome
to use this icon set in your React project.
Then within your react project import the individual icons, and use as you would a normal faIcon
.
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import {vsAccount, dhTruck} from `@deephaven/icons';
[...]
<FontAwesomeIcon icon="vsAccount" />
<FontAwesomeIcon icon="dhTruck" />
This is part of the deephaven/web-client-ui monorepo, and published as a package via lerna from the root folder. Develop the icons locally by running npm install
within the core/web/client-ui/packages/icons
folder.
Build with npm run build
. The build step will perform a command line svg optimization step on both the dh and vs icons. It attempts to merge all paths, which can be bad if you have intersecting shapes. Don't have intersecting shapes. Both svg sets are copied to the dist folder. Then we use the build.js script to transform the svg files into the exported .js and .ts files needed by react-fontawesome.
Deephaven icons are .svg files in /src/icons
folder, and will be added as dh
prefixed icons. vscode-codicons are imported from the node_modules/vscode-codicons
package and prefixed as vs
icons. Collectively, they are part of the dh
prefix as far as react-fontawesome is concerned.
Deephaven Data Labs and any contributors grant you a license to the content of this repository under the Apache 2.0 License, see the LICENSE file.
Icons included from vscode-codicons during the build process are licensed under the Creative Commons Attribution 4.0 International Public License.
FAQs
Icons used in Deephaven client apps. Extends vscode-codicons to be font-awesome svg-core compatible and adds additional icons in a similar style.
We found that @deephaven/icons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.