Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@scalar/themes

Package Overview
Dependencies
Maintainers
7
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scalar/themes - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

6

CHANGELOG.md
# @scalar/themes
## 0.4.1
### Patch Changes
- 55246e5: chore: rewrite all package.jsons (including their prod, dev and peer dependency requirements)
## 0.4.0

@@ -4,0 +10,0 @@

23

dist/components/ThemeStyles.vue.d.ts
import '../base.css';
import { type ThemeId } from '../index';
import '../scrollbar.css';
declare const _default: import("vue").DefineComponent<{
id: {
type: import("vue").PropType<ThemeId>;
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
id?: ThemeId | undefined;
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
id?: ThemeId | undefined;
}>>>, {}, {}>;
export default _default;
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
type __VLS_TypePropsToRuntimeProps<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
id: {
type: import("vue").PropType<ThemeId>;
};
}>>, {}, {}>;
export default _default;
};
//# sourceMappingURL=ThemeStyles.vue.d.ts.map
{
"name": "@scalar/themes",
"description": "the default CSS variables for all Scalar packages",
"version": "0.4.0",
"license": "MIT",
"author": "Scalar (https://github.com/scalar)",
"bugs": "https://github.com/scalar/scalar/issues/new",
"devDependencies": {
"@vitejs/plugin-vue": "4.3.4",
"@vitest/coverage-v8": "0.34.4",
"tsc-alias": "1.8.8",
"vite": "4.4.9",
"vite-plugin-css-injected-by-js": "3.3.0",
"vite-plugin-static-copy": "0.17.0",
"vitest": "0.34.4",
"vue-tsc": "1.8.13"
"homepage": "https://github.com/scalar/scalar",
"bugs": "https://github.com/scalar/scalar/issues/new/choose",
"keywords": [
"css",
"css-variables",
"scalar"
],
"version": "0.4.1",
"engines": {
"node": ">=20"
},
"type": "module",
"main": "./dist/index.js",
"exports": {

@@ -31,14 +33,3 @@ ".": "./dist/index.js",

],
"homepage": "https://github.com/scalar/scalar",
"keywords": [
"css",
"css-variables",
"scalar"
],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.js",
"peerDependencies": {
"vue": "3.3.4"
},
"repository": {

@@ -49,5 +40,19 @@ "type": "git",

},
"type": "module",
"devDependencies": {
"@vitejs/plugin-vue": "^4.4.0",
"@vitest/coverage-v8": "^0.34.4",
"tsc-alias": "^1.8.8",
"vite": "^4.4.11",
"vite-plugin-css-injected-by-js": "^3.3.0",
"vite-plugin-static-copy": "^0.17.0",
"vitest": "^0.34.4",
"vue-tsc": "^1.8.19"
},
"peerDependencies": {
"vue": "3.3.4"
},
"scripts": {
"build": "vite build && pnpm types:build && tsc-alias -p tsconfig.build.json",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"types:build": "vue-tsc -p tsconfig.build.json",

@@ -54,0 +59,0 @@ "types:check": "vue-tsc --noEmit --skipLibCheck --composite false"

@@ -1,7 +0,7 @@

# Scalar Default Theme
# Scalar Themes
![Version](https://img.shields.io/npm/v/%40scalar/default-theme)
![Downloads](https://img.shields.io/npm/dm/%40scalar/default-theme)
![License](https://img.shields.io/npm/l/%40scalar%2Fdefault-theme)
[![Discord](https://img.shields.io/discord/1135330207960678410?style=flat&color=5865F2)](https://discord.com/invite/Ve683JXN)
[![Version](https://img.shields.io/npm/v/%40scalar/themes)](https://www.npmjs.com/package/@scalar/themes)
[![Downloads](https://img.shields.io/npm/dm/%40scalar/themes)](https://www.npmjs.com/package/@scalar/themes)
[![License](https://img.shields.io/npm/l/%40scalar%2Fthemes)](https://www.npmjs.com/package/@scalar/themes)
[![Discord](https://img.shields.io/discord/1135330207960678410?style=flat&color=5865F2)](https://discord.gg/8HeZcRGPFS)

@@ -14,6 +14,14 @@ ## Installation

## Usage
## Themes
```js
import '@scalar/themes/default.css'
```
The following themes are available:
- `default` (which is the … default)
- `alternate`
- `moon`
- `purple`
- `solarized`
And if you don’t want to load any theme:
- `none`

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc