@riebeckite/theme-rerurate 0.0.32 → 0.0.33

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
@@ -129,19 +129,3 @@ Red and Green also back the functional `danger` / `success` tokens.
129
129
  - [`@riebeckite/theme-sakura`](../sakura/README.md)
130
130
  - [`@riebeckite/theme-tokyonight`](../tokyonight/README.md)
131
131
  - [`@riebeckite/theme-gruvbox`](../gruvbox/README.md)
132
-
133
- ## Documentation site
134
-
135
- A Theme based on Rerurate's visual language.
136
-
137
- ## Installation
138
-
139
- ```bash
140
- npm install @riebeckite/theme-rerurate
141
- ```
142
-
143
- Check the implementation and this canonical page as the source of truth for the Theme's factory name and configuration options. Use it by assigning it to `theme` in `riebeckite.config.ts`.
144
-
145
- ## Detailed specification
146
-
147
- For configuration options and Theme-specific behavior, see this canonical page. For how Themes work, see [Theme System](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/framework/theme-system.md). To create a Theme, see [Writing a Theme](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/themes/writing-a-theme.md).
package/README_ja.md CHANGED
@@ -69,19 +69,3 @@ export default defineConfig({
69
69
  - [`@riebeckite/theme-sakura`](../sakura/README_ja.md)
70
70
  - [`@riebeckite/theme-tokyonight`](../tokyonight/README_ja.md)
71
71
  - [`@riebeckite/theme-gruvbox`](../gruvbox/README_ja.md)
72
-
73
- ## Documentation site
74
-
75
- Rerurate の視覚表現をもとにした Theme です。
76
-
77
- ## 導入
78
-
79
- ```bash
80
- npm install @riebeckite/theme-rerurate
81
- ```
82
-
83
- Theme の factory 名と設定項目は、実装とこのページを一次情報として確認してください。`riebeckite.config.ts` の `theme` に設定して利用します。
84
-
85
- ## 詳細仕様
86
-
87
- 設定項目や Theme 固有の仕様は このページを参照してください。Theme の仕組みは [Theme System](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/framework/theme-system.ja.md)、Theme を作る場合は [Writing a Theme](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/themes/writing-a-theme.ja.md) を参照してください。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/theme-rerurate",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
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.32"
19
+ "@riebeckite/core": "0.0.33"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"
package/styles/theme.css CHANGED
@@ -859,3 +859,148 @@
859
859
  opacity: 1;
860
860
  }
861
861
  }
862
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"] .rb-site-footer {
863
+ position: relative;
864
+ width: min(100% - 2rem, 80rem);
865
+ margin-top: 6rem;
866
+ padding: 0;
867
+ border: 0;
868
+ }
869
+
870
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"] .rb-site-footer::before {
871
+ display: block;
872
+ width: 6rem;
873
+ height: 3px;
874
+ content: "";
875
+ background-image: var(--rr-svg-rule);
876
+ background-repeat: no-repeat;
877
+ background-size: 100% 100%;
878
+ }
879
+
880
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"] .site-footer__main {
881
+ display: grid;
882
+ grid-template-columns: minmax(0, 1fr) auto;
883
+ gap: 3rem;
884
+ padding: 2rem 0 1.5rem;
885
+ border-top: 1px solid var(--rb-color-ink);
886
+ }
887
+
888
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"] .site-footer__project {
889
+ display: inline-block;
890
+ color: var(--rb-color-ink);
891
+ font-family: var(--rb-font-heading);
892
+ font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
893
+ font-weight: 600;
894
+ letter-spacing: -0.035em;
895
+ line-height: 1;
896
+ text-decoration: none;
897
+ }
898
+
899
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"]
900
+ .site-footer__project::first-letter {
901
+ color: var(--rb-color-accent);
902
+ }
903
+
904
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"]
905
+ .site-footer__description {
906
+ max-width: 22rem;
907
+ margin: 0.75rem 0 0;
908
+ color: var(--rb-color-muted);
909
+ font-size: 0.9rem;
910
+ line-height: 1.55;
911
+ }
912
+
913
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"] .site-footer__author {
914
+ display: flex;
915
+ flex-wrap: wrap;
916
+ gap: 0.5rem 1rem;
917
+ margin-top: 1.25rem;
918
+ font-family: var(--rb-font-heading);
919
+ font-size: 0.68rem;
920
+ font-weight: 500;
921
+ letter-spacing: 0.12em;
922
+ line-height: 1.4;
923
+ text-transform: uppercase;
924
+ }
925
+
926
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"]
927
+ .site-footer__author
928
+ span {
929
+ color: var(--rb-color-muted);
930
+ }
931
+
932
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"] .site-footer__author a {
933
+ color: var(--rb-color-ink);
934
+ text-decoration: none;
935
+ }
936
+
937
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"]
938
+ .site-footer__author
939
+ a:hover,
940
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"]
941
+ .site-footer__author
942
+ a:focus-visible {
943
+ color: var(--rb-color-accent);
944
+ }
945
+
946
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"]
947
+ .site-footer__author
948
+ a:focus-visible {
949
+ outline: 2px solid var(--rb-color-accent);
950
+ outline-offset: 2px;
951
+ }
952
+
953
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"]
954
+ .site-footer__navigation {
955
+ align-self: end;
956
+ --rb-nav-list-flex-wrap: wrap;
957
+ --rb-nav-list-justify-content: flex-end;
958
+ --rb-nav-gap: 0;
959
+ --rb-nav-item-display: block;
960
+ --rb-nav-item-padding: 0.5rem 0 0.5rem 1.5rem;
961
+ --rb-nav-item-font-family: var(--rb-font-heading);
962
+ --rb-nav-item-font-size: 0.72rem;
963
+ --rb-nav-item-font-weight: 600;
964
+ --rb-nav-item-letter-spacing: 0.12em;
965
+ --rb-nav-item-text-transform: uppercase;
966
+ }
967
+
968
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"] .site-footer__meta {
969
+ display: flex;
970
+ justify-content: space-between;
971
+ gap: 1rem;
972
+ padding: 1rem 0 2rem;
973
+ border-top: 1px solid var(--rb-color-border);
974
+ color: var(--rb-color-muted);
975
+ font-family: var(--rb-font-heading);
976
+ font-size: 0.68rem;
977
+ font-weight: 500;
978
+ letter-spacing: 0.12em;
979
+ line-height: 1.4;
980
+ text-transform: uppercase;
981
+ }
982
+
983
+ @media (max-width: 48rem) {
984
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"] .rb-site-footer {
985
+ width: calc(100% - 2rem);
986
+ margin-top: 4rem;
987
+ }
988
+
989
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"] .site-footer__main {
990
+ grid-template-columns: 1fr;
991
+ gap: 2rem;
992
+ }
993
+
994
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"]
995
+ .site-footer__navigation {
996
+ align-self: start;
997
+ --rb-nav-list-justify-content: flex-start;
998
+ --rb-nav-item-padding: 0.5rem 1.5rem 0.5rem 0;
999
+ }
1000
+
1001
+ :is(:root, .rb-theme-root)[data-theme-name="rerurate"] .site-footer__meta {
1002
+ flex-direction: column;
1003
+ gap: 0.5rem;
1004
+ padding-bottom: 1.5rem;
1005
+ }
1006
+ }