[nondet,multifile]prolog:theme_base(?Theme,
?Base)Hook that makes Theme a variation of the theme Base.
If Theme does not define the colours of a class (prolog:console_color/3),
those of Base are used, and so on. The same applies to the
styles of the online help and the theme colours of the development
tools. The theme file of Theme must load the theme file of Base,
e.g.
:- module(prolog_theme_my_dark, []).
:- use_module(library(theme/dark)).
:- multifile prolog:theme/1, prolog:theme_base/2.
prolog:theme(my_dark).
prolog:theme_base(my_dark, dark).
- Extended in 10.1.18 (👉1d4fc09) prolog:theme_base/2 to base a theme on another theme
[hook]prolog:theme_base(?Theme,
?Base)Multifile hook that makes Theme a variation of the theme
Base. Settings that Theme does not define, such as
the console colours of prolog:console_color/3,
are taken from Base and, recursively, from the theme Base
is based on. The theme file of Theme must load the theme file
of Base.
- Extended in 10.1.18 (👉1d4fc09) prolog:theme_base/2 to base a theme on another theme