• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Overview
        • UI Themes
          • theme_hook/1
          • theme_base/2
          • Status of theme support
    • Packages
[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).
[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.
ClioPatria (version V3.1.1-59-g7b9a7a3)