Change brand color and logotypes (#18592)
- Add rake task for generating Apple/Android icons and favicons from SVG - Add rake task for generating PNG icons and logos for e-mails from SVG - Remove obsolete Microsoft icons and configuration - Remove PWA shortcut icons
This commit is contained in:
parent
a2871cd747
commit
45aa5781ce
112 changed files with 257 additions and 152 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
@import 'mastodon/reset';
|
||||
@import 'mastodon/basics';
|
||||
@import 'mastodon/branding';
|
||||
@import 'mastodon/containers';
|
||||
@import 'mastodon/lists';
|
||||
@import 'mastodon/footer';
|
||||
|
|
|
@ -688,7 +688,7 @@ $small-breakpoint: 960px;
|
|||
align-items: center;
|
||||
padding: 50px;
|
||||
|
||||
svg {
|
||||
.logo {
|
||||
fill: $primary-text-color;
|
||||
height: 52px;
|
||||
}
|
||||
|
|
3
app/javascript/styles/mastodon/branding.scss
Normal file
3
app/javascript/styles/mastodon/branding.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
.logo {
|
||||
color: $primary-text-color;
|
||||
}
|
|
@ -2538,7 +2538,6 @@ a.account__display-name {
|
|||
padding: 40px;
|
||||
|
||||
.logo {
|
||||
fill: $primary-text-color;
|
||||
width: 50px;
|
||||
margin: 0 auto;
|
||||
margin-bottom: 40px;
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
svg {
|
||||
fill: $primary-text-color;
|
||||
.logo {
|
||||
height: 42px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
@ -320,7 +319,7 @@
|
|||
display: block;
|
||||
padding: 15px;
|
||||
|
||||
svg {
|
||||
.logo {
|
||||
display: block;
|
||||
height: 18px;
|
||||
width: auto;
|
||||
|
|
|
@ -132,19 +132,19 @@
|
|||
}
|
||||
|
||||
.brand {
|
||||
svg {
|
||||
.logo {
|
||||
display: block;
|
||||
height: 36px;
|
||||
width: auto;
|
||||
margin: 0 auto;
|
||||
fill: lighten($ui-base-color, 34%);
|
||||
color: lighten($ui-base-color, 34%);
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
svg {
|
||||
fill: lighten($ui-base-color, 38%);
|
||||
.logo {
|
||||
color: lighten($ui-base-color, 38%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ $red-bookmark: $warning-red;
|
|||
$classic-base-color: #282c37; // Midnight Express
|
||||
$classic-primary-color: #9baec8; // Echo Blue
|
||||
$classic-secondary-color: #d9e1e8; // Pattens Blue
|
||||
$classic-highlight-color: #2b90d9; // Summer Sky
|
||||
$classic-highlight-color: #6364ff; // Brand purple
|
||||
|
||||
// Variables for defaults in UI
|
||||
$base-shadow-color: $black !default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue