start theming

This commit is contained in:
taskylizard 2024-03-08 12:58:01 +00:00
parent 04ad6338ff
commit a5c8bef968
No known key found for this signature in database
GPG Key ID: 1820131ED1A24120
3 changed files with 25 additions and 12 deletions

View File

@ -1,9 +1,9 @@
:root {
/* Colors: Brand */
--vp-c-brand-1: #7bc5e4;
--vp-c-brand-2: #c4e2f2;
--vp-c-brand-3: #4882a7;
--vp-c-brand-soft: #a4d5ec;
--vp-c-brand-1: theme('colors.swarm.400');
--vp-c-brand-2: theme('colors.swarm.500');
--vp-c-brand-3: theme('colors.swarm.700');
--vp-c-brand-soft: theme('colors.swarm.300');
/* Colors: Button */
--vp-button-brand-bg: var(--vp-c-brand-1);
@ -57,10 +57,10 @@
--vp-custom-block-info-border: #3686b1;
--vp-custom-block-info-text: #52b0e3;
--vp-custom-block-info-text-deep: #00b7ff;
--vp-custom-block-tip-bg: rgba(51, 130, 118, 0.1);
--vp-custom-block-tip-border: rgba(4, 120, 87, 1);
--vp-custom-block-tip-text: rgb(25, 190, 129);
--vp-custom-block-tip-text-deep: rgba(52, 211, 153, 1);
--vp-custom-block-tip-bg: theme('colors.pastel-green.950');
--vp-custom-block-tip-border: theme('colors.pastel-green.800');
--vp-custom-block-tip-text: theme('colors.pastel-green.200');
--vp-custom-block-tip-text-deep: theme('colors.pastel-green.500');
--vp-custom-block-warning-bg: rgba(253, 224, 71, 0.1);
--vp-custom-block-warning-border: rgba(202, 138, 4, 1);
--vp-custom-block-warning-text: rgba(234, 179, 8, 1);

View File

@ -8,7 +8,13 @@ outline: false
---
### Feedback
**Anonymous comments, taken from reddit, discord, twitter, and our feedback system. This is why we do it. People are the motivation, equality is the goal.**
:::tip What is this?
Anonymous comments, taken from reddit, discord, twitter, and our feedback system. This is why we do it. People are the motivation, equality is the goal.
:::
:::info Balls
nyaboom > explodives
:::
***

View File

@ -1,4 +1,10 @@
import { defineConfig, presetUno, presetAttributify, presetIcons } from 'unocss'
import {
defineConfig,
presetUno,
presetAttributify,
presetIcons,
transformerDirectives
} from 'unocss'
import { colors, shortcuts } from '@fmhy/colors'
export default defineConfig({
@ -7,7 +13,7 @@ export default defineConfig({
},
theme: {
colors: {
colors,
...colors,
primary: 'var(--vp-c-brand-1)',
bg: 'var(--vp-c-bg)',
'bg-alt': 'var(--vp-c-bg-alt)',
@ -28,5 +34,6 @@ export default defineConfig({
'vertical-align': 'middle'
}
})
]
],
transformers: [transformerDirectives()]
})