I have had a look at this thread here but that did not help me solve my problem. This post suggests defining another environment so that nothing breaks, but since I am using a style file, it is not helpful.
What I would like to do is to set \setlength{\itemsep}{\fill} for all the itemize environments in my beamer presentation. I would like to achieve this by somehow modifying all the itemize, enumerate and similar environments in the theme file for my presentation.
Thanks for the inputs.
Here's a minimal working example
\documentclass[xcolor=dvipsnames]{beamer}
\mode<presentation>
\usetheme{MyCustomTheme}
\begin{document}
\begin{frame}
\frametitle{No Title}
\begin{itemize}
\setlength{\itemsep}{\fill}
\item item 1
\item item 2
\item item 3
\end{itemize}
\end{frame}
\end{document}
As you can see, I have used the \setlength{\itemsep}{\fill} command in my file. I would like to put the command somewhere in beamerthemeMyCustomTheme.sty so that I can have the effect without having to do it every time, for every presentation that is ever made using this theme.
The contents of beamerthemeMyCustomTheme.sty file presently are:
\mode<presentation>
%Loading essential fonts, changing default encoding to UTF-8 for symbol support
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
%Using a defailt outer theme to begin with
\useoutertheme[subsection=false]{smoothbars}
%Setting default structure
\definecolor{beamer@blendedblue}{RGB}{78,38,131}%
%Changing the colors of hyperlinks
\definecolor{links}{HTML}{2A1B81}
\hypersetup{colorlinks,linkcolor=blue!40!structure,urlcolor=links}
%Specifying colors and shadings for various aspects
\setbeamercolor{headline}{bg=white,fg=structure.fg}
\setbeamercolor{footline}{fg=white,bg=structure.fg!85!black}
\setbeamercolor{author in head/foot}{bg=white,fg=structure.fg!85!black}
\setbeamercolor{title in head/foot}{bg=white,fg=structure.fg!85!black}
\setbeamercolor{frametitle}{bg=white,fg=structure.fg!90}
\setbeamercolor{section in head/foot}{bg=white,fg=structure.fg}
\setbeamercolor{subsection in head/foot}{bg=white,fg=structure.fg}
\setbeamercolor{subtitle}{fg=black}
\setbeamercolor{title}{fg=structure,bg=white}
\mode
<all>

beamerthemeMyCustomTheme.styfile here (or elsewhere (pastebin, for example), and provide a link here, if it is too long)? – Gonzalo Medina May 24 '13 at 00:05\setbeamercolorand\usebeamerfontcommands. I've updated it in the post, however. – ste_kwr May 24 '13 at 05:28