beamertheme-bruno/src/beamerfontthemeBruno.sty

65 lines
1.3 KiB
TeX

%% Bruno Beamer theme — Version 1.0
%% A lightweight Beamer theme inspired from the Metropolis theme
%%
%% Written in 2017-2019 by:
%% — Rémi Cérès <remiceres@msn.com>
%% — Mattéo Delabre <bonjour@matteodelabre.me>
%%
%% This work is released under the CC0 1.0 Universal license. See the
%% accompanying LICENSE file for details. To the extent possible under
%% law, Rémi Cérès and Mattéo Delabre have waived all copyright and
%% related or neighboring rights to the Bruno Beamer theme. This work
%% is published from France.
\mode<presentation>
\RequirePackage{fontspec}
\setsansfont[
Ligatures=TeX,
BoldFont={* Medium},
]{Fira Sans}
% Title page
\setbeamerfont{title}{
size=\LARGE,
shape=\bfseries
}
\setbeamerfont{subtitle}{
size=\large,
shape=\normalfont
}
\setbeamerfont{author}{
size=\normalsize,
shape=\normalfont
}
\setbeamerfont{details}{
size=\footnotesize,
shape=\normalfont
}
% Slide title
\setbeamerfont{frametitle}{size=\LARGE}
\setbeamerfont{framesubtitle}{
size=\normalsize,
shape=\normalfont\scshape
}
% Blocks
\setbeamerfont{block title}{
size=\normalfont,
shape=\strut
}
\setbeamerfont{blockdef}{
size=\large,
shape=\bfseries
}
% Description
\setbeamerfont{description item}{shape=\bfseries}
\mode<all>