<?xml version="1.0" encoding="UTF-8"?>

<!--
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
-->

<tobago-config
    xmlns="http://myfaces.apache.org/tobago/tobago-config"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://myfaces.apache.org/tobago/tobago-config http://myfaces.apache.org/tobago/tobago-config-5.1.xsd"
    version="5.1">

  <name>tobago-theme-standard</name>

  <ordering>
    <after>
      <name>tobago-core</name>
    </after>
  </ordering>

  <theme-definitions>
    <theme-definition>
      <name>standard</name>
      <display-name>Standard Theme</display-name>
      <version>${project.version}</version>
      <resources production="true">
        <includes>
          <script name="/tobago/standard/${project.version}/js/faces.js"/>
          <script type="module" name="/tobago/standard/${project.version}/js/tobago.js"/>
          <style name="/tobago/standard/${project.version}/css/tobago.min.css"/>
          <style name="/tobago/standard/${project.version}/css/bootstrap-icons.css"/>
        </includes>
      </resources>
      <resources production="false">
        <includes>
          <script name="/tobago/standard/${project.version}/js/faces.js"/>
          <script type="module" name="/tobago/standard/${project.version}/js/tobago.js"/>
          <style name="/tobago/standard/${project.version}/css/tobago.css"/>
          <style name="/tobago/standard/${project.version}/css/bootstrap-icons.css"/>
        </includes>
      </resources>
      <tags>
        <tag name="date">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="file">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="in">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="out">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="popup">
          <attribute name="modal" default="false"/>
        </tag>
        <tag name="range">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="selectBooleanCheckbox">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="selectBooleanToggle">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="selectManyCheckbox">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="selectManyList">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="selectManyListbox">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="selectManyShuttle">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="selectOneChoice">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="selectOneList">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="selectOneListbox">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="selectOneRadio">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="stars">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
        <tag name="textarea">
          <attribute name="labelLayout" default="flexLeft"/>
          <attribute name="messagePosition" default="buttonRight"/>
          <attribute name="helpPosition" default="buttonRight"/>
        </tag>
      </tags>
    </theme-definition>
  </theme-definitions>
</tobago-config>
