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" . -}}
@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 {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
@import '{{ printf "%s-%s.css%s" .prefix .light $assetBusting }}' screen and (prefers-color-scheme: light);
/* 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" . -}}
@import "{{ printf "theme-%s.css%s" .themevariant.identifier $assetBusting }}";
@import "{{ printf "chroma-%s.css%s" .themevariant.chroma $assetBusting }}";
/* prettier-ignore {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
@import '{{ printf "theme-%s.css%s" .themevariant.identifier $assetBusting }}';
/* prettier-ignore */
@import '{{ printf "chroma-%s.css%s" .themevariant.chroma $assetBusting }}';
#R-sidebar {
display: none;

View file

@ -1,2 +1,2 @@
{{- $assetBusting := partialCached "assetbusting.gotmpl" . -}}
@import "{{ printf "format-print.css%s" $assetBusting }}";
/* prettier-ignore {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
@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 */
@import "{{ printf "fonts.css%s" $assetBusting }}";
@import "{{ printf "variables.css%s" $assetBusting }}";
/* styles to make Swagger-UI fit into our theme */
/* prettier-ignore {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
@import '{{ printf "fonts.css%s" $assetBusting }}';
/* prettier-ignore */
@import '{{ printf "variables.css%s" $assetBusting }}';
body{
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-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 */
@import "{{ printf "theme-relearn-light.css%s" $assetBusting }}";
/* this file is here for compatiblity with older installations; use theme-relearn-light instead */
/* prettier-ignore {{ $assetBusting := partialCached "assetbusting.gotmpl" . -}} */
@import '{{ printf "theme-relearn-light.css%s" $assetBusting }}';

View file

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