Area with code styles Област с примером программного кода (<code>) в разных темах оформления (светлая/темная тема). 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 mongooseSchemacollectionschemanametyperequireddescriptiontypetimestampscollectionschemacollection , { } 'untitled' = 'Design'| = Schema({ : { : String, : true }, : { : String } }, {: true}) untitled.model(, , ) importfromexport constconstnewexport default // Imports // Collection name // Schema // Model npm yarn bun // These will be inverted in dark mode. colors2550100200300400500600700800900950 const { current: "currentColor", transparent: "transparent", white: "rgb(var(--colors-white) / <alpha-value>)", black: "rgb(var(--colors-black) / <alpha-value>)", "alpha-white": "rgb(var(--colors-alpha-white) / <alpha-value>)", "alpha-black": "rgb(var(--colors-alpha-black) / <alpha-value>)", brand: { : "rgb(var(--colors-brand-25) / <alpha-value>)", : "rgb(var(--colors-brand-50) / <alpha-value>)", : "rgb(var(--colors-brand-100) / <alpha-value>)", : "rgb(var(--colors-brand-200) / <alpha-value>)", : "rgb(var(--colors-brand-300) / <alpha-value>)", : "rgb(var(--colors-brand-400) / <alpha-value>)", : "rgb(var(--colors-brand-500) / <alpha-value>)", : "rgb(var(--colors-brand-600) / <alpha-value>)", : "rgb(var(--colors-brand-700) / <alpha-value>)", : "rgb(var(--colors-brand-800) / <alpha-value>)", : "rgb(var(--colors-brand-900) / <alpha-value>)", : "rgb(var(--colors-brand-950) / <alpha-value>)", } export= Show more // These will be inverted in dark mode. colors2550100200300400500600700800900950 const { current: "currentColor", transparent: "transparent", white: "rgb(var(--colors-white) / <alpha-value>)", black: "rgb(var(--colors-black) / <alpha-value>)", "alpha-white": "rgb(var(--colors-alpha-white) / <alpha-value>)", "alpha-black": "rgb(var(--colors-alpha-black) / <alpha-value>)", brand: { : "rgb(var(--colors-brand-25) / <alpha-value>)", : "rgb(var(--colors-brand-50) / <alpha-value>)", : "rgb(var(--colors-brand-100) / <alpha-value>)", : "rgb(var(--colors-brand-200) / <alpha-value>)", : "rgb(var(--colors-brand-300) / <alpha-value>)", : "rgb(var(--colors-brand-400) / <alpha-value>)", : "rgb(var(--colors-brand-500) / <alpha-value>)", : "rgb(var(--colors-brand-600) / <alpha-value>)", : "rgb(var(--colors-brand-700) / <alpha-value>)", : "rgb(var(--colors-brand-800) / <alpha-value>)", : "rgb(var(--colors-brand-900) / <alpha-value>)", : "rgb(var(--colors-brand-950) / <alpha-value>)", } export= Show more 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 mongooseSchemacollectionschemanametyperequireddescriptiontypetimestampscollectionschemacollection , { } 'untitled' = 'Design'| = Schema({ : { : String, : true }, : { : String } }, {: true}) untitled.model(, , ) importfromexport constconstnewexport default // Imports // Collection name // Schema // Model npm yarn bun // These will be inverted in dark mode. colors2550100200300400500600700800900950 const { current: "currentColor", transparent: "transparent", white: "rgb(var(--colors-white) / <alpha-value>)", black: "rgb(var(--colors-black) / <alpha-value>)", "alpha-white": "rgb(var(--colors-alpha-white) / <alpha-value>)", "alpha-black": "rgb(var(--colors-alpha-black) / <alpha-value>)", brand: { : "rgb(var(--colors-brand-25) / <alpha-value>)", : "rgb(var(--colors-brand-50) / <alpha-value>)", : "rgb(var(--colors-brand-100) / <alpha-value>)", : "rgb(var(--colors-brand-200) / <alpha-value>)", : "rgb(var(--colors-brand-300) / <alpha-value>)", : "rgb(var(--colors-brand-400) / <alpha-value>)", : "rgb(var(--colors-brand-500) / <alpha-value>)", : "rgb(var(--colors-brand-600) / <alpha-value>)", : "rgb(var(--colors-brand-700) / <alpha-value>)", : "rgb(var(--colors-brand-800) / <alpha-value>)", : "rgb(var(--colors-brand-900) / <alpha-value>)", : "rgb(var(--colors-brand-950) / <alpha-value>)", } export= Show more // These will be inverted in dark mode. colors2550100200300400500600700800900950 const { current: "currentColor", transparent: "transparent", white: "rgb(var(--colors-white) / <alpha-value>)", black: "rgb(var(--colors-black) / <alpha-value>)", "alpha-white": "rgb(var(--colors-alpha-white) / <alpha-value>)", "alpha-black": "rgb(var(--colors-alpha-black) / <alpha-value>)", brand: { : "rgb(var(--colors-brand-25) / <alpha-value>)", : "rgb(var(--colors-brand-50) / <alpha-value>)", : "rgb(var(--colors-brand-100) / <alpha-value>)", : "rgb(var(--colors-brand-200) / <alpha-value>)", : "rgb(var(--colors-brand-300) / <alpha-value>)", : "rgb(var(--colors-brand-400) / <alpha-value>)", : "rgb(var(--colors-brand-500) / <alpha-value>)", : "rgb(var(--colors-brand-600) / <alpha-value>)", : "rgb(var(--colors-brand-700) / <alpha-value>)", : "rgb(var(--colors-brand-800) / <alpha-value>)", : "rgb(var(--colors-brand-900) / <alpha-value>)", : "rgb(var(--colors-brand-950) / <alpha-value>)", } export= Show more