Skip to content

Commit 5205fce

Browse files
author
reco_luan
committed
style(vuepress-theme-reco): remove mode.styl
1 parent 68b44b7 commit 5205fce

File tree

16 files changed

+2
-60
lines changed

16 files changed

+2
-60
lines changed

.cz-config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ module.exports = {
5151

5252
scopes: [
5353
'vuepress-theme-reco',
54+
'core',
5455
'vuepress-plugin-back-to-top',
5556
'vuepress-plugin-comments',
5657
'vuepress-plugin-loading',

packages/vuepress-theme-reco/components/AlgoliaSearchBox.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ export default {
7474
</script>
7575

7676
<style lang="stylus">
77-
@require '../styles/mode.styl'
7877
.algolia-search-wrapper
7978
& > span
8079
vertical-align middle

packages/vuepress-theme-reco/components/DropdownLink.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ export default {
8181
</script>
8282

8383
<style lang="stylus">
84-
@require '../styles/mode.styl'
85-
8684
.dropdown-wrapper
8785
cursor pointer
8886
.dropdown-title

packages/vuepress-theme-reco/components/FriendLink.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ export default {
143143
</script>
144144

145145
<style lang="stylus" scoped>
146-
@require '../styles/mode.styl'
147-
148146
.friend-link-wrapper
149147
position relative
150148
margin 30px 0

packages/vuepress-theme-reco/components/Home.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ export default {
7070
</script>
7171

7272
<style lang="stylus">
73-
@require '../styles/mode.styl'
74-
7573
.home {
7674
padding: $navbarHeight 2rem 0;
7775
max-width: 960px;

packages/vuepress-theme-reco/components/Mode/ModePicker.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ export default {
6161
</script>
6262

6363
<style lang="stylus">
64-
@require '../../styles/mode.styl'
65-
6664
.mode-options
6765
background-color var(--background-color)
6866
min-width: 125px;

packages/vuepress-theme-reco/components/Mode/index.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ export default {
6363
</script>
6464

6565
<style lang="stylus">
66-
@require '../../styles/mode.styl'
67-
6866
.color-picker {
6967
position: relative;
7068
margin-right: 1em;

packages/vuepress-theme-reco/components/Navbar.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ function css (el, property) {
105105
</script>
106106

107107
<style lang="stylus">
108-
@require '../styles/mode.styl'
109-
110108
$navbar-vertical-padding = 0.7rem
111109
$navbar-horizontal-padding = 1.5rem
112110

packages/vuepress-theme-reco/components/NoteAbstractItem.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export default {
2525
</script>
2626

2727
<style lang="stylus" scoped>
28-
@require '../styles/mode.styl'
2928
.abstract-item
3029
position relative
3130
margin: 0 auto 20px;

packages/vuepress-theme-reco/components/Password.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ export default {
118118
</script>
119119

120120
<style lang="stylus" scoped>
121-
@require '../styles/mode.styl'
122-
123121
.password-shadow {
124122
overflow hidden
125123
position relative

0 commit comments

Comments
 (0)