@riebeckite/theme-rerurate 0.0.34 → 0.0.36

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
@@ -8,6 +8,16 @@
8
8
 
9
9
  `@riebeckite/theme-rerurate` provides the official **Rerurate** theme. Its theme identity is `rerurate`. Rerurate's paper-and-ink reading theme with optional celestial details.
10
10
 
11
+ ## Rendered example
12
+
13
+ **Light**
14
+
15
+ ![theme-rerurate-light.png](https://github.com/Rerurate514/riebeckite/blob/main/docs/assets/themes/theme-rerurate-light.png)
16
+
17
+ **Dark**
18
+
19
+ ![theme-rerurate-dark.png](https://github.com/Rerurate514/riebeckite/blob/main/docs/assets/themes/theme-rerurate-dark.png)
20
+
11
21
  ## Installation
12
22
 
13
23
  ```sh
package/README_ja.md CHANGED
@@ -8,6 +8,16 @@
8
8
 
9
9
  `@riebeckite/theme-rerurate` は公式テーマ **Rerurate** を提供します。テーマ ID は `rerurate` です。紙とインクを基調に、天体装飾を任意で加えられる Rerurate のテーマです。
10
10
 
11
+ ## 実際の表示例
12
+
13
+ **ライト**
14
+
15
+ ![theme-rerurate-light.png](https://github.com/Rerurate514/riebeckite/blob/main/docs/assets/themes/theme-rerurate-light.png)
16
+
17
+ **ダーク**
18
+
19
+ ![theme-rerurate-dark.png](https://github.com/Rerurate514/riebeckite/blob/main/docs/assets/themes/theme-rerurate-dark.png)
20
+
11
21
  ## インストール
12
22
 
13
23
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/theme-rerurate",
3
- "version": "0.0.34",
3
+ "version": "0.0.36",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",
@@ -16,7 +16,7 @@
16
16
  "./styles/theme.css": "./styles/theme.css"
17
17
  },
18
18
  "dependencies": {
19
- "@riebeckite/core": "0.0.34"
19
+ "@riebeckite/core": "0.0.36"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"
package/styles/theme.css CHANGED
@@ -1022,50 +1022,95 @@
1022
1022
 
1023
1023
  :is(:root, .rb-theme-root)[data-rb-theme="rerurate"] .rb-article-header {
1024
1024
  background-image:
1025
- var(--rr-cosmic-stars, none),
1026
- var(--rr-cosmic-constellation, none),
1025
+ var(--rr-cosmic-stars, none), var(--rr-cosmic-constellation, none),
1027
1026
  var(--rr-cosmic-orbit, none);
1028
1027
  background-repeat: no-repeat;
1029
- background-position: right 0.25rem top 0.25rem, left 0.5rem bottom 0.25rem,
1028
+ background-position:
1029
+ right 0.25rem top 0.25rem,
1030
+ left 0.5rem bottom 0.25rem,
1030
1031
  center;
1031
- background-size: 9rem 6rem, 11rem 7rem, 13rem 4.5rem;
1032
+ background-size:
1033
+ 9rem 6rem,
1034
+ 11rem 7rem,
1035
+ 13rem 4.5rem;
1032
1036
  }
1033
1037
 
1034
- :is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-stars="true"] {
1038
+ :is(
1039
+ :root,
1040
+ .rb-theme-root
1041
+ )[data-rb-theme="rerurate"][data-rb-setting-stars="true"] {
1035
1042
  --rr-cosmic-stars: var(--rr-svg-stars);
1036
1043
  }
1037
1044
 
1038
- :is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-constellation="true"] {
1045
+ :is(
1046
+ :root,
1047
+ .rb-theme-root
1048
+ )[data-rb-theme="rerurate"][data-rb-setting-constellation="true"] {
1039
1049
  --rr-cosmic-constellation: var(--rr-svg-constellation);
1040
1050
  }
1041
1051
 
1042
- :is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-orbit="true"] {
1052
+ :is(
1053
+ :root,
1054
+ .rb-theme-root
1055
+ )[data-rb-theme="rerurate"][data-rb-setting-orbit="true"] {
1043
1056
  --rr-cosmic-orbit: var(--rr-svg-orbit);
1044
1057
  }
1045
1058
 
1046
- :is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-stars="true"] .rb-article-header,
1047
- :is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-constellation="true"] .rb-article-header,
1048
- :is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-orbit="true"] .rb-article-header {
1059
+ :is(
1060
+ :root,
1061
+ .rb-theme-root
1062
+ )[data-rb-theme="rerurate"][data-rb-setting-stars="true"]
1063
+ .rb-article-header,
1064
+ :is(
1065
+ :root,
1066
+ .rb-theme-root
1067
+ )[data-rb-theme="rerurate"][data-rb-setting-constellation="true"]
1068
+ .rb-article-header,
1069
+ :is(
1070
+ :root,
1071
+ .rb-theme-root
1072
+ )[data-rb-theme="rerurate"][data-rb-setting-orbit="true"]
1073
+ .rb-article-header {
1049
1074
  position: relative;
1050
1075
  }
1051
1076
 
1052
- :is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-stars="true"] .rb-article-content,
1053
- :is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-stars="true"] .rb-page-body {
1077
+ :is(
1078
+ :root,
1079
+ .rb-theme-root
1080
+ )[data-rb-theme="rerurate"][data-rb-setting-stars="true"]
1081
+ .rb-article-content,
1082
+ :is(
1083
+ :root,
1084
+ .rb-theme-root
1085
+ )[data-rb-theme="rerurate"][data-rb-setting-stars="true"]
1086
+ .rb-page-body {
1054
1087
  background-image: var(--rr-svg-stars);
1055
1088
  background-repeat: repeat;
1056
1089
  background-size: 180px 120px;
1057
1090
  background-position: center;
1058
1091
  }
1059
1092
 
1060
- :is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-constellation="true"] .rb-sidebar,
1061
- :is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-constellation="true"] .rr-table-of-contents {
1093
+ :is(
1094
+ :root,
1095
+ .rb-theme-root
1096
+ )[data-rb-theme="rerurate"][data-rb-setting-constellation="true"]
1097
+ .rb-sidebar,
1098
+ :is(
1099
+ :root,
1100
+ .rb-theme-root
1101
+ )[data-rb-theme="rerurate"][data-rb-setting-constellation="true"]
1102
+ .rr-table-of-contents {
1062
1103
  background-image: var(--rr-svg-constellation);
1063
1104
  background-repeat: repeat;
1064
1105
  background-size: 140px 90px;
1065
1106
  background-position: center;
1066
1107
  }
1067
1108
 
1068
- :is(:root, .rb-theme-root)[data-rb-theme="rerurate"][data-rb-setting-orbit="true"] .rb-article-footer {
1109
+ :is(
1110
+ :root,
1111
+ .rb-theme-root
1112
+ )[data-rb-theme="rerurate"][data-rb-setting-orbit="true"]
1113
+ .rb-article-footer {
1069
1114
  background-image: var(--rr-svg-orbit);
1070
1115
  background-repeat: repeat;
1071
1116
  background-size: 160px 60px;
@@ -1092,24 +1137,31 @@
1092
1137
  @media (prefers-reduced-motion: no-preference) {
1093
1138
  :is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
1094
1139
  [data-rb-setting-motion="false"]
1095
- )[data-rb-setting-stars="true"] .rb-article-header,
1140
+ )[data-rb-setting-stars="true"]
1141
+ .rb-article-header,
1096
1142
  :is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
1097
1143
  [data-rb-setting-motion="false"]
1098
- )[data-rb-setting-constellation="true"] .rb-article-header,
1144
+ )[data-rb-setting-constellation="true"]
1145
+ .rb-article-header,
1099
1146
  :is(:root, .rb-theme-root)[data-rb-theme="rerurate"]:not(
1100
1147
  [data-rb-setting-motion="false"]
1101
- )[data-rb-setting-orbit="true"] .rb-article-header {
1148
+ )[data-rb-setting-orbit="true"]
1149
+ .rb-article-header {
1102
1150
  animation: rr-cosmic-drift 28s linear infinite;
1103
1151
  }
1104
1152
  }
1105
1153
 
1106
1154
  @keyframes rr-cosmic-drift {
1107
1155
  from {
1108
- background-position: right 0.25rem top 0.25rem, left 0.5rem bottom 0.25rem,
1156
+ background-position:
1157
+ right 0.25rem top 0.25rem,
1158
+ left 0.5rem bottom 0.25rem,
1109
1159
  center;
1110
1160
  }
1111
1161
  to {
1112
- background-position: right 0.25rem top 1.25rem, left 0.5rem bottom 1.25rem,
1162
+ background-position:
1163
+ right 0.25rem top 1.25rem,
1164
+ left 0.5rem bottom 1.25rem,
1113
1165
  center;
1114
1166
  }
1115
1167
  }