theme: prepare for Prettier config #947

This commit is contained in:
Sören Weber 2024-11-15 23:36:19 +01:00
parent 28fce6b04c
commit 57defcfab7
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
7 changed files with 19 additions and 20 deletions

View file

@ -1,3 +1,4 @@
{{- $assetBusting := partialCached "assetbusting.gotmpl" . -}} /* prettier-ignore {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
@import "{{ printf "%s-%s.css%s" .prefix .light $assetBusting }}" screen and (prefers-color-scheme: light); @import '{{ printf "%s-%s.css%s" .prefix .light $assetBusting }}' screen and (prefers-color-scheme: light);
@import "{{ printf "%s-%s.css%s" .prefix .dark $assetBusting }}" screen and (prefers-color-scheme: dark); /* prettier-ignore */
@import '{{ printf "%s-%s.css%s" .prefix .dark $assetBusting }}' screen and (prefers-color-scheme: dark);

View file

@ -1,6 +1,7 @@
{{- $assetBusting := partialCached "assetbusting.gotmpl" . -}} /* prettier-ignore {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
@import "{{ printf "theme-%s.css%s" .themevariant.identifier $assetBusting }}"; @import '{{ printf "theme-%s.css%s" .themevariant.identifier $assetBusting }}';
@import "{{ printf "chroma-%s.css%s" .themevariant.chroma $assetBusting }}"; /* prettier-ignore */
@import '{{ printf "chroma-%s.css%s" .themevariant.chroma $assetBusting }}';
#R-sidebar { #R-sidebar {
display: none; display: none;

View file

@ -1,2 +1,2 @@
{{- $assetBusting := partialCached "assetbusting.gotmpl" . -}} /* prettier-ignore {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
@import "{{ printf "format-print.css%s" $assetBusting }}"; @import '{{ printf "format-print.css%s" $assetBusting }}';

View file

@ -1,8 +1,8 @@
{{- $assetBusting := partialCached "assetbusting.gotmpl" . -}} /* styles to make Swagger-UI fit into our theme */
/* Styles to make Swagger-UI fit into our theme */ /* prettier-ignore {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
@import '{{ printf "fonts.css%s" $assetBusting }}';
@import "{{ printf "fonts.css%s" $assetBusting }}"; /* prettier-ignore */
@import "{{ printf "variables.css%s" $assetBusting }}"; @import '{{ printf "variables.css%s" $assetBusting }}';
body{ body{
line-height: 1.574; line-height: 1.574;

View file

@ -311,5 +311,3 @@ above will not apply, so we have to repeat it here */
--ps-thumb-color: rgba( 208, 208, 208, 1 ); --ps-thumb-color: rgba( 208, 208, 208, 1 );
--ps-thumb-hover-color: rgba( 204, 204, 204, 1 ); --ps-thumb-hover-color: rgba( 204, 204, 204, 1 );
} }
}

View file

@ -1,4 +1,3 @@
{{- $assetBusting := partialCached "assetbusting.gotmpl" . -}} /* this file is here for compatiblity with older installations; use theme-relearn-light instead */
/* this file is here for compatiblity with older installations /* prettier-ignore {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
use theme-relearn-light instead */ @import '{{ printf "theme-relearn-light.css%s" $assetBusting }}';
@import "{{ printf "theme-relearn-light.css%s" $assetBusting }}";

View file

@ -1 +1 @@
7.1.1 7.1.1+28fce6b04c414523280c53ee02f9f3a94d9d23da