Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atualiza ícone do tema padrão #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Changelog
2.0a5 (unreleased)
^^^^^^^^^^^^^^^^^^

- Atualiza ícone do tema padrão.
[rodfersou]

- Revisa view de Galleria de Fotos.
[rodfersou]

Expand Down
Binary file modified src/brasil/gov/temas/jbot/OFS.standard.favicon.ico
Binary file not shown.
Binary file modified webpack/app/favicons/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added webpack/app/favicons/android-chrome-384x384.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed webpack/app/favicons/android-chrome-512x512.png
Binary file not shown.
Binary file modified webpack/app/favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified webpack/app/favicons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified webpack/app/favicons/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified webpack/app/favicons/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 14 additions & 13 deletions webpack/app/favicons/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions webpack/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
<link rel="apple-touch-icon" sizes="180x180" href="<%= htmlWebpackPlugin.options.publicPath %>favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="<%= htmlWebpackPlugin.options.publicPath %>favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="<%= htmlWebpackPlugin.options.publicPath %>favicons/favicon-16x16.png">
<link rel="manifest" href="<%= htmlWebpackPlugin.options.publicPath %>favicons/manifest.json">
<link rel="mask-icon" href="<%= htmlWebpackPlugin.options.publicPath %>favicons/safari-pinned-tab.svg" color="#00a300">
<link rel="manifest" href="<%= htmlWebpackPlugin.options.publicPath %>favicons/site.webmanifest">
<link rel="mask-icon" href="<%= htmlWebpackPlugin.options.publicPath %>favicons/safari-pinned-tab.svg" color="#ffc40d">
<meta name="msapplication-TileColor" content="#ffc40d">
<meta name="msapplication-config" content="<%= htmlWebpackPlugin.options.publicPath %>favicons/browserconfig.xml">
<meta name="theme-color" content="#00a300">
<meta name="theme-color" content="#ffc40d">
</head>
<body>
<p class="hiddenStructure">
Expand Down
2 changes: 1 addition & 1 deletion webpack/app/padrao/favicons/browserconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<msapplication>
<tile>
<square150x150logo src="++theme++padrao/favicons/mstile-150x150.png"/>
<TileColor>#00a300</TileColor>
<TileColor>#ffc40d</TileColor>
</tile>
</msapplication>
</browserconfig>
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "++theme++padrao/favicons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "++theme++padrao/favicons/android-chrome-512x512.png",
"sizes": "512x512",
"src": "++theme++padrao/favicons/android-chrome-384x384.png",
"sizes": "384x384",
"type": "image/png"
}
],
"theme_color": "#00a300",
"background_color": "#00a300",
"theme_color": "#ffc40d",
"background_color": "#ffc40d",
"display": "standalone"
}
4 changes: 2 additions & 2 deletions webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ let createTheme = (theme) => {
new CopyWebpackPlugin([
{ from: 'app/rules.xml', to: 'rules.xml' },
{ from: 'app/favicons/android-chrome-192x192.png', to: 'favicons/android-chrome-192x192.png' },
{ from: 'app/favicons/android-chrome-512x512.png', to: 'favicons/android-chrome-512x512.png' },
{ from: 'app/favicons/android-chrome-384x384.png', to: 'favicons/android-chrome-384x384.png' },
{ from: 'app/favicons/apple-touch-icon.png', to: 'favicons/apple-touch-icon.png' },
{ from: 'app/favicons/favicon-16x16.png', to: 'favicons/favicon-16x16.png' },
{ from: 'app/favicons/favicon-32x32.png', to: 'favicons/favicon-32x32.png' },
{ from: 'app/favicons/mstile-150x150.png', to: 'favicons/mstile-150x150.png' },
{ from: 'app/favicons/safari-pinned-tab.svg', to: 'favicons/safari-pinned-tab.svg' },
{ from: `app/${theme}/favicons/browserconfig.xml`, to: 'favicons/browserconfig.xml' },
{ from: `app/${theme}/favicons/manifest.json`, to: 'favicons/manifest.json' },
{ from: `app/${theme}/favicons/site.webmanifest`, to: 'favicons/site.webmanifest' },
{ from: `app/${theme}/manifest.cfg`, to: 'manifest.cfg' },
], {
}),
Expand Down