Skip to content

Commit

Permalink
docs - update dark mode colors
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMellerin committed Nov 12, 2024
1 parent 76d84e3 commit 410c2a8
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 55 deletions.
41 changes: 6 additions & 35 deletions docs/.vitepress/theme/DbToolsBundleHomeImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,42 +30,22 @@
<g id="DbToolsBundleLogoLight" transform="matrix(1.1556 0 0 1.1556 -16.036 34.872)">
<path
d="m104.74 77.464c-9.3289 0-16.637 4.2633-16.637 9.705v16.637c0 5.4417 7.3082 9.705 16.637 9.705 9.3289 0 16.637-4.2633 16.637-9.705v-16.637c0-5.4417-7.3082-9.705-16.637-9.705z"
fill="#fff" stroke="#fff" stroke-width=".68789" />
style="fill:var(--vp-c-bg);stroke:var(--vp-c-bg);" stroke-width=".68789" />
<path
d="m119.99 87.169c0 4.5943-6.8282 8.3186-15.251 8.3186-8.4226 0-15.251-3.7243-15.251-8.3186s6.8282-8.3186 15.251-8.3186c8.4226 0 15.251 3.7243 15.251 8.3186z"
fill="#561fa8" opacity=".2" stroke-width=".08444" />
style="fill:var(--vp-c-brand);" opacity=".2" stroke-width=".08444" />
<path
d="m104.74 77.464c-9.3289 0-16.637 4.2633-16.637 9.705v16.637c0 5.4417 7.3082 9.705 16.637 9.705 9.3289 0 16.637-4.2633 16.637-9.705v-16.637c0-5.4417-7.3082-9.705-16.637-9.705zm13.864 18.024c0 1.6672-1.3656 3.3673-3.7451 4.6653-2.6793 1.461-6.2736 2.2668-10.119 2.2668s-7.4399-0.80587-10.119-2.2668c-2.3795-1.298-3.7451-2.9982-3.7451-4.6653v-2.8838c2.9566 2.5996 8.0118 4.2702 13.864 4.2702 5.8525 0 10.908-1.6776 13.864-4.2702zm-23.984-12.984c2.6793-1.461 6.2736-2.2668 10.119-2.2668s7.4399 0.80586 10.119 2.2668c2.3795 1.298 3.7451 2.9982 3.7451 4.6653 0 1.6672-1.3656 3.3673-3.7451 4.6653-2.6793 1.461-6.2736 2.2668-10.119 2.2668s-7.4399-0.80586-10.119-2.2668c-2.3795-1.298-3.7451-2.9982-3.7451-4.6653 0-1.6672 1.3656-3.3673 3.7451-4.6653zm20.238 25.968c-2.6793 1.461-6.2736 2.2668-10.119 2.2668s-7.4399-0.80586-10.119-2.2668c-2.3795-1.298-3.7451-2.9982-3.7451-4.6653v-2.8838c2.9566 2.5996 8.0118 4.2702 13.864 4.2702 5.8525 0 10.908-1.6776 13.864-4.2702v2.8838c0 1.6672-1.3656 3.3673-3.7451 4.6653z"
fill="#561fa8" stroke-width=".68789" />
style="fill:var(--vp-c-brand);" stroke-width=".68789" />
<path
d="m130.09 105.43c-0.17697-0.4374-0.73662-0.56293-1.0835-0.24302l-3.4006 3.1382-1.4539-0.31221-0.31221-1.4539 3.1381-3.4006c0.31991-0.34683 0.19438-0.90648-0.24302-1.0835-3.9944-1.6158-8.3546 1.3245-8.3538 5.6333-1e-3 0.84017 0.17127 1.6715 0.50629 2.442l-5.0806 4.3929c-0.0127 0.0101-0.0245 0.0219-0.0363 0.0329-1.0546 1.0546-1.0546 2.7645 0 3.8191 1.0546 1.0546 2.7645 1.0546 3.8191 0 0.011-0.011 0.0228-0.0236 0.0329-0.0354l4.392-5.0823c4.0172 1.7634 8.5219-1.182 8.5175-5.5692 1e-3 -0.78088-0.14885-1.5546-0.44216-2.2783z"
fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width=".68792" />
style="fill:var(--vp-c-bg);stroke:var(--vp-c-bg);" stroke-linecap="round" stroke-linejoin="round" stroke-width=".68792" />
<path
d="m129.85 107.71a5.4004 5.4004 0 0 1-8.0112 4.7254l-4.7304 5.4848a2.0287 2.0287 0 0 1-2.869-2.869l5.4848-4.7304a5.4004 5.4004 0 0 1 6.7505-7.6188l-3.3753 3.6579 0.4776 2.2226 2.2226 0.4776 3.6579-3.3753a5.3835 5.3835 0 0 1 0.39238 2.0252z"
fill="#561fa8" opacity=".2" stroke-width=".084381" />
style="fill:var(--vp-c-brand);" opacity=".2" stroke-width=".084381" />
<path
d="m130.09 105.43a0.67505 0.67505 0 0 0-1.0835-0.24302l-3.4006 3.1382-1.4539-0.31221-0.31221-1.4539 3.1381-3.4006a0.67505 0.67505 0 0 0-0.24302-1.0835 6.0755 6.0755 0 0 0-8.3538 5.6333 6.1042 6.1042 0 0 0 0.50629 2.442l-5.0806 4.3929c-0.0127 0.0101-0.0245 0.0219-0.0363 0.0329a2.7005 2.7005 0 0 0 3.8191 3.8191c0.011-0.011 0.0228-0.0236 0.0329-0.0354l4.392-5.0823a6.0755 6.0755 0 0 0 8.5175-5.5692 6.0383 6.0383 0 0 0-0.44216-2.2783zm-5.6333 7.0037a4.7372 4.7372 0 0 1-2.2842-0.59068 0.67505 0.67505 0 0 0-0.83706 0.14936l-4.7169 5.4629a1.3501 1.3501 0 0 1-1.9087-1.9087l5.4586-4.7161a0.67505 0.67505 0 0 0 0.14936-0.83791 4.7254 4.7254 0 0 1 4.9245-6.9454l-2.6327 2.8529a0.67505 0.67505 0 0 0-0.1637 0.59911l0.4776 2.2218a0.67505 0.67505 0 0 0 0.5181 0.5181l2.2235 0.4776a0.67505 0.67505 0 0 0 0.5991-0.1637l2.8529-2.6327a4.7304 4.7304 0 0 1-4.6604 5.5135z"
fill="#561fa8" stroke-width=".08444" />
</g>
<g id="DbToolsBundleLogoDark" transform="matrix(1.1556 0 0 1.1556 -16.036 34.872)">
<path
d="m104.74 77.464c-9.3289 0-16.637 4.2633-16.637 9.705v16.637c0 5.4417 7.3082 9.705 16.637 9.705 9.3289 0 16.637-4.2633 16.637-9.705v-16.637c0-5.4417-7.3082-9.705-16.637-9.705z"
fill="#1E1E20" stroke="#1E1E20" stroke-width=".68789" />
<path
d="m119.99 87.169c0 4.5943-6.8282 8.3186-15.251 8.3186-8.4226 0-15.251-3.7243-15.251-8.3186s6.8282-8.3186 15.251-8.3186c8.4226 0 15.251 3.7243 15.251 8.3186z"
fill="#D0DD2A" opacity=".2" stroke-width=".08444" />
<path
d="m104.74 77.464c-9.3289 0-16.637 4.2633-16.637 9.705v16.637c0 5.4417 7.3082 9.705 16.637 9.705 9.3289 0 16.637-4.2633 16.637-9.705v-16.637c0-5.4417-7.3082-9.705-16.637-9.705zm13.864 18.024c0 1.6672-1.3656 3.3673-3.7451 4.6653-2.6793 1.461-6.2736 2.2668-10.119 2.2668s-7.4399-0.80587-10.119-2.2668c-2.3795-1.298-3.7451-2.9982-3.7451-4.6653v-2.8838c2.9566 2.5996 8.0118 4.2702 13.864 4.2702 5.8525 0 10.908-1.6776 13.864-4.2702zm-23.984-12.984c2.6793-1.461 6.2736-2.2668 10.119-2.2668s7.4399 0.80586 10.119 2.2668c2.3795 1.298 3.7451 2.9982 3.7451 4.6653 0 1.6672-1.3656 3.3673-3.7451 4.6653-2.6793 1.461-6.2736 2.2668-10.119 2.2668s-7.4399-0.80586-10.119-2.2668c-2.3795-1.298-3.7451-2.9982-3.7451-4.6653 0-1.6672 1.3656-3.3673 3.7451-4.6653zm20.238 25.968c-2.6793 1.461-6.2736 2.2668-10.119 2.2668s-7.4399-0.80586-10.119-2.2668c-2.3795-1.298-3.7451-2.9982-3.7451-4.6653v-2.8838c2.9566 2.5996 8.0118 4.2702 13.864 4.2702 5.8525 0 10.908-1.6776 13.864-4.2702v2.8838c0 1.6672-1.3656 3.3673-3.7451 4.6653z"
fill="#D0DD2A" stroke-width=".68789" />
<path
d="m130.09 105.43c-0.17697-0.4374-0.73662-0.56293-1.0835-0.24302l-3.4006 3.1382-1.4539-0.31221-0.31221-1.4539 3.1381-3.4006c0.31991-0.34683 0.19438-0.90648-0.24302-1.0835-3.9944-1.6158-8.3546 1.3245-8.3538 5.6333-1e-3 0.84017 0.17127 1.6715 0.50629 2.442l-5.0806 4.3929c-0.0127 0.0101-0.0245 0.0219-0.0363 0.0329-1.0546 1.0546-1.0546 2.7645 0 3.8191 1.0546 1.0546 2.7645 1.0546 3.8191 0 0.011-0.011 0.0228-0.0236 0.0329-0.0354l4.392-5.0823c4.0172 1.7634 8.5219-1.182 8.5175-5.5692 1e-3 -0.78088-0.14885-1.5546-0.44216-2.2783z"
fill="#1E1E20" stroke="#1E1E20" stroke-linecap="round" stroke-linejoin="round" stroke-width=".68792" />
<path
d="m129.85 107.71a5.4004 5.4004 0 0 1-8.0112 4.7254l-4.7304 5.4848a2.0287 2.0287 0 0 1-2.869-2.869l5.4848-4.7304a5.4004 5.4004 0 0 1 6.7505-7.6188l-3.3753 3.6579 0.4776 2.2226 2.2226 0.4776 3.6579-3.3753a5.3835 5.3835 0 0 1 0.39238 2.0252z"
fill="#D0DD2A" opacity=".2" stroke-width=".084381" />
<path
d="m130.09 105.43a0.67505 0.67505 0 0 0-1.0835-0.24302l-3.4006 3.1382-1.4539-0.31221-0.31221-1.4539 3.1381-3.4006a0.67505 0.67505 0 0 0-0.24302-1.0835 6.0755 6.0755 0 0 0-8.3538 5.6333 6.1042 6.1042 0 0 0 0.50629 2.442l-5.0806 4.3929c-0.0127 0.0101-0.0245 0.0219-0.0363 0.0329a2.7005 2.7005 0 0 0 3.8191 3.8191c0.011-0.011 0.0228-0.0236 0.0329-0.0354l4.392-5.0823a6.0755 6.0755 0 0 0 8.5175-5.5692 6.0383 6.0383 0 0 0-0.44216-2.2783zm-5.6333 7.0037a4.7372 4.7372 0 0 1-2.2842-0.59068 0.67505 0.67505 0 0 0-0.83706 0.14936l-4.7169 5.4629a1.3501 1.3501 0 0 1-1.9087-1.9087l5.4586-4.7161a0.67505 0.67505 0 0 0 0.14936-0.83791 4.7254 4.7254 0 0 1 4.9245-6.9454l-2.6327 2.8529a0.67505 0.67505 0 0 0-0.1637 0.59911l0.4776 2.2218a0.67505 0.67505 0 0 0 0.5181 0.5181l2.2235 0.4776a0.67505 0.67505 0 0 0 0.5991-0.1637l2.8529-2.6327a4.7304 4.7304 0 0 1-4.6604 5.5135z"
fill="#D0DD2A" stroke-width=".08444" />
style="fill:var(--vp-c-brand);" stroke-width=".08444" />
</g>
<g class="floating">
<g id="SymfonyLogo" transform="matrix(.13595 0 0 .13595 116.56 105.2)">
Expand Down Expand Up @@ -131,15 +111,6 @@ svg {
margin-bottom: -4rem;
}
#DbToolsBundleLogoDark {
display: none;
}
.dark #DbToolsBundleLogoLight {
display: none;
}
.dark #DbToolsBundleLogoDark {
display: block;
}
.dark ellipse {
stroke: #DEDED6;
}
Expand Down
18 changes: 9 additions & 9 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
}

.dark {
--vp-c-brand: #bec931;
--vp-c-brand-1: #bec931;
--vp-c-brand-2: #bec931;
--vp-c-green-light: #ced65c;
--vp-c-brand-light: #ced65c;
--vp-c-brand-lighter: #ced65c;
--vp-c-brand-dark: #D0DD2A;
--vp-c-brand-darker: #D0DD2A;
--vp-c-text-code: #bec931;
--vp-c-brand: #50AF55;
--vp-c-brand-1: #50AF55;
--vp-c-brand-2: #50AF55;
--vp-c-green-light: #9fd6a2;
--vp-c-brand-light: #9fd6a2;
--vp-c-brand-lighter: #e4f4e4;
--vp-c-brand-dark: #2e6731;
--vp-c-brand-darker: #234426;
--vp-c-text-code: #50AF55;
--vp-makina-logo-text: white;
}

Expand Down
2 changes: 1 addition & 1 deletion docs/content/anonymization/workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ production data on your local environment.

Let's assume the environment we have besides *production* is the *preprod* environment.

![The GDPR workflow](/public/gdpr-workflow.gif)
![The GDPR workflow](/gdpr-workflow.gif)

1. Run `console db-tools:backup` on *production* environment or
choose an existing backup with `console db-tools:restore --list`,
Expand Down
2 changes: 1 addition & 1 deletion docs/content/public/anonymize-d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/content/public/database-d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/content/public/export-d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/content/public/gdpr-d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/content/public/import-d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions docs/content/public/logo-d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/content/public/stats-d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 410c2a8

Please sign in to comment.