Skip to content

You can now style various components individually (only circle working)#1

Open
scroobius-pip wants to merge 1 commit into
nickbullll:masterfrom
scroobius-pip:master
Open

You can now style various components individually (only circle working)#1
scroobius-pip wants to merge 1 commit into
nickbullll:masterfrom
scroobius-pip:master

Conversation

@scroobius-pip

Copy link
Copy Markdown
<Progress
    theme={{
      active: {
         color: '#083D77',
         outlineColor: '#EBEBD3'
      },
      default: {
        color: styles.colors.white
      }
    }}
    width={200}
    style={{
            circle: {
              'font-family': 'Lato',
              'color': '083D77',
              boxShadow: '0 5px 30px rgba(0, 0, 0, 0.12), 0 1px 10px rgba(0, 0, 0, 0.2)',
              borderRadius: '100%',
              marginLeft:'20px'
            },
            value: {

              'margin-right': '5px',


              'font-size': '54px',
              'font-weight': 'bold'
            },
            percent: {
              'font-size': '24px',
              'position': 'relative',
              'top': '12px',
              'font-weight': '600'
            }
          }}
    type='circle'
    percent={percent || 100} />

snipaste_2017-12-31_16-48-44

@nickbullll

nickbullll commented Jun 6, 2018

Copy link
Copy Markdown
Owner
  1. A lot of changes in code style
  2. Various changes except added styles to other components
  3. console.log
  4. Not added custom styles to the Line component

Can't approve

What you need to do

  1. Remove all changes except Custom styles
  2. Add custom style to Line component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants