
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
spectaql-dark-theme
Advanced tools
A dark theme for SpectaQL based on the default SpectaQL theme.
In mobile:
This theme is provided by Anvil. Anvil provides easy APIs for all things paperwork.
Learn more on our Anvil developer page.
You can use this theme in two ways
The benefit of using the theme directly from NPM is that you will have an easy path to upgrade if/when there are bug fixes and improvements. See the example node repo for an example project using this theme via NPM.
Add both spectaql
and spectaql-dark-theme
to your repo as dev dependencies:
$ yarn add -D spectaql spectaql-dark-theme
# OR
$ npm install --dev spectaql spectaql-dark-theme
Then you can reference the theme in your SpectaQL config from node_modules
.
spectaql:
# Use the theme from node_modules
themeDir: ./node_modules/spectaql-dark-theme/theme
# The rest of your config...
See the example config.yml
for a full example.
It is likely you will want to modify the theme's colors and override styles. All you need to do is copy the entire theme
directory into your project. Once you have the theme
directory in the location of your choice, reference the theme in your SpectaQL config:
spectaql:
themeDir: ./custom-location/docs/theme
See the example config.yml
for a full example.
When you have your config.yml setup from the one of the usage sections above, you can run SpectaQL as you would otherwise. From the root of your project
# View docs with a development server
$ yarn spectaql ./spectaql-config.yml -D
# Output docs to a file
$ yarn spectaql ./spectaql-config.yml -t ./build/docs
# View docs with a development server
$ npx spectaql ./spectaql-config.yml -D
# Output docs to a file
$ npx spectaql ./spectaql-config.yml -t ./build/docs
MIT
FAQs
A dark theme for SpectaQL
We found that spectaql-dark-theme demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.