Skip to content

Commit

Permalink
Rename template.css (FreshRSS#4644)
Browse files Browse the repository at this point in the history
* Fix conflicts

* Update doc

* Misses

* Update prefix in CSS

Co-authored-by: Alexandre Alapetite <[email protected]>
  • Loading branch information
math-GH and Alkarex committed Nov 15, 2022
1 parent 78c5cf2 commit e3ca4de
Show file tree
Hide file tree
Showing 18 changed files with 210 additions and 210 deletions.
2 changes: 1 addition & 1 deletion app/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ function printStep5() {
<meta name="viewport" content="initial-scale=1.0" />
<script id="jsonVars" type="application/json">{}</script>
<title><?= _t('install.title') ?>: <?= _t('install.step', STEP + 1) ?></title>
<link rel="stylesheet" href="../themes/base-theme/template.css?<?= @filemtime(PUBLIC_PATH . '/themes/base-theme/template.css') ?>" />
<link rel="stylesheet" href="../themes/base-theme/frss.css?<?= @filemtime(PUBLIC_PATH . '/themes/base-theme/frss.css') ?>" />
<link rel="stylesheet" href="../themes/Origine/origine.css?<?= @filemtime(PUBLIC_PATH . '/themes/Origine/origine.css') ?>" />
<meta name="robots" content="noindex,nofollow" />
</head>
Expand Down
4 changes: 2 additions & 2 deletions docs/en/developers/04_Frontend/02_Design.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The easiest way to create a theme is by copying and modifying the base theme (or
- an **icons** folder containing .svg, .ico, and .png files to override existing icons
- a **thumbs** folder containing a file, **original.png** that will be used as the preview for the theme

"_template.css" is normally added to the metadata file as a fallback for missing aspects. The file is taken from the base theme. If submitting a pull request for a theme, please know that [pull request themes must include this file.](https://github.com/FreshRSS/FreshRSS/pull/2938#issuecomment-624085450)
"_frss.css" is normally added to the metadata file as a fallback for missing aspects. The file is taken from the base theme. If submitting a pull request for a theme, please know that [pull request themes must include this file.](https://github.com/FreshRSS/FreshRSS/pull/2938#issuecomment-624085450)

## RTL Support

Expand All @@ -31,7 +31,7 @@ To replace the default icons, add an "icons" folder to your theme’s folder. Us
"author": "Theme author",
"description": "Theme description",
"version": 0.1,
"files": ["_template.css", "file1.css", "file2.css"]
"files": ["_frss.css", "file1.css", "file2.css"]
}
```

Expand Down
2 changes: 1 addition & 1 deletion p/themes/Alternative-Dark/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"author": "Ghost",
"description": "Save my eyes!!!",
"version": 0.1,
"files": ["_template.css", "adark.css"]
"files": ["_frss.css", "adark.css"]
}
2 changes: 1 addition & 1 deletion p/themes/Ansum/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"author": "Thomas Guesnon",
"description": "Thème sablonneux",
"version": 0.1,
"files": ["_template.css", "ansum.css"]
"files": ["_frss.css", "ansum.css"]
}
2 changes: 1 addition & 1 deletion p/themes/BlueLagoon/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"author": "Mister aiR",
"description": "C’est un cocktail (bis)! C’est la version plus fresh de Screwdriver. C’est… c’est… un thème pour l’agrégateur de flux RSS FreshRSS. En toute modestie, ce thème tue du Nyan Cat.",
"version": 1.0,
"files": ["_template.css","BlueLagoon.css"]
"files": ["_frss.css","BlueLagoon.css"]
}
2 changes: 1 addition & 1 deletion p/themes/Dark-pink/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"author": "Miicat_47",
"description": "Nice dawk pink theme. >_< UwU",
"version": 0.1,
"files": ["_template.css", "../Alternative-Dark/adark.css", "pinkdark.css"]
"files": ["_frss.css", "../Alternative-Dark/adark.css", "pinkdark.css"]
}
2 changes: 1 addition & 1 deletion p/themes/Dark/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"author": "AD",
"description": "The dark side of the “Origine” theme",
"version": 0.2,
"files": ["_template.css", "dark.css"]
"files": ["_frss.css", "dark.css"]
}
4 changes: 2 additions & 2 deletions p/themes/Flat/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"author": "Marien Fressinaud",
"description": "Thème plat pour FreshRSS",
"version": 0.2,
"files": ["_template.css", "flat.css"]
}
"files": ["_frss.css", "flat.css"]
}
2 changes: 1 addition & 1 deletion p/themes/Mapco/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"author": "Thomas Guesnon",
"description": "Thème pour FreshRSS",
"version": 0.1,
"files": ["_template.css", "mapco.css"]
"files": ["_frss.css", "mapco.css"]
}
2 changes: 1 addition & 1 deletion p/themes/Nord/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"author": "joelchrono12",
"description": "A simple theme based on Nord's color scheme",
"version": 0.1,
"files": ["_template.css","nord.css"]
"files": ["_frss.css","nord.css"]
}
2 changes: 1 addition & 1 deletion p/themes/Origine-compact/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"author": "Kevin Papst",
"description": "A theme that tries to use the screen size more efficiently, based on Origine",
"version": 0.1,
"files": ["_template.css", "../Origine/origine.css", "origine-compact.css"]
"files": ["_frss.css", "../Origine/origine.css", "origine-compact.css"]
}
2 changes: 1 addition & 1 deletion p/themes/Origine/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"author": "Marien Fressinaud",
"description": "Le thème par défaut pour FreshRSS",
"version": 0.2,
"files": ["_template.css", "origine.css"]
"files": ["_frss.css", "origine.css"]
}
2 changes: 1 addition & 1 deletion p/themes/Pafat/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"author": "Plopoyop",
"description": "Un thème pour FreshRSS",
"version": 0.2,
"files": ["_template.css", "pafat.css"]
"files": ["_frss.css", "pafat.css"]
}
2 changes: 1 addition & 1 deletion p/themes/Screwdriver/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"author": "Mister aiR",
"description": "C’est un cocktail ! C’est chaud mais « fresh » à la fois. Ce thème tue du chaton.",
"version": 1.1,
"files": ["_template.css","screwdriver.css"]
"files": ["_frss.css","screwdriver.css"]
}
2 changes: 1 addition & 1 deletion p/themes/Swage/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"author": "Patrick Crandol",
"description": "A Fresh take on the interface, inspired by the Flat Theme.",
"version": 1.0,
"files": ["_template.css", "swage.css"]
"files": ["_frss.css", "swage.css"]
}
Loading

0 comments on commit e3ca4de

Please sign in to comment.