@scalar/themes
Advanced tools
Comparing version 0.9.58 to 0.9.59
# @scalar/themes | ||
## 0.9.59 | ||
### Patch Changes | ||
- 7b4ab2c: feat(components): make ScalarMenu into a dropdown | ||
- @scalar/types@0.0.25 | ||
## 0.9.58 | ||
@@ -4,0 +11,0 @@ |
@@ -47,5 +47,5 @@ const n = `/* Inter (--scalar-font) */ | ||
src: url(https://fonts.scalar.com/inter-vietnamese.woff2) format('woff2'); | ||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, | ||
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, | ||
U+1EA0-1EF9, U+20AB; | ||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, | ||
U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, | ||
U+0329, U+1EA0-1EF9, U+20AB; | ||
} | ||
@@ -106,5 +106,5 @@ /* latin-ext */ | ||
src: url(https://fonts.scalar.com/mono-vietnamese.woff2) format('woff2'); | ||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, | ||
U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, | ||
U+1EA0-1EF9, U+20AB; | ||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, | ||
U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, | ||
U+0329, U+1EA0-1EF9, U+20AB; | ||
} | ||
@@ -111,0 +111,0 @@ /* latin-ext */ |
@@ -154,3 +154,7 @@ const a = `/* basic theme */ | ||
radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)), | ||
radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)), | ||
radial-gradient( | ||
2px 2px at 50px 160px, | ||
var(--star-color3), | ||
rgba(0, 0, 0, 0) | ||
), | ||
radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)), | ||
@@ -157,0 +161,0 @@ radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)), |
@@ -178,3 +178,7 @@ const a = `/* basic theme */ | ||
radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)), | ||
radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)), | ||
radial-gradient( | ||
2px 2px at 50px 160px, | ||
var(--star-color3), | ||
rgba(0, 0, 0, 0) | ||
), | ||
radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)), | ||
@@ -181,0 +185,0 @@ radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)), |
@@ -123,2 +123,3 @@ /** Scalar Tailwind Preset */ | ||
xl: string; | ||
px: string; | ||
full: string; | ||
@@ -129,4 +130,7 @@ none: string; | ||
DEFAULT: string; | ||
'0': string; | ||
'1/2': string; | ||
'0': string; | ||
'1': string; | ||
'2': string; | ||
'4': string; | ||
}; | ||
@@ -237,2 +241,3 @@ boxShadow: { | ||
header: string; | ||
border: string; | ||
}; | ||
@@ -239,0 +244,0 @@ }; |
@@ -1,5 +0,5 @@ | ||
import a from "./pixelPreset.js"; | ||
import r from "./pixelPreset.js"; | ||
const l = { | ||
darkMode: ["selector", ".dark-mode"], | ||
presets: [a], | ||
presets: [r], | ||
theme: { | ||
@@ -11,2 +11,3 @@ borderRadius: { | ||
xl: "var(--scalar-radius-xl)", | ||
px: "1px", | ||
full: "9999px", | ||
@@ -17,4 +18,7 @@ none: "0px" | ||
DEFAULT: "var(--scalar-border-width)", | ||
0: "0", | ||
"1/2": "calc(var(--scalar-border-width) / 2)", | ||
0: "0" | ||
1: "var(--scalar-border-width)", | ||
2: "calc(var(--scalar-border-width) * 2)", | ||
4: "calc(var(--scalar-border-width) * 4)" | ||
}, | ||
@@ -130,3 +134,4 @@ boxShadow: { | ||
px: "1px", | ||
header: "48px" | ||
header: "48px", | ||
border: "var(--scalar-border-width)" | ||
} | ||
@@ -133,0 +138,0 @@ } |
@@ -18,3 +18,3 @@ { | ||
], | ||
"version": "0.9.58", | ||
"version": "0.9.59", | ||
"engines": { | ||
@@ -21,0 +21,0 @@ "node": ">=18" |
@@ -15,2 +15,3 @@ import type { Config } from 'tailwindcss' | ||
xl: 'var(--scalar-radius-xl)', | ||
px: '1px', | ||
full: '9999px', | ||
@@ -21,4 +22,7 @@ none: '0px', | ||
'DEFAULT': 'var(--scalar-border-width)', | ||
'0': '0', | ||
'1/2': 'calc(var(--scalar-border-width) / 2)', | ||
'0': '0', | ||
'1': 'var(--scalar-border-width)', | ||
'2': 'calc(var(--scalar-border-width) * 2)', | ||
'4': 'calc(var(--scalar-border-width) * 4)', | ||
}, | ||
@@ -138,2 +142,3 @@ boxShadow: { | ||
header: '48px', | ||
border: 'var(--scalar-border-width)', | ||
}, | ||
@@ -140,0 +145,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
204690
5800