Skip to content

Commit 6bfb4d8

Browse files
committed
chore: update theme
1 parent bb220b8 commit 6bfb4d8

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

.vitepress/theme/nativescript-theme/index.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6715,7 +6715,7 @@ var _hoisted_14$1 = /*#__PURE__*/ createVNode(
67156715
)
67166716

67176717
var _hoisted_15$1 = /*#__PURE__*/ createStaticVNode(
6718-
'<input aria-hidden="true" id="search" name="search" disabled class="block w-full py-2 pl-10 pr-3 leading-5 bg-white border border-transparent rounded-md placeholder-blue-50 text-blue-50 bg-opacity-20 focus:outline-none focus:bg-white focus:ring-0 focus:placeholder-gray-400 focus:text-gray-900 sm:text-sm" placeholder="Search Anything" type="search"><div class="absolute inset-y-0 right-0 items-center hidden pr-3 pointer-events-none xl:flex"><div class="px-2 py-1 text-xs text-white bg-white border border-white border-opacity-50 rounded bg-opacity-30"><span class="sr-only">Press Ctrl+K to open quick search</span><span aria-hidden="true">Ctrl K</span></div></div>',
6718+
'<input aria-hidden="true" id="search" name="search" disabled class="\n block\n w-full\n py-2\n pl-10\n pr-3\n leading-5\n bg-white\n border border-transparent\n rounded-md\n placeholder-blue-50\n text-blue-50\n bg-opacity-20\n focus:outline-none focus:bg-white focus:ring-0 focus:placeholder-gray-400 focus:text-gray-900\n sm:text-sm\n " placeholder="Search Anything" type="search"><div class="absolute inset-y-0 right-0 items-center hidden pr-3 pointer-events-none xl:flex"><div class="px-2 py-1 text-xs text-white bg-white border border-white border-opacity-50 rounded bg-opacity-30"><span class="sr-only">Press Ctrl+K to open quick search</span><span aria-hidden="true">Ctrl K</span></div></div>',
67196719
2
67206720
)
67216721

@@ -6887,7 +6887,7 @@ var _hoisted_23 = /*#__PURE__*/ createVNode(
68876887
target: '_blank',
68886888
rel: 'noopener noreferrer',
68896889
class:
6890-
'inline-flex items-center justify-center p-2 text-gray-900 transition-colors rounded-md hover:text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-transparent',
6890+
'\n inline-flex\n items-center\n justify-center\n p-2\n text-gray-900\n transition-colors\n rounded-md\n hover:text-white\n focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-transparent\n ',
68916891
'aria-expanded': 'false',
68926892
},
68936893
[
@@ -7101,7 +7101,7 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
71017101
}),
71027102
type: 'button',
71037103
class:
7104-
'inline-flex items-center justify-center p-2 text-gray-900 bg-white rounded-md hover:bg-gray-800 hover:text-white focus:outline-none focus:ring-2 focus-ring-inset focus:ring-white',
7104+
'\n inline-flex\n items-center\n justify-center\n p-2\n text-gray-900\n bg-white\n rounded-md\n hover:bg-gray-800 hover:text-white\n focus:outline-none focus:ring-2 focus-ring-inset focus:ring-white\n ',
71057105
'aria-expanded': 'false',
71067106
},
71077107
[_hoisted_8$2, _hoisted_9$2]
@@ -7173,7 +7173,7 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
71737173
['prevent']
71747174
)),
71757175
class: [
7176-
'relative z-20 inline-flex items-center justify-center p-2 transition-colors rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-transparent',
7176+
'\n relative\n z-20\n inline-flex\n items-center\n justify-center\n p-2\n transition-colors\n rounded-md\n focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-transparent\n ',
71777177
{
71787178
'bg-white text-gray-900': _ctx.flyoutMenuOpen,
71797179
'text-white hover:text-gray-900': !_ctx.flyoutMenuOpen,
@@ -7279,7 +7279,7 @@ function render$a(_ctx, _cache, $props, $setup, $data, $options) {
72797279
}),
72807280
type: 'button',
72817281
class:
7282-
'inline-flex items-center justify-center p-2 text-gray-400 bg-white rounded-md hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-600',
7282+
'\n inline-flex\n items-center\n justify-center\n p-2\n text-gray-400\n bg-white\n rounded-md\n hover:bg-gray-100\n focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-600\n ',
72837283
},
72847284
[_hoisted_28, _hoisted_29]
72857285
),
@@ -8467,9 +8467,9 @@ var script$4 = defineComponent({
84678467
},
84688468
})
84698469

8470-
var _withId = /*#__PURE__*/ withScopeId('data-v-2dcc8330')
8470+
var _withId = /*#__PURE__*/ withScopeId('data-v-4c604f93')
84718471

8472-
pushScopeId('data-v-2dcc8330')
8472+
pushScopeId('data-v-4c604f93')
84738473

84748474
var _hoisted_1$4 = /*#__PURE__*/ createVNode(
84758475
'div',
@@ -8562,7 +8562,7 @@ var render$4 = /*#__PURE__*/ _withId(function (
85628562
})
85638563

85648564
script$4.render = render$4
8565-
script$4.__scopeId = 'data-v-2dcc8330'
8565+
script$4.__scopeId = 'data-v-4c604f93'
85668566

85678567
var script$3 = defineComponent({
85688568
setup: function setup() {},

.vitepress/theme/nativescript-theme/styles.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3624,7 +3624,12 @@ svg.DocSearch-Hit-Select-Icon {
36243624
--docsearch-container-background: rgba(15, 23, 42, 0.2);
36253625
}
36263626

3627-
.sidebar-link.active[data-v-2dcc8330] {
3627+
/* offset any elements with an id by the header height */
3628+
[id] {
3629+
scroll-margin-top: 88px;
3630+
}
3631+
3632+
.sidebar-link.active[data-v-4c604f93] {
36283633
font-weight: 700;
36293634
--tw-text-opacity: 1;
36303635
color: rgba(30, 41, 59, var(--tw-text-opacity));

0 commit comments

Comments
 (0)