Skip to content

Commit

Permalink
feat: made some minor styling changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sametcodes committed Apr 24, 2023
1 parent fda703a commit 89c0089
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions lib/@dsvgui/components/line/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const randomPoints = (length: number) => {
return points;
};

export const Base: Story = {
export const Minimal: Story = {
args: {
items: [
{
Expand All @@ -36,7 +36,7 @@ export const Base: Story = {
},
};

export const ColoredLines: Story = {
export const Colored: Story = {
args: {
items: [
{
Expand All @@ -49,7 +49,7 @@ export const ColoredLines: Story = {
},
};

export const SecondaryTitle: Story = {
export const WithSecondaryTitle: Story = {
args: {
items: [
{
Expand All @@ -64,7 +64,7 @@ export const SecondaryTitle: Story = {
},
};

export const PeriodLabels: Story = {
export const WithPeriodLabels: Story = {
args: {
items: [
{
Expand Down
4 changes: 2 additions & 2 deletions lib/@dsvgui/components/progress/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Meta, StoryObj } from "@storybook/react";
import { Progress } from "./index";

import { AiOutlineCalendar } from "react-icons/ai";
import { RxPieChart } from "react-icons/rx";
import { HiChartBar } from "react-icons/hi";
import { VscIssues, VscGitPullRequest } from "react-icons/vsc";

const meta: Meta<typeof Progress> = {
Expand All @@ -18,7 +18,7 @@ export const Base: Story = {
title: "Progress",
percent: 55,
metrics: [
{ icon: RxPieChart, text: "%51 completed" },
{ icon: HiChartBar, text: "%51 completed" },
{ icon: AiOutlineCalendar, text: "Due by April 17, 2023" },
{ icon: VscIssues, text: "7/19 issues solved" },
{ icon: VscGitPullRequest, text: "8/10 PRs closed" },
Expand Down
8 changes: 4 additions & 4 deletions platforms/github/view/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import getImageSize from "image-size";
import qs from "qs";

import { AiFillGithub, AiOutlineCalendar } from "react-icons/ai";
import { RxPieChart } from "react-icons/rx";
import { HiChartBar } from "react-icons/hi";
import { VscIssues, VscGitPullRequest } from "react-icons/vsc";
import { SiGithubsponsors } from "react-icons/si";

Expand Down Expand Up @@ -53,7 +53,7 @@ export const getRepositoryMilestone: ViewComponent = (result, config) => {
"No due date";

const metrics: IProgress["metrics"] = [
{ icon: RxPieChart, text: `%${percentInText} completed` },
{ icon: HiChartBar, text: `%${percentInText} completed` },
{ icon: AiOutlineCalendar, text: dueDate },
{
icon: VscIssues,
Expand Down Expand Up @@ -98,7 +98,7 @@ export const getPublicRepositoryMilestone: ViewComponent = (result, config) => {
"No due date";

const metrics: IProgress["metrics"] = [
{ icon: RxPieChart, text: `%${percentInText} completed` },
{ icon: HiChartBar, text: `%${percentInText} completed` },
{ icon: AiOutlineCalendar, text: dueDate },
{
icon: VscIssues,
Expand All @@ -124,7 +124,7 @@ export const getUserActiveSponsorGoal: ViewComponent = (result, config) => {

const metrics: IProgress["metrics"] = [
{
icon: RxPieChart,
icon: HiChartBar,
text: `%${user.sponsorsListing.activeGoal.percentComplete} reached`,
},
{
Expand Down

0 comments on commit 89c0089

Please sign in to comment.