mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 00:37:23 +01:00
20 lines
361 B
C
20 lines
361 B
C
#pragma once
|
|
|
|
#include "fastfetch.h"
|
|
|
|
typedef struct FFTerminalThemeColor
|
|
{
|
|
uint16_t r;
|
|
uint16_t g;
|
|
uint16_t b;
|
|
bool dark;
|
|
} FFTerminalThemeColor;
|
|
|
|
typedef struct FFTerminalThemeResult
|
|
{
|
|
FFTerminalThemeColor fg;
|
|
FFTerminalThemeColor bg;
|
|
} FFTerminalThemeResult;
|
|
|
|
bool ffDetectTerminalTheme(FFTerminalThemeResult* result, bool forceEnv);
|