How to use the @uifabric/fluent-theme.FontSizes.size20 function in @uifabric/fluent-theme

To help you get started, we’ve selected a few @uifabric/fluent-theme examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / BotFramework-Composer / Composer / packages / client / src / components / DialogWrapper / styles.ts View on Github external
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { FontWeights } from 'office-ui-fabric-react/lib/Styling';
import { FontSizes } from '@uifabric/fluent-theme';
import { IDialogContentStyles } from 'office-ui-fabric-react/lib/Dialog';
import { IModalStyles } from 'office-ui-fabric-react/lib/Modal';

export const styles: { dialog: Partial; modal: Partial } = {
  dialog: {
    title: {
      fontWeight: FontWeights.bold,
      fontSize: FontSizes.size20,
      paddingTop: '14px',
      paddingBottom: '11px',
    },
    subText: {
      fontSize: FontSizes.size14,
    },
  },
  modal: {
    main: {
      maxWidth: '416px !important',
    },
  },
};
github microsoft / BotFramework-Composer / Composer / packages / client / src / CreationFlow / StepWizard / styles.js View on Github external
import { FontWeights } from 'office-ui-fabric-react/lib/Styling';
import { FontSizes } from '@uifabric/fluent-theme';

export const styles = {
  dialog: {
    title: {
      fontWeight: FontWeights.bold,
      fontSize: FontSizes.size20,
      paddingTop: '14px',
      paddingBottom: '11px',
    },
    subText: {
      fontSize: FontSizes.size14,
    },
  },
  modal: {
    main: {
      // maxWidth: '416px !important',
      maxWidth: '80% !important',
      width: '960px !important',
    },
  },
  halfstack: {
    root: [
github microsoft / BotFramework-Composer / Composer / packages / extensions / obiformeditor / src / Form / fields / RootField.tsx View on Github external
return designerName || dialogName || sdkOverrides.title || title || schema.title || startCase(name);
  };

  const getDescription = (): string => {
    return sdkOverrides.description || description || schema.description || '';
  };

  return (
    <div id="{props.id}">
      <div>
        
        {sdkOverrides.description !== false &amp;&amp; (description || schema.description) &amp;&amp; (
          <p>
            {getDescription()}
            {sdkOverrides.helpLink &amp;&amp; sdkOverrides.helpLinkText &amp;&amp; (
              &lt;&gt;
                <br>
                <br>
                <a rel="noopener noreferrer" href="{sdkOverrides.helpLink}">
                  {sdkOverrides.helpLinkText}
                </a>
              
            )}
          </p>
        )}
      </div></div>
github OfficeDev / office-ui-fabric-react / packages / example-app-base / src / components / Markdown / MarkdownHeader.tsx View on Github external
{
          fontSize: FontSizes.size32,
          marginBottom: '28px'
        }
      ],

      props.as === 'h2' && [
        {
          fontSize: FontSizes.size24,
          marginBottom: '20px'
        }
      ],

      props.as === 'h3' && [
        {
          fontSize: FontSizes.size20,
          marginBottom: '8px'
        }
      ],
      className
    ]
  };
};
github microsoft / BotFramework-Composer / Composer / packages / client / src / components / ProjectTree / styles.ts View on Github external
visibility: visible;
    }
  }
`;

export const addButton = (depth: number) => css`
  margin-left: ${depth * 16}px;
  font-size: 12px;
  color: #0078d4;
`;

export const styles = {
  dialog: {
    title: {
      fontWeight: FontWeights.bold,
      fontSize: FontSizes.size20,
      paddingTop: '14px',
      paddingBottom: '11px',
    },
    subText: {
      fontSize: FontSizes.size14,
    },
  },
  modal: {
    main: {
      maxWidth: '600px !important',
    },
  },
};

export const dropdownStyles = {
  label: {
github microsoft / BotFramework-Composer / Composer / packages / client / src / pages / setting / deployment / styles.js View on Github external
{
        flexBasis: '50%',
      },
    ],
  },
  stackinput: {
    root: [
      {
        marginBottom: '1rem',
      },
    ],
  },
  dialog: {
    title: {
      fontWeight: FontWeights.bold,
      fontSize: FontSizes.size20,
      paddingTop: '14px',
      paddingBottom: '11px',
    },
    subText: {
      fontSize: FontSizes.size14,
    },
  },
  modal: {
    main: {
      maxWidth: '80% !important',
      width: '960px !important',
    },
  },
  input: {
    subComponentStyles: {
      label: {