Skip to content

Commit 6eb6ee2

Browse files
committed
fix: background color
1 parent 3058f83 commit 6eb6ee2

File tree

8 files changed

+35
-30
lines changed

8 files changed

+35
-30
lines changed

packages/nimiq-icons/src/flags/icons.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@
12681268
"body": "<mask id=\"nimiq-flags-zw-hexagon-pbk987\" width=\"32\" height=\"28\" x=\"0\" y=\"2\" maskUnits=\"userSpaceOnUse\" style=\"mask-type:alpha\"><path fill=\"#fff\" d=\"M31.15 14.71 24.707 3.54a2.58 2.58 0 00-2.234-1.29H9.582c-.92 0-1.77.49-2.23 1.29L.907 14.71c-.46.8-.46 1.78 0 2.58l6.445 11.17c.46.8 1.31 1.29 2.23 1.29h12.89c.92 0 1.77-.49 2.23-1.29l6.445-11.17c.464-.8.464-1.78.004-2.58\"/></mask><g fill=\"none\"><g mask=\"url(#nimiq-flags-zw-hexagon-pbk987)\"><path fill=\"#6DA544\" d=\"M1.962 0H32v32H1.962z\"/><path fill=\"#FFDA44\" d=\"M3.613 4.581H32v4.582l-4.069 6.875 4.07 6.875v4.58H3.612z\"/><path fill=\"#D80027\" d=\"M8.25 9.162H32v4.582l-1.687 2.25L32 18.325v4.581H8.25z\"/><path fill=\"#EEE\" d=\"M0 0v32l17.488-16z\"/><path fill=\"#D80027\" d=\"m6.437 11.825 1.032 3.188h3.35l-2.713 1.975 1.038 3.187-2.713-1.969-2.712 1.969 1.037-3.187-2.712-1.976h3.35z\"/><path fill=\"#FFDA44\" d=\"m9.281 16.263-2.7-.957-.212-1.937a1.044 1.044 0 10-2.032.475l-.75.756h1.344c0 1.4-1.044 1.4-1.044 2.794l.575 1.387h3.482l.58-1.387q.086-.198.107-.413c.5-.2.65-.719.65-.719\"/><path fill=\"#333\" d=\"m1.963 0 13.75 13.75H32v4.575H15.638L1.962 32H0l16-16L0 0z\"/><path fill=\"url(#nimiq-flags-zw-hexagon-pbk987)\" d=\"M31.15 14.71 24.707 3.54a2.58 2.58 0 00-2.234-1.29H9.582c-.92 0-1.77.49-2.23 1.29L.907 14.71c-.46.8-.46 1.78 0 2.58l6.445 11.17c.46.8 1.31 1.29 2.23 1.29h12.89c.92 0 1.77-.49 2.23-1.29l6.445-11.17c.464-.8.464-1.78.004-2.58\"/></g><defs><radialGradient id=\"nimiq-flags-zw-hexagon-pbk987\" cx=\"0\" cy=\"0\" r=\"1\" gradientTransform=\"matrix(30.943 0 0 30.9452 23.829 29.395)\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#1D1D1B\" stop-opacity=\".3\"/><stop offset=\"1\" stop-color=\"#E9B213\" stop-opacity=\"0\"/></radialGradient></defs></g>"
12691269
}
12701270
},
1271-
"lastModified": 1757577391,
1271+
"lastModified": 1757668767,
12721272
"width": 32,
12731273
"height": 32
12741274
}

packages/nimiq-icons/src/flags/info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"prefix": "nimiq-flags",
33
"name": "nimiq-flags",
44
"total": 422,
5-
"version": "1.0.0-beta.75",
5+
"version": "1.0.0-beta.76",
66
"author": {
77
"name": "onmax",
88
"url": "https://github.com/onmax"

packages/nimiq-icons/src/flags/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nimiq-flags",
33
"description": "The Nimiq Flags as an iconify icon set.",
44
"version": "1.0.0-beta.76",
5-
"iconSetVersion": "1.0.0-beta.75",
5+
"iconSetVersion": "1.0.0-beta.76",
66
"main": "index.js",
77
"module": "index.mjs",
88
"types": "index.d.ts",

packages/nimiq-icons/src/icons/icons.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,7 @@
15861586
"hidden": true
15871587
}
15881588
},
1589-
"lastModified": 1757577391,
1589+
"lastModified": 1757668767,
15901590
"width": 12,
15911591
"height": 12
15921592
}

packages/nimiq-icons/src/icons/info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"prefix": "nimiq",
33
"name": "nimiq-icons",
44
"total": 84,
5-
"version": "1.0.0-beta.75",
5+
"version": "1.0.0-beta.76",
66
"author": {
77
"name": "onmax",
88
"url": "https://github.com/onmax"

packages/nimiq-icons/src/icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nimiq-icons",
33
"description": "The Nimiq Icons as an iconify icon set.",
44
"version": "1.0.0-beta.76",
5-
"iconSetVersion": "1.0.0-beta.75",
5+
"iconSetVersion": "1.0.0-beta.76",
66
"main": "index.js",
77
"module": "index.mjs",
88
"types": "index.d.ts",

packages/nimiq-vitepress-theme/src/layout/DesktopHeader.vue

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ const moduleCards = computed(() => {
3232
</script>
3333

3434
<template>
35-
<header z-1000 fixed inset-x-0 top-0 mx-16 mt-16 border="1 neutral-400" shadow bg-neutral-0 f-h-xl flex="~ items-center gap-32" f-px-xl f-py-sm rounded-12 transition="[transform,opacity] duration-300 ease-out" :class="{ 'translate-y--120% opacity-0': !isHeaderVisible }">
35+
<header
36+
z-1000 fixed inset-x-0 top-0 mx-16 mt-16 border="1 neutral-400" shadow bg-neutral-0 f-h-xl
37+
flex="~ items-center gap-32" f-px-xl f-py-sm rounded-12 transition="[transform,opacity] duration-300 ease-out"
38+
:class="{ 'translate-y--120% opacity-0': !isHeaderVisible }"
39+
>
3640
<!-- Logo on the left -->
3741
<Logo />
3842

@@ -43,29 +47,29 @@ const moduleCards = computed(() => {
4347

4448
<!-- Modules Dropdown -->
4549
<CollapsibleRoot v-model:open="isModulesDropdownOpen" relative>
46-
<CollapsibleTrigger flex="~ items-center gap-8" f-px-sm f-py-xs f-rounded-xs bg="transparent hocus:neutral-200" transition-colors group>
50+
<CollapsibleTrigger
51+
flex="~ items-center gap-8" f-px-sm f-py-xs f-rounded-xs bg="transparent hocus:neutral-200"
52+
transition-colors group
53+
>
4754
<span f-text-sm font-medium>Modules</span>
48-
<div i-nimiq:chevron-down text-12 transition-transform duration-200 :class="{ 'rotate-180': isModulesDropdownOpen }" />
55+
<div
56+
i-nimiq:chevron-down text-12 transition-transform duration-200
57+
:class="{ 'rotate-180': isModulesDropdownOpen }"
58+
/>
4959
</CollapsibleTrigger>
5060

51-
<CollapsibleContent absolute top-full right-0 min-w-400 max-w-600 bg-neutral-0 border="1 neutral-400" f-rounded-md shadow-lg z-50 un-animate="collapsible" class="modules-dropdown-content" of-clip>
52-
<motion.div
53-
:initial="{ opacity: 0,
54-
y: -10 }" :animate="{ opacity: 1,
55-
y: 0 }" :transition="{ duration: 0.2 }" max-h-60vh of-y-auto f-p-md
56-
>
61+
<CollapsibleContent
62+
absolute top-full right-0 min-w-400 max-w-600 bg-neutral-0 border="1 neutral-400"
63+
f-rounded-md shadow-lg z-50 un-animate="collapsible" class="modules-dropdown-content" of-clip
64+
>
65+
<!-- eslint-disable -->
66+
<motion.div :initial="{ opacity: 0, y: -10 }" :animate="{ opacity: 1, y: 0 }" :transition="{ duration: 0.2 }"
67+
max-h-60vh of-y-auto f-p-md>
5768
<ul v-if="moduleCards.length > 0" grid="~ cols-2 gap-12" class="nq-raw" max-w-full my-0>
58-
<motion.li
59-
v-for="(card, index) in moduleCards" :key="card.title" :initial="{ opacity: 0,
60-
y: 20,
61-
scale: 0.9 }" :animate="{ opacity: 1,
62-
y: 0,
63-
scale: 1 }" :transition="{ duration: 0.3,
64-
delay: index * 0.05,
65-
type: 'spring',
66-
stiffness: 260,
67-
damping: 20 }" col-span-1 mt-0 flex @click="isModulesDropdownOpen = false"
68-
>
69+
<motion.li v-for="(card, index) in moduleCards" :key="card.title"
70+
:initial="{ opacity: 0, y: 20, scale: 0.9 }" :animate="{ opacity: 1, y: 0, scale: 1 }"
71+
:transition="{ duration: 0.3, delay: index * 0.05, type: 'spring', stiffness: 260, damping: 20 }"
72+
col-span-1 mt-0 flex @click="isModulesDropdownOpen = false">
6973
<a :href="card.href" nq-hoverable>
7074
<div :class="[card.icon, card.iconClass]" scale-125 />
7175
<h3 v-if="card.title" f-mt-xs f-text-lg font-medium>
@@ -78,6 +82,7 @@ const moduleCards = computed(() => {
7882
</motion.li>
7983
</ul>
8084
</motion.div>
85+
<!-- eslint-enable -->
8186
</CollapsibleContent>
8287
</CollapsibleRoot>
8388

packages/nimiq-vitepress-theme/src/layout/Layout.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ const isMobileOrTablet = breakpoints.smaller('lg')
3232

3333
<template>
3434
<!-- 404 Not Found Page -->
35-
<NotFound v-if="is404" />
35+
<NotFound v-if="is404" bg-neutral-1100 />
3636

3737
<!-- Home Page -->
38-
<div v-else-if="isHome" data-layout="home" min-h-screen>
38+
<div v-else-if="isHome" data-layout="home" min-h-screen bg-neutral-1100>
3939
<template v-if="isMobileOrTablet">
4040
<Content />
4141
<MobileNav fixed bottom-0 />
@@ -47,12 +47,12 @@ const isMobileOrTablet = breakpoints.smaller('lg')
4747
</div>
4848

4949
<!-- Overview Pages -->
50-
<div v-else-if="isOverview" id="viewport" data-layout="overview" min-h-screen>
50+
<div v-else-if="isOverview" id="viewport" data-layout="overview" min-h-screen bg-neutral-1100>
5151
<OverviewContent />
5252
</div>
5353

5454
<!-- Documentation Pages (default) -->
55-
<div v-else id="viewport" flex relative var:nq-sidebar-width:100vw md:var:nq-sidebar-width:288px data-layout="docs">
55+
<div v-else id="viewport" flex relative var:nq-sidebar-width:100vw md:var:nq-sidebar-width:288px data-layout="docs" bg-neutral-1100>
5656
<!-- TODO Add skip -->
5757
<div v-if="!isMobileOrTablet" flex w-full>
5858
<div shrink-0 relative w="$nq-sidebar-width">

0 commit comments

Comments
 (0)