Theme files
This commit is contained in:
parent
b66ba613d2
commit
aa6b99d950
9 changed files with 658 additions and 0 deletions
24
app/javascript/styles/chinwag.scss
Normal file
24
app/javascript/styles/chinwag.scss
Normal file
|
@ -0,0 +1,24 @@
|
|||
@import 'mastodon/mixins';
|
||||
@import 'chinwag/variables';
|
||||
@import 'fonts/roboto';
|
||||
@import 'fonts/roboto-mono';
|
||||
@import 'fonts/montserrat';
|
||||
|
||||
@import 'mastodon/reset';
|
||||
@import 'mastodon/basics';
|
||||
@import 'mastodon/containers';
|
||||
@import 'mastodon/lists';
|
||||
@import 'mastodon/footer';
|
||||
@import 'mastodon/compact_header';
|
||||
@import 'mastodon/landing_strip';
|
||||
@import 'mastodon/forms';
|
||||
@import 'mastodon/accounts';
|
||||
@import 'mastodon/stream_entries';
|
||||
@import 'mastodon/components';
|
||||
@import 'mastodon/emoji_picker';
|
||||
@import 'mastodon/about';
|
||||
@import 'mastodon/tables';
|
||||
@import 'mastodon/admin';
|
||||
@import 'mastodon/rtl';
|
||||
|
||||
@import 'chinwag/overrides';
|
152
app/javascript/styles/chinwag/overrides.scss
Normal file
152
app/javascript/styles/chinwag/overrides.scss
Normal file
File diff suppressed because one or more lines are too long
42
app/javascript/styles/chinwag/variables.scss
Normal file
42
app/javascript/styles/chinwag/variables.scss
Normal file
|
@ -0,0 +1,42 @@
|
|||
// Commonly used web colors
|
||||
$black: #000; // Black
|
||||
$white: #fff; // White
|
||||
$success-green: #79bd9a; // Padua
|
||||
$error-red: #df405a; // Cerise
|
||||
$warning-red: #ff5050; // Sunset Orange
|
||||
$gold-star: #ca8f04; // Dark Goldenrod
|
||||
|
||||
// Values from the classic Mastodon UI
|
||||
$classic-base-color: #949494; //#282c37; // Midnight Express
|
||||
$classic-primary-color: #282c37; //9baec8; // Echo Blue
|
||||
$classic-secondary-color: #204c03; //d9e1e8; // Pattens Blue
|
||||
$classic-highlight-color: #397313; // Summer Sky
|
||||
|
||||
// Variables for defaults in UI
|
||||
$base-shadow-color: $black !default;
|
||||
$base-overlay-background: $black !default;
|
||||
$base-border-color: $white !default;
|
||||
$simple-background-color: $white !default;
|
||||
$primary-text-color: $black !default;
|
||||
$valid-value-color: $success-green !default;
|
||||
$error-value-color: $error-red !default;
|
||||
|
||||
// Tell UI to use selected colors
|
||||
$ui-base-color: $classic-base-color !default; // Darkest
|
||||
$ui-base-lighter-color: darken($ui-base-color, 36%) !default; // Lighter darkest
|
||||
$ui-primary-color: $classic-primary-color !default; // Lighter
|
||||
$ui-secondary-color: $classic-secondary-color !default; // Lightest
|
||||
$ui-highlight-color: $classic-highlight-color !default; // Vibrant
|
||||
|
||||
// Buttons colors
|
||||
$status-buttons-base-color: $ui-primary-color;
|
||||
$status-buttons-active-color: $classic-highlight-color;
|
||||
$status-buttons-disabled-color: rgba($status-buttons-base-color, .4);
|
||||
|
||||
// Spoilers - Show More button
|
||||
$status-spoilers-background: $classic-primary-color;
|
||||
$status-spoilers-text: $white;
|
||||
$status-spoilers-active-background: $classic-highlight-color;
|
||||
|
||||
// Language codes that uses CJK fonts
|
||||
$cjk-langs: ja, ko, zh-CN, zh-HK, zh-TW;
|
24
app/javascript/styles/chinwag_light.scss
Normal file
24
app/javascript/styles/chinwag_light.scss
Normal file
|
@ -0,0 +1,24 @@
|
|||
@import 'mastodon/mixins';
|
||||
@import 'chinwag_light/variables';
|
||||
@import 'fonts/roboto';
|
||||
@import 'fonts/roboto-mono';
|
||||
@import 'fonts/montserrat';
|
||||
|
||||
@import 'mastodon/reset';
|
||||
@import 'mastodon/basics';
|
||||
@import 'mastodon/containers';
|
||||
@import 'mastodon/lists';
|
||||
@import 'mastodon/footer';
|
||||
@import 'mastodon/compact_header';
|
||||
@import 'mastodon/landing_strip';
|
||||
@import 'mastodon/forms';
|
||||
@import 'mastodon/accounts';
|
||||
@import 'mastodon/stream_entries';
|
||||
@import 'mastodon/components';
|
||||
@import 'mastodon/emoji_picker';
|
||||
@import 'mastodon/about';
|
||||
@import 'mastodon/tables';
|
||||
@import 'mastodon/admin';
|
||||
@import 'mastodon/rtl';
|
||||
|
||||
@import 'chinwag_light/overrides';
|
147
app/javascript/styles/chinwag_light/overrides.scss
Normal file
147
app/javascript/styles/chinwag_light/overrides.scss
Normal file
File diff suppressed because one or more lines are too long
42
app/javascript/styles/chinwag_light/variables.scss
Normal file
42
app/javascript/styles/chinwag_light/variables.scss
Normal file
|
@ -0,0 +1,42 @@
|
|||
// Commonly used web colors
|
||||
$black: #000; // Black
|
||||
$white: #fff; // White
|
||||
$success-green: #79bd9a; // Padua
|
||||
$error-red: #df405a; // Cerise
|
||||
$warning-red: #ff5050; // Sunset Orange
|
||||
$gold-star: #ca8f04; // Dark Goldenrod
|
||||
|
||||
// Values from the classic Mastodon UI
|
||||
$classic-base-color: #9c9c9c; //#282c37; // Midnight Express
|
||||
$classic-primary-color: #282c37; //9baec8; // Echo Blue
|
||||
$classic-secondary-color: #204c03; //d9e1e8; // Pattens Blue
|
||||
$classic-highlight-color: #397313; // Summer Sky
|
||||
|
||||
// Variables for defaults in UI
|
||||
$base-shadow-color: $black !default;
|
||||
$base-overlay-background: $black !default;
|
||||
$base-border-color: $white !default;
|
||||
$simple-background-color: $white !default;
|
||||
$primary-text-color: $black !default;
|
||||
$valid-value-color: $success-green !default;
|
||||
$error-value-color: $error-red !default;
|
||||
|
||||
// Tell UI to use selected colors
|
||||
$ui-base-color: $classic-base-color !default; // Darkest
|
||||
$ui-base-lighter-color: darken($ui-base-color, 36%) !default; // Lighter darkest
|
||||
$ui-primary-color: $classic-primary-color !default; // Lighter
|
||||
$ui-secondary-color: $classic-secondary-color !default; // Lightest
|
||||
$ui-highlight-color: $classic-highlight-color !default; // Vibrant
|
||||
|
||||
// Buttons colors
|
||||
$status-buttons-base-color: $ui-primary-color;
|
||||
$status-buttons-active-color: $classic-highlight-color;
|
||||
$status-buttons-disabled-color: rgba($status-buttons-base-color, .4);
|
||||
|
||||
// Spoilers - Show More button
|
||||
$status-spoilers-background: $classic-primary-color;
|
||||
$status-spoilers-text: $white;
|
||||
$status-spoilers-active-background: $classic-highlight-color;
|
||||
|
||||
// Language codes that uses CJK fonts
|
||||
$cjk-langs: ja, ko, zh-CN, zh-HK, zh-TW;
|
24
app/javascript/styles/mastodon_light.scss
Normal file
24
app/javascript/styles/mastodon_light.scss
Normal file
|
@ -0,0 +1,24 @@
|
|||
@import 'mastodon/mixins';
|
||||
@import 'mastodon_light/variables';
|
||||
@import 'fonts/roboto';
|
||||
@import 'fonts/roboto-mono';
|
||||
@import 'fonts/montserrat';
|
||||
|
||||
@import 'mastodon/reset';
|
||||
@import 'mastodon/basics';
|
||||
@import 'mastodon/containers';
|
||||
@import 'mastodon/lists';
|
||||
@import 'mastodon/footer';
|
||||
@import 'mastodon/compact_header';
|
||||
@import 'mastodon/landing_strip';
|
||||
@import 'mastodon/forms';
|
||||
@import 'mastodon/accounts';
|
||||
@import 'mastodon/stream_entries';
|
||||
@import 'mastodon/components';
|
||||
@import 'mastodon/emoji_picker';
|
||||
@import 'mastodon/about';
|
||||
@import 'mastodon/tables';
|
||||
@import 'mastodon/admin';
|
||||
@import 'mastodon/rtl';
|
||||
|
||||
@import 'mastodon_light/overrides';
|
161
app/javascript/styles/mastodon_light/overrides.scss
Normal file
161
app/javascript/styles/mastodon_light/overrides.scss
Normal file
File diff suppressed because one or more lines are too long
42
app/javascript/styles/mastodon_light/variables.scss
Normal file
42
app/javascript/styles/mastodon_light/variables.scss
Normal file
|
@ -0,0 +1,42 @@
|
|||
// Commonly used web colors
|
||||
$black: #000; // Black
|
||||
$white: #fff; // White
|
||||
$success-green: #79bd9a; // Padua
|
||||
$error-red: #df405a; // Cerise
|
||||
$warning-red: #ff5050; // Sunset Orange
|
||||
$gold-star: #ca8f04; // Dark Goldenrod
|
||||
|
||||
// Values from the classic Mastodon UI
|
||||
$classic-base-color: #d9e1e8; //#282c37; // Midnight Express
|
||||
$classic-primary-color: #282c37; //9baec8; // Echo Blue
|
||||
$classic-secondary-color: #1368a5; //d9e1e8; // Pattens Blue
|
||||
$classic-highlight-color: #2b90d9; // Summer Sky
|
||||
|
||||
// Variables for defaults in UI
|
||||
$base-shadow-color: $black !default;
|
||||
$base-overlay-background: $black !default;
|
||||
$base-border-color: $white !default;
|
||||
$simple-background-color: $white !default;
|
||||
$primary-text-color: $black !default;
|
||||
$valid-value-color: $success-green !default;
|
||||
$error-value-color: $error-red !default;
|
||||
|
||||
// Tell UI to use selected colors
|
||||
$ui-base-color: $classic-base-color !default; // Darkest
|
||||
$ui-base-lighter-color: darken($ui-base-color, 36%) !default; // Lighter darkest
|
||||
$ui-primary-color: $classic-primary-color !default; // Lighter
|
||||
$ui-secondary-color: $classic-secondary-color !default; // Lightest
|
||||
$ui-highlight-color: $classic-highlight-color !default; // Vibrant
|
||||
|
||||
// Buttons colors
|
||||
$status-buttons-base-color: $ui-primary-color;
|
||||
$status-buttons-active-color: $classic-highlight-color;
|
||||
$status-buttons-disabled-color: rgba($status-buttons-base-color, .4);
|
||||
|
||||
// Spoilers - Show More button
|
||||
$status-spoilers-background: $classic-primary-color;
|
||||
$status-spoilers-text: $white;
|
||||
$status-spoilers-active-background: $classic-highlight-color;
|
||||
|
||||
// Language codes that uses CJK fonts
|
||||
$cjk-langs: ja, ko, zh-CN, zh-HK, zh-TW;
|
Loading…
Reference in a new issue