Atlantica

Atlantica

  • Atlantica Design
  • API React Native
  • Help

›Componentes

Atlantica Design

  • Introdução
  • Princípios de Design
  • Glossário

Arquitetura

  • Molecules e Atoms
  • Tokens & Props
  • Nomeando Tokens

Componentes

    Atoms

    • Avatar Base
    • Button Toggle Base
    • Button Base
    • Divider Base
    • Icon Button Base
    • Icon Base
    • Image Base
    • Text Input Base
    • Label Base
    • Switch Base

    Molecules

    • ActionListCard
    • Avatar Editor
    • Button
    • ATLCardList
    • Checkbox
    • ATLChips
    • Comment List Preview
    • Comment
    • Cover
    • DateTimePicker
    • ATLDialog
    • ATLDivider
    • Double Button
    • Dropdown
    • Event Cell
    • Event Title
    • Floating Action Button (FAB)
    • Horizontal User List
    • Icon Label
    • ATLIconizedText
    • Image Logo
    • ImagePicker
    • Label Button
    • List Divider
    • ATLNavigationButton
    • Notification
    • Post
    • SearchBox
    • SettingsItem
    • Single Image
    • ATLSpacing
    • StatusListCard
    • ATLSummary
    • SurveyPost
    • ATLSwitchButton
    • ATLTextBody
    • ATLTextHead
    • TextInput
    • Title
    • UserInfo
    • UserListCard

Checkbox

CBXORIG

Função

Esta molécula foi desenvolvida conter uma ação de seleção binária.

Estrutura Básica

CBXDEFP

Espaçamentos

  1. horizontalMargin, como Margem Lateral
  2. horizontalPadding, como Espaçamento Interno
  3. verticalMargin, como Margens Superior e Inferior.

Átomos

  1. Átomo ButtonToggle, como Caixa de Seleção
  2. Átomo Label, como Texto de Instrução
  3. Átomo Label, como Link

Prop-Token Mapping

Props da Molécula

PropTokenDefault ValueUse
horizontalMarginSpacingMarginal161
horizontalPaddingSpacingMarginal162
verticalMarginSpacingBase83
buttonToggleBaseProps--4
regularLabelBaseProps--5
linkLabelBaseProps--6

regularLabelBaseProps

regularLabelBasePropsTokenDefault Value
fontFamilyFontFamilyBaseundefined
fontSizeFontSizeBody14
fontWeightFontWeightNormalRegular (400)
lineHeightLineHeightBase20
textAlignTextAlignmentBodyLeft
textCaseTextCaseBodyNone
textColorColorDarkNeutral#212121

linkLabelBaseProps

linkLabelBasePropsTokenDefault Value
fontFamilyFontFamilyButtonSF Pro Display / Robot
fontSizeFontSizeButton12
fontWeightFontWeightStrongBold (700)
lineHeightLineHeightBase20
textAlignTextAlignmentBodyLeft
textCaseTextCaseButtonUppercase
textColorColorPrimary#A94CC9
opacityOpacityDisabled0.3

buttonToggleBaseProps

buttonToggleBasePropsTokenDefault Value
sizefixed24
tintColorColorPrimary#A94CC9

Conteúdo

  • Text: texto que deve ser adicionado ao lado do ícone de checkbox. Pode ser dividido em textos e links, sendo que a diferença é que o link pode ser pressionado.

Variação Complementary

CBXCOMP

CBXTC

Versão da molécula para aplicação em fundo ColorPrimary. Alteram-se os seguintes tokens:

regularLabelBasePropsTokenDefault Value
textColorColorDarkNeutral ⇒ ColorComplementary#FFFFFF
linkLabelBasePropsTokenDefault Value
textColorColorPrimary ⇒ ColorComplementary#FFFFFF
buttonToggleBasePropsTokenDefault Value
tintColorColorPrimary ⇒ ColorComplementary#FFFFFF

Responsividade

Conteúdo

CBXCONT

Caso o conteúdo do Texto de Instrução ultrapasse a largura da Linha, este se quebra em mais de uma, empurrando a Margem Inferior.

Tamanho da Tela

CBXRESP

Quando se reduz o tamanho da tela, a área lateral do Texto de Instrução diminui, e se necessário, quebra a linha. As Margens Lateriais, Espaçamento Interno e Caixa de Seleção mantêm sua largura.

← ATLCardListATLChips →
  • Função
  • Estrutura Básica
    • Espaçamentos
    • Átomos
    • Prop-Token Mapping
  • Conteúdo
  • Variação Complementary
  • Responsividade
    • Conteúdo
    • Tamanho da Tela
Atlantica
Docs
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHubStar
Facebook Open Source
Copyright © 2019 Your Name or Your Company Name