2024-02-12 19:17:17 +02:00
|
|
|
export default {
|
|
|
|
|
name: 'FunText',
|
|
|
|
|
selector: '/*fun-text*/',
|
|
|
|
|
virtual: true,
|
|
|
|
|
variants: {
|
|
|
|
|
greentext: '.greentext',
|
2026-01-06 16:22:52 +02:00
|
|
|
cyantext: '.cyantext',
|
2024-02-12 19:17:17 +02:00
|
|
|
},
|
|
|
|
|
states: {
|
2026-01-06 16:22:52 +02:00
|
|
|
faint: '.faint',
|
2024-02-12 19:17:17 +02:00
|
|
|
},
|
|
|
|
|
defaultRules: [
|
|
|
|
|
{
|
|
|
|
|
directives: {
|
|
|
|
|
textColor: '--text',
|
2026-01-06 16:22:52 +02:00
|
|
|
textAuto: 'preserve',
|
|
|
|
|
},
|
2024-02-12 19:17:17 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
state: ['faint'],
|
|
|
|
|
directives: {
|
2026-01-06 16:22:52 +02:00
|
|
|
textOpacity: 0.5,
|
|
|
|
|
},
|
2024-02-12 19:17:17 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
variant: 'greentext',
|
|
|
|
|
directives: {
|
|
|
|
|
textColor: '--cGreen',
|
2026-01-06 16:22:52 +02:00
|
|
|
textAuto: 'preserve',
|
|
|
|
|
},
|
2024-02-12 19:17:17 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
variant: 'cyantext',
|
|
|
|
|
directives: {
|
|
|
|
|
textColor: '--cBlue',
|
2026-01-06 16:22:52 +02:00
|
|
|
textAuto: 'preserve',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
],
|
2024-02-12 19:17:17 +02:00
|
|
|
}
|