All checks were successful
Frontend CI / build (push) Successful in 1m6s
### Description - Change the format of color response ```json { "red": 0, "green": 255, "blue": 128, "alpha": 255 } ``` - The relationship between the label's background color and its highlight color is calculated. The method involves first converting the RGB color value to HSL, then decreasing the L (lightness) component, and finally converting it back to RGB. ### Package Changes ```json { "zod": "^4.0.5" } ``` ### Screenshots |Desktop|Mobile| |-|-| ||| ### Reference Resolves #44 ### Checklist - [x] A milestone is set - [x] The related issuse has been linked to this branch Reviewed-on: #64 Co-authored-by: SquidSpirit <squid@squidspirit.com> Co-committed-by: SquidSpirit <squid@squidspirit.com>
22 lines
466 B
TypeScript
22 lines
466 B
TypeScript
import tailwindcss from '@tailwindcss/vite';
|
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig } from 'vite';
|
|
|
|
import { version } from './package.json';
|
|
|
|
export default defineConfig({
|
|
plugins: [tailwindcss(), sveltekit()],
|
|
define: {
|
|
'App.__VERSION__': JSON.stringify(version)
|
|
},
|
|
server: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://127.0.0.1:8080',
|
|
changeOrigin: true,
|
|
rewrite: (path) => path.replace(/^\/api/, '')
|
|
}
|
|
}
|
|
}
|
|
});
|