mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-01-04 06:34:44 +08:00
7b6232a151
* feat(case converter): add uppercase and lowercase * (case converter) correctly use stripRegexp * style: lint fix * feat(ui): added c-select in the ui lib (#550) * feat(ui): added c-select in the ui lib * refactor(ui): switched n-select to c-select * feat(new tool): emoji picker (#551) * chore(deps): update dependency @vitejs/plugin-vue to v4 (#496) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @vitejs/plugin-vue-jsx to v3 (#497) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * refactor(case converter): using nocase to convert to upper and lower case * refactor(case converter): config based case changes --------- Co-authored-by: Corentin THOMASSET <corentin.thomasset74@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
24 lines
710 B
TypeScript
24 lines
710 B
TypeScript
import {
|
|
defineConfig,
|
|
presetAttributify,
|
|
presetTypography,
|
|
presetUno,
|
|
transformerDirectives,
|
|
transformerVariantGroup,
|
|
} from 'unocss';
|
|
|
|
import { presetScrollbar } from 'unocss-preset-scrollbar';
|
|
|
|
export default defineConfig({
|
|
presets: [presetUno(), presetAttributify(), presetTypography(), presetScrollbar()],
|
|
transformers: [transformerDirectives(), transformerVariantGroup()],
|
|
theme: {
|
|
colors: {
|
|
primary: '#1ea54c',
|
|
},
|
|
},
|
|
shortcuts: {
|
|
'pretty-scrollbar': 'scrollbar scrollbar-rounded scrollbar-thumb-color-gray-300 scrollbar-track-color-gray-100 dark:scrollbar-thumb-color-#424242 dark:scrollbar-track-color-#686868',
|
|
'divider': 'h-1px bg-current op-10',
|
|
},
|
|
});
|