@scalar/themes
Advanced tools
Comparing version 0.4.0 to 0.4.1
# @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 @@ |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
27
102786
16
2443