slidev-theme-the-unnamed 0.0.5 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,6 +22,7 @@ The theme currently has the following layouts:
22
22
 
23
23
  - `default`
24
24
  - `cover`
25
+ - `center`
25
26
  - `section`
26
27
  - `about-me`
27
28
  - and the ones from Slidev itself
@@ -65,6 +66,10 @@ social3:
65
66
 
66
67
  ![](/assets/center.png)
67
68
 
69
+ ### Section
70
+
71
+ ![](/assets/section.png)
72
+
68
73
  ### Default
69
74
 
70
75
  ![](/assets/default.png)
package/changelog.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.7] - 2023-02-06
4
+
5
+ - [#1](https://github.com/estruyf/slidev-theme-the-unnamed/pull/1): Fix css comments by [liaobinbin](https://github.com/liaobinbin)
6
+
7
+ ## [0.0.6] - 2023-02-02
8
+
9
+ - Documentation update
10
+
3
11
  ## [0.0.5] - 2023-02-02
4
12
 
5
13
  - Better css variable names for theming
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slidev-theme-the-unnamed",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "keywords": [
5
5
  "slidev-theme",
6
6
  "slidev"
package/styles/layout.css CHANGED
@@ -1,42 +1,42 @@
1
1
  :root {
2
- // default theme color
3
- // can be overrided by uses `themeConfig` option
4
- --slidev-theme-primary: #161C2C;
2
+ /* default theme color */
3
+ /* can be overrided by uses `themeConfig` option */
4
+ --slidev-theme-primary: #161c2c;
5
5
 
6
6
  /* Custom colors*/
7
- --slidev-theme-color: #F3EFF5;
8
- --slidev-theme-background: #161C2C;
7
+ --slidev-theme-color: #f3eff5;
8
+ --slidev-theme-background: #161c2c;
9
9
 
10
- // Code colors
11
- --slidev-theme-code-background: #0F131E;
10
+ /* Code colors */
11
+ --slidev-theme-code-background: #0f131e;
12
12
  --slidev-theme-code-border: #242d34;
13
13
 
14
- // Accent colors
14
+ /* Accent colors */
15
15
  --slidev-theme-accents-rose: #f141a8;
16
- --slidev-theme-accents-teal: #44FFD2;
17
- --slidev-theme-accents-yellow: #FFE45E;
18
- --slidev-theme-accents-red: #FE4A49;
19
- --slidev-theme-accents-lightblue: #15C2CB;
20
- --slidev-theme-accents-blue: #5EADF2;
21
- --slidev-theme-accents-vulcan: #0E131F;
22
-
23
- // Default
16
+ --slidev-theme-accents-teal: #44ffd2;
17
+ --slidev-theme-accents-yellow: #ffe45e;
18
+ --slidev-theme-accents-red: #fe4a49;
19
+ --slidev-theme-accents-lightblue: #15c2cb;
20
+ --slidev-theme-accents-blue: #5eadf2;
21
+ --slidev-theme-accents-vulcan: #0e131f;
22
+
23
+ /* Default */
24
24
  --slidev-theme-default-headingBg: var(--slidev-theme-accents-yellow);
25
25
  --slidev-theme-default-headingColor: var(--slidev-theme-accents-vulcan);
26
26
 
27
- // Center
27
+ /* Center */
28
28
  --slidev-theme-center-headingBg: var(--slidev-theme-accents-blue);
29
29
  --slidev-theme-center-headingColor: var(--slidev-theme-accents-vulcan);
30
30
 
31
- // Cover
31
+ /* Cover */
32
32
  --slidev-theme-cover-headingBg: var(--slidev-theme-accents-teal);
33
33
  --slidev-theme-cover-headingColor: var(--slidev-theme-accents-vulcan);
34
34
 
35
- // Section
35
+ /* Section */
36
36
  --slidev-theme-section-headingBg: var(--slidev-theme-accents-lightblue);
37
37
  --slidev-theme-section-headingColor: var(--slidev-theme-accents-vulcan);
38
38
 
39
- // About me
39
+ /* About me */
40
40
  --slidev-theme-aboutme-bg: var(--slidev-theme-color);
41
41
  --slidev-theme-aboutme-color: var(--slidev-theme-background);
42
42
  --slidev-theme-aboutme-helloBg: var(--slidev-theme-accents-yellow);
@@ -44,14 +44,14 @@
44
44
  --slidev-theme-aboutme-nameColor: var(--slidev-theme-accents-red);
45
45
  }
46
46
 
47
- /* The unnamed styles */
47
+ /* The unnamed styles */
48
48
  .dark #slide-content,
49
49
  .dark .bg-main {
50
50
  background: var(--slidev-theme-background);
51
51
  color: var(--slidev-theme-color);
52
52
  }
53
53
 
54
- // General layout styles
54
+ /* General layout styles */
55
55
  .slidev-layout {
56
56
  h1 + p {
57
57
  opacity: 1;
@@ -62,7 +62,7 @@
62
62
  align-items: center;
63
63
  background: var(--slidev-theme-code-background);
64
64
  color: var(--slidev-theme-color);
65
- border-color: #F141A8;
65
+ border-color: #f141a8;
66
66
  border-left-width: 3px;
67
67
  font-size: 1.1em;
68
68
  }
@@ -100,13 +100,13 @@
100
100
  @apply mt-4;
101
101
  }
102
102
 
103
- p + h2,
104
- ul + h2,
105
- table + h2,
106
- p + blockquote,
107
- h2 + blockquote,
108
- h3 + blockquote,
109
- h4 + blockquote,
103
+ p + h2,
104
+ ul + h2,
105
+ table + h2,
106
+ p + blockquote,
107
+ h2 + blockquote,
108
+ h3 + blockquote,
109
+ h4 + blockquote,
110
110
  h5 + blockquote {
111
111
  @apply mt-8;
112
112
  }
@@ -159,8 +159,7 @@
159
159
  }
160
160
  }
161
161
 
162
-
163
- // Default
162
+ /* Default */
164
163
  .slidev-layout.default,
165
164
  .slidev-layout[layout="default"] {
166
165
  h1 {
@@ -172,11 +171,10 @@
172
171
  }
173
172
  }
174
173
 
175
- // Cover
174
+ /* Cover */
176
175
  .slidev-layout.cover {
177
-
178
176
  &::before {
179
- background: rgba(15, 19, 30, 0.40);
177
+ background: rgba(15, 19, 30, 0.4);
180
178
  content: " ";
181
179
  position: absolute;
182
180
  top: 0;
@@ -201,7 +199,7 @@
201
199
 
202
200
  h1 {
203
201
  color: var(--slidev-theme-cover-headingColor);
204
- padding: .25em .5em;
202
+ padding: 0.25em 0.5em;
205
203
  margin: 0;
206
204
 
207
205
  &::before {
@@ -220,8 +218,8 @@
220
218
  }
221
219
 
222
220
  h2 {
223
- margin: .5em 0 0;
224
- padding-left: .5em;
221
+ margin: 0.5em 0 0;
222
+ padding-left: 0.5em;
225
223
  }
226
224
 
227
225
  code {
@@ -230,7 +228,7 @@
230
228
  }
231
229
  }
232
230
 
233
- // Section
231
+ /* Section */
234
232
  .slidev-layout.section {
235
233
  display: flex;
236
234
  flex-direction: column;
@@ -264,7 +262,7 @@
264
262
  }
265
263
  }
266
264
 
267
- // Center
265
+ /* Center */
268
266
  .slidev-layout.center {
269
267
  h1 {
270
268
  width: fit-content;
@@ -279,8 +277,6 @@
279
277
  background: transparent !important;
280
278
  }
281
279
  }
282
-
283
-
284
280
  }
285
281
 
286
282
  /* About me slide */
@@ -307,4 +303,4 @@
307
303
  p {
308
304
  margin-bottom: 0;
309
305
  }
310
- }
306
+ }