include-mastodon-feed/config-example.php

62 lines
1.8 KiB
PHP
Raw Normal View History

2022-11-25 21:34:46 +01:00
<?php
/*
* NOTE
*
2022-11-25 21:34:46 +01:00
* None, any, or all constants can be defined in the
* config.local.php file to override default settings
*
* default settings apply if file does not exist
*/
/*
* DEFAULT SETTINGS
*/
2022-11-25 21:34:46 +01:00
// enable/discable JavaScript console debug output
define('INCLUDE_MASTODON_FEED_DEBUG', false);
2022-11-25 21:34:46 +01:00
// set a default instance
// can still be overriden in shortcode
// plugin will show a warning if no default is set and instance is omitted in shortcode
//define('INCLUDE_MASTODON_FEED_DEFAULT_INSTANCE', 'example.org');
2022-11-25 21:34:46 +01:00
/*
* DEFAULT STYLES
*/
2022-11-25 21:34:46 +01:00
// define background color in light mode
// (light mode default)
define('INCLUDE_MASTODON_FEED_STYLE_BG_LIGHT_COLOR', 'rgba(100, 100, 100, 0.15)');
2022-11-25 21:34:46 +01:00
// define background color in dark mode
// (dark mode can be set in shortcode)
define('INCLUDE_MASTODON_FEED_STYLE_BG_DARK_COLOR', 'rgba(155, 155, 155, 0.15)');
2022-11-25 21:34:46 +01:00
// main accent color
// (highlighting - button backgrounds and link colors)
define('INCLUDE_MASTODON_FEED_STYLE_ACCENT_COLOR', 'rgb(99, 100, 255)');
2022-11-25 21:34:46 +01:00
// font color to use with accent color background
define('INCLUDE_MASTODON_FEED_STYLE_ACCENT_FONT_COLOR', 'rgb(255, 255, 255)');
2022-11-25 21:34:46 +01:00
// general border radius on elements
define('INCLUDE_MASTODON_FEED_STYLE_BORDER_RADIUS', '0.25rem',);
2022-11-25 22:23:46 +01:00
/*
* DEFAULT TEXTS
*/
// default loading text
// can be overridden in shortcode
define('INCLUDE_MASTODON_FEED_TEXT_LOADING', 'Loading Mastodon feed...',);
// default "boosted" indicator
// can be overridden in shortcode
define('INCLUDE_MASTODON_FEED_TEXT_BOOSTED', 'boosted 🚀',);
// default view status on instance link text
// can be overridden in shortcode
define('INCLUDE_MASTODON_FEED_TEXT_VIEW_ON_INSTANCE', 'view on instance',);